Skip to content

Instantly share code, notes, and snippets.

@hashware
Last active June 16, 2018 08:24
Show Gist options
  • Save hashware/832e33674427ef24e4fb16e3724d3d6b to your computer and use it in GitHub Desktop.
Save hashware/832e33674427ef24e4fb16e3724d3d6b to your computer and use it in GitHub Desktop.
##
Private key: 5Jmsawgsp1tQ3GD6JyGCwy1dcvqKZgX6ugMVMdjirx85iv5VyPR
Public key: EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos wallet import 5Jmsawgsp1tQ3GD6JyGCwy1dcvqKZgX6ugMVMdjirx85iv5VyPR
cleos create account eosio eosio.bpay EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.msig EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.names EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.ram EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.ramfee EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.saving EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.stake EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.token EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio eosio.vpay EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio user EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos create account eosio tester EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos get accounts EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4
cleos set contract eosio.token build/contracts/eosio.token -p eosio.token
cleos set contract eosio.msig build/contracts/eosio.msig -p eosio.msig
cleos push action eosio.token create '[ "eosio.token", "1000000000.0000 SYS"]' -p eosio.token
cleos push action eosio.token issue '[ "eosio", "10000000.0000 SYS", "memo" ]' -p eosio.token
cleos set contract eosio build/contracts/eosio.system -p eosio
cleos push action eosio setpriv '["eosio.msig", 1]' -p eosio@active
cleos system newaccount eosio --transfer accountnum11 EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4 --stake-net "100000.0000 SYS" --stake-cpu "100000.0000 SYS" --buy-ram-kbytes 8
cleos system regproducer accountnum11 EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4 URL
cleos get account accountnum11 -j
cleos system newaccount eosio --transfer accountnum22 EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4 --stake-net "100000.0000 SYS" --stake-cpu "100000.0000 SYS" --buy-ram-kbytes 8
cleos system regproducer accountnum22 EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4 URL
cleos system listproducers
cleos push action eosio.token issue '[ "accountnum11", "10000000.0000 SYS", "memo" ]' -p eosio.token
cleos get currency balance eosio.token accountnum11
cleos push action eosio delegatebw '["accountnum11", "accountnum11", "100.0000 SYS", "100.0000 SYS", true]' -p accountnum11
cleos system listbw accountnum11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment