ledgerconnect / hivesigner

Signer app for Hive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Signing ops with custom json needing active auth (required_auths: [...]) uses posting

eonwarped opened this issue · comments

Just to note what I mentioned in our chat, it can be done like this for now and you can use redirect_uri at the end as callback parameter as well. We will add auto detection for authority requirement for custom json in upcoming updates.

http://hivesigner.com/sign/custom_json?authority=active&required_auths=demo&id=ssc-mainnet-hive&json={%22contractName:%22tokens%22,%22contractAction%22:%22transfer%22...}

For future reference: Here is working example, note that required_posting_auths should have empty array and required_auths should have array of account whose active key is requested to sign the transaction.

https://hivesigner.com/sign/custom_json?authority=active&required_auths=["demo123"]&required_posting_auths=[]&id=ssc-mainnet-hive&json={"contractName":"tokens","contractAction":"transfer","contractPayload":{"symbol":"LEO","to":"eonwarped","quantity":"0.001","memo":""}}