docker pull eosio/eos-dev
docker network create eosdev
docker run --name nodeos02 -d -p 8888:8888 --network eosdev
-v /tmp/eosio/work:/work -v /tmp/eosio/data:/mnt/dev/data
-v /tmp/eosio/config:/mnt/dev/config eosio/eos-dev
/bin/bash -c "nodeos -e -p eosio --plugin eosio::producer_plugin
--plugin eosio::history_plugin --plugin eosio::chain_api_plugin
--plugin eosio::history_api_plugin
--plugin eosio::http_plugin -d /mnt/dev/data
--config-dir /mnt/dev/config
--http-server-address=0.0.0.0:8888
--access-control-allow-origin=* --contracts-console --http-validate-host=false"
docker run -d --name keosd --network=eosdev
-i eosio/eos-dev /bin/bash -c "keosd --http-server-address=0.0.0.0:9876"
docker exec -it keosd bash cleos --wallet-url http://127.0.0.1:9876 wallet list keys exit
docker network inspect eosdev
alias cleos='docker exec -it nodeos /opt/eosio/bin/cleos --url http://127.0.0.1:8888 --wallet-url http://172.18.0.3:9876'
cleos version client
docker ps –l
docker stop nodeos
docker restart nodeos
docker logs --tail 10 nodeos
curl http://localhost:8888/v1/chain/get_info
cd /Users/ericfish/Code/038-eos/
git clone https://github.com/EOSIO/eos --recursive
cd eos ./eosio_build.sh
./eosio_install.sh
cd build/programs/nodeos ./nodeos -e -p eosio --plugin eosio::chain_api_plugin
cd eos
git tag
git checkout -b v1.4.0 v1.4.0
cleos wallet create --to-console
- PW5JfS1KQNwrkmdTTNgEBFAeNGUTHGiatx5rstxR1rMXRLfUq3x7A
cleos wallet open
cleos wallet list
cleos wallet unlock
cleos wallet list
cleos wallet create_key
- EOS5TGs5dGK4BMC6Qwc2mbWzp1wn1pjrY3D1JFeybb22vRJ1qeLGg
- 5JzSEHuBzkjnCm3dfFPrt9w9N4n35CSTtvosBGJB6i8FU5bYqwY
cleos wallet private_keys
cleos wallet import
cleos create account eosio bob EOS5TGs5dGK4BMC6Qwc2mbWzp1wn1pjrY3D1JFeybb22vRJ1qeLGg cleos create account eosio alice EOS5TGs5dGK4BMC6Qwc2mbWzp1wn1pjrY3D1JFeybb22vRJ1qeLGg
cd /work/hello
cleos create account eosio hello EOS67oPbbm…
eosiocpp -o hello.wasm hello.cpp
eosiocpp -g hello.abi hello.cpp
cd ..
cleos set contract hello ./hello
cleos push action hello hi '["bob"]' -p bob@active
git clone --recursive https://github.com/eosio/eosio.cdt
cd eosio.cdt
./build.sh SYS
sudo ./install.sh
which eosio-cpp
Kylin 测试网合约账户:erictest1111