Skip to content

counters/minter-rpc-wallet-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minter-rpc-wallet-js

Remote build, sign and send any transaction

Usage

./index.js example.yml

Currently, RabbitMQ transport is supported (HTTP and gRPC in the plans). Use a RabbitMQ compatible RPC client written in any language. Examples

It is necessary to send a Json object by analogy with the official minter-js-sdk

Request example:

{
  "txParams": {
    "type": 1,
    "data": {
      "to": "Mx376615B9A3187747dC7c32e51723515Ee62e37Dc",
      "value": 10,
      "coin": 0
    }
  }
}

Example of a successful transaction response

{
  "hash": "Mt01020304050607___",
  "error": false,
  "message": null
}

Example of a failed transaction response

{"hash": null, "error": true, "message": "text error"}

About

Remote build, sign and send any Minter transaction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published