w8io icon indicating copy to clipboard operation
w8io copied to clipboard

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

Open username1565 opened this issue 6 years ago • 2 comments

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.

username1565 avatar Sep 28 '19 01:09 username1565

Good point, will be done.

deemru avatar Oct 03 '19 10:10 deemru

@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.

username1565 avatar Oct 03 '19 10:10 username1565