eos-new-table
Generate EOS C++ smart contract to create a table on the blockchain.
Install
Install it globally with:
npm i -g eos-new-table
Usage
Options
$ eos-new-table Generate EOS C++ smart contract to create a table on the blockchain. Options: --name Name of the element to be represented. e.g. user --attributes Semicolon separated list of attributes of the element with their types. e.g. 'std::string name; uint64_t token_amount' --table-name Name of the table to be created. If not defined the name parameter will be used. --help Show this help message.
### Example
$ eos-new-table --name user --table-name users --attributes 'std::string name; uint64_t tokens_amount'
#### user.cpp
;