eosrpc v0.1.0-beta EOSRPC.Helper

Helper functions to most used EOS Blockchain actions

You will want to use: auto_push/1 to automatically sign, get the keys from wallet and push the transaction new_account/4 to create accounts

You can use everything else, they will help you with some default actions that you need on your daily basis

Link to this section Summary

Functions

Convert a list of actions to binary data (/chain/abi_json_to_bin)

Convert action data to binary, identify required keys, sign and finally push transaction

Sign and submit transaction if you have binary data, otherwise utilizes auto_push/1

Get the current irreversible block data from the chain

Creates a new account - exactly like cleos

Retrieves the next minute - used mostly for expiration dates of transactions

Push transaction data with the signature found on sign_transaction/1

Identify the required keys for the transaction and sign with them

Link to this section Functions

Link to this function actions_to_bin(actions)

Convert a list of actions to binary data (/chain/abi_json_to_bin)

Link to this function auto_push(actions)

Convert action data to binary, identify required keys, sign and finally push transaction

Link to this function auto_push_bin(actions)

Sign and submit transaction if you have binary data, otherwise utilizes auto_push/1

Link to this function current_irreversible_block()

Get the current irreversible block data from the chain

Link to this function new_account(creator, new_account, owner_key, active_key)

Creates a new account - exactly like cleos

Link to this function one_minute_from_now()

Retrieves the next minute - used mostly for expiration dates of transactions

Link to this function push_transaction(trx_data, signatures)

Push transaction data with the signature found on sign_transaction/1

Link to this function sign_transaction(trx_data)

Identify the required keys for the transaction and sign with them