deemru / w8io

Waves Platform blockchain explorer (w8.io)
https://w8.io
MIT License
15 stars 16 forks source link

RAW-JSON response and RAW masspay-list - to pay for leasings #6

Open username1565 opened 5 years ago

username1565 commented 5 years ago

Hello. I see here: https://forum.wavesplatform.com/t/w8io-waves-explorer-based-on-php-sqlite/1424 There is possible to get RAW-data as JSON, but this is displayed inside HTML-page, and not always correct.

Example, test for donation address pywaves (3P5dg6PtSAQmdH1qCGKJWu7bkzRG27mny5i) https://w8io.ru/3P5dg6PtSAQmdH1qCGKJWu7bkzRG27mny5i/pay/1725000/5000000 one data https://w8io.ru/3P5dg6PtSAQmdH1qCGKJWu7bkzRG27mny5i/pay/1725000/5000000/raw another data...

Can you fix this, and return the pure JSON, which can be parsed?

Something, like: https://w8io.ru/NODEADDRESS/pay/STARTBLOCK/ENDBLOCK/json -> pure JSON to pay for leasers for their leasing, according generated blocks on the node NODEADDRESS, from STARTBLOCK up to ENDBLOCK.

Also, will be better to add something, like masspay text: https://w8io.ru/NODEADDRESS/pay/STARTBLOCK/ENDBLOCK/masspay to just copy and paste this, parse, or just get by XMLHttpRequest, and pay for leasers, using one masspay transaction, using some script.

Best regards.

deemru commented 5 years ago

Good point, will be done.

username1565 commented 5 years ago

@deemru, Hi, Dmitry! Btw, I see here: https://forum.wavesplatform.com/t/where-can-i-manually-sign-a-message/8625 Your post about signing and verify messages using the NODE REST API.

I think, I have already implemented this, to work client-side, in browser. But need to test this, and maybe fix something, to make this signatures verifiable on the node.

Maybe then, will be possible to add the ability of sign and verify messages, in waves-client, and this will be working client-side, like here is possible to sign and verify signed messages, using bitcoin private keys and addresses.

If you interested this, you can see the following issue: https://github.com/wavesplatform/Waves/issues/2625

Best regards.