but then you need to sign it and even before that to add reference block number and block prefix along with expiration time and to all that you add a signature which the call something like this:
That would be hard if you would like to script that signing in bash but existing libraries will do that for you without need of re-inventing the wheel.
@GTG, you are one sexy bastard! lol ... Those curl snippets are a huge aphrodisiac to me ...
Thank you again for all you do and your help. I have looked into libraries, as you mentioned, but I'm trying to do this natively in Android so I don't need any dependencies. I think I have it all figured out now.
Expect some dank apps from me sometime this year :D
Exactly, that would be a hard part but we have few libraries that can help you deal with signing.
The easy part looks like:
{"id":1,"jsonrpc":"2.0","method":"call","params":["network_broadcast_api","broadcast_transaction_synchronous",[{"operations":[["vote",{"voter":"fulltimegeek","author":"gtg","permlink":"steem-pressure-3-steem-node-101","weight":10000}]],"extensions":[]}]]}
but then you need to sign it and even before that to add reference block number and block prefix along with expiration time and to all that you add a signature which the call something like this:
{"id":1,"jsonrpc":"2.0","method":"call","params":["network_broadcast_api","broadcast_transaction_synchronous",[{"ref_block_num":123,"ref_block_prefix":1234567890,"expiration":"2018-03-08T12:34:56","operations":[["vote",{"voter":"fulltimegeek","author":"gtg","permlink":"steem-pressure-3-steem-node-101","weight":10000}]],"extensions":[],"signatures":["signaturesignaturesignaturesignaturesignaturesignaturesignature"]}]]}
That would be hard if you would like to script that signing in bash but existing libraries will do that for you without need of re-inventing the wheel.
@GTG, you are one sexy bastard! lol ... Those curl snippets are a huge aphrodisiac to me ...
Thank you again for all you do and your help. I have looked into libraries, as you mentioned, but I'm trying to do this natively in Android so I don't need any dependencies. I think I have it all figured out now.
Expect some dank apps from me sometime this year :D