- Quick Deploy - Build & Deploy your contract code in 1 command
- Wallet Password Storage - Automatically stores the passwords for all the wallets you've created
- Auto Setup & Account Creation - Create a default wallet, deploy the BIOS, & create an account in a single command
- Quick Restart - Restart the EOS blockchain from the genesis block, again, in 1 command
- eos (nodeos & cleos)
- MacOS
. setup && touch ~/.zeos/zeos.sh
Start nodeos
nodeos
In another tab:
PROJECT_NAME=hello
eos_account_create $PROJECT_NAME
eos_deploy $PROJECT_NAME
cleos push action $PROJECT_NAME hi '["hello"]' -p $PROJECT_NAME
From within your projects parent directory...
eos_deploy $PROJECT_NAME
Normally, you'd have to...
eosiocpp -o hello.wast hello.cpp
Build the .wasteosiocpp -g hello.abi hello.cpp
Build the .abicleos set contract hello hello
Deploys the contract
eos_keys
Print all your current passwords
eos_account_create $PROJECT_NAME
What this does for you...
cleos wallet create -n default
Creates a default wallet, if none already exists- Stores your wallet password (~/.zeos/keys.yml)
cleos set contract eosio $EOS_PATH"/build/contracts/eosio.bios" -p eosio
Deploys the BIOS, if not alreadycleos create account eosio hello $KEY $KEY
Creates a contract account
eos_reset
Most of the time, to start an EOS instance, it's best to simply use nodeos
. But, sometimes, you want to start from scratch.
In which case, this is the command for you.
nodeos
The traditional way to start a EOS blockchain instanceeos_clean
Deletes ALL existing blockchain dataeos_reset
Deletes ALL existing blockchain data, and starts a nodeos instance
eos_setup
Creates a default wallet, and deploys the EOS bioseos_wallet_create -n $NAME
Creates a wallet, and stores the password
eos_account_create $PROJECT_NAME
Creates an account for your project contract
eos_deploy $PROJECT_NAME
Builds and deploys your contract code (Make sure you're in the parent dir of your project)eos_build
Builds your contract wast & ABI (Make sure you're in the dir of your project)
eos_keys
Prints the entire password file (~/.zeos/keys.yml)