Dockerized environment to bootstrap your smart contract development.
Clone and configure environment
git clone https://github.com/EOSArgentina/eosdev.git
cd eosdev
. ./.env
Node and wallet initialization (unsecure setup, dev only!)
docker-compose up -d
Create default wallet and import eosio key
bootstrap_wallet.sh
Bios, token, exchange and multisig so far.
bootstrap_chain.sh
How to use this toolkit for development
Contract skeleton will be created inside work folder.
eosiocpp.sh -n testcontract
The work dir is set on the root dir / in the container.
eosiocpp.sh -o /work/testcontract/testcontract.wast /work/testcontract/testcontract.cpp
eosiocpp.sh -g /work/testcontract/testcontract.abi /work/testcontract/testcontract.cpp
cleos.sh create account eosio testcontract ...
cleos.sh set contract testcontract /work/testcontract -p testcontract@active
cleos.sh push action testcontract hi '["eosio"]' -p eosio@active