Example code using nodejs to demo out the eosio-signing-request protocol.
Before running the demos, install the required packages.
npm install
yarn install
The examples
folder contains all of the various demos to perform different operations on a signing request.
This example will take a set of actions and encode them into a signing request.
node examples/encode.js
This example will take an encoded signing request (URI string) and decode them into a signing request object.
node examples/decode.js
This example will take an encoded signing request (URI string), decode it, and resolve the transaction for a signature from a specific account.
node examples/resolve.js
We have a telegram channel dedicated to the development of this protocol which you can find here: