-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Currently not implemented - sorry! (not very helpful...)
Clears the ~/.eztz.config.json file, removing all identities, contracts etc.
Note: This will delete all private keys
Generates a new crypto identity, stored with the label $label.
Generates a account (codeless contract) for $id, stored with the label $label and sent $amount from $id as a starting balance.
Note: Need to implement $spendable, $delegatable, $delegate and $fee variables
Generates a new faucet/free account for $id, stored with the label $label.
Originates a new contract for $id, stored with the label $label and sent $amount as a starting balance, $code as the code for the smart contract, with the storage being set to $initial.
Note: Need to implement $spendable, $delegatable, $delegate and $fee variables
List all known identities (generated keys)
List all know accounts (originated contracts without code, e.g. faucet/free accounts)
Lists all known contracts (originated contracts with code)
Returns the balance for $for (can be a label or a key of a contract, account or identity, or any valid key)
Sets the delegate for $for (can be a label or a key of a contract or account) to the specified $delehate (can be label or any valid tz1 key)
Tramsfers $amount from $from (can be label or key of a contract, account or identitiy) to $to (can be a label, or any valid key)
Note: $fee and $parameter aren't implemented yet
Typechecks code
Note: Code doesn't handle sugars yet (DIIP etc).
Typechecks $data against the specified $type
Simulates running $code with initial $storage, with a transaction of $amount and $input.
Note: $trace variable is ignored (alway true). Code doesn't handle sugars yet (DIIP etc).
Returns the contract/account JSON object for $contract
Note: object data could do with some tidying up
Returns the storage for $contract - data is returned as a formatted array (more details to come).
Note: Needs work on display format
Returns the current head JSON object
Note: object data could do with some tidying up
Calls the RPC api at the $endPoint specified, using the $data (if any)
Note: $data hasn't been implemented yet
Changes the node provider - by default we use https://tezrpc.me/api. You could set this to something like localhost:8732