eosrpc v0.1.0-beta EOSRPC.Wallet
EOSRPC Wallet Wrapper for Elixir
Based on: https://eosio.github.io/eos/group__eosiorpc.html#walletrpc
Link to this section Summary
Functions
Create a new wallet with the given name
List all public keys across all wallets
Import a private key to the wallet of the given name
List all wallets
List all key pairs across all wallets
Lock a wallet of the given name
Lock all wallets
Open an existing wallet of the given name
Set wallet auto lock timeout (in seconds)
Sign transaction given an array of transaction, require public keys, and chain id
Unlock a wallet with the given name and password
Link to this section Functions
Create a new wallet with the given name
List all public keys across all wallets
Import a private key to the wallet of the given name
List all wallets
List all key pairs across all wallets
Lock a wallet of the given name
Lock all wallets
Open an existing wallet of the given name
Set wallet auto lock timeout (in seconds)
Sign transaction given an array of transaction, require public keys, and chain id
transaction
structure should be a map like this json:
{
“signatures”: [
"EOSKZ4pTehVfqs92wujRp34qRAvUjKJrUyufZfJDo9fdBLzhieyfUSUJpKz1Z12rxh1gTQZ4BcWvKourzxCLb2fMsvN898KSn"
], “compression”: “none”, “context_free_data”: [], “transaction”: {
"region": 0,
"ref_block_num": "32697",
"ref_block_prefix": "32649",
"expiration": "2018-09-25T06:28:49",
"max_net_usage_words": 0,
"max_kcpu_usage": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [
{
"account": "eoseco",
"name": "transfer",
"authorization": [
{
"actor": "eoseco",
"permission": "active"
}
],
"data": "0000000050a430550000000000003ab60a000000000000000045434f0000000000"
}
]
} }
keys
should be a list of public keys
chain_id
(optional)
Unlock a wallet with the given name and password