Skip to content

Instantly share code, notes, and snippets.

@johnX9
Last active May 26, 2018 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnX9/3cbfd8294ffc6b8a406ede89dcafb33d to your computer and use it in GitHub Desktop.
Save johnX9/3cbfd8294ffc6b8a406ede89dcafb33d to your computer and use it in GitHub Desktop.
# cleos set contract token {path_to_contract_folder} {path_to_wast_file} {path_to_abi_file}
cleos set contract token ./contracts/eosio.token/ ./contracts/eosio.token/eosio.token.wast ./contracts/eosio.token/eosio.token.abi
Reading WAST/WASM from ./contracts/eosio.token/eosio.token.wast...
Assembling WASM...
Publishing contract...
executed transaction: 82f252b7b1e71197626cf912a975562c08cd452e47b6582399b47baca22d83b5 8096 bytes 8986 us
# eosio <= eosio::setcode {"account":"token","vmtype":0,"vmversion":0,"code":"0061736d01000000017e1560037f7e7f0060057f7e7e7f7f...
# eosio <= eosio::setabi {"account":"token","abi":"0e656f73696f3a3a6162692f312e30010c6163636f756e745f6e616d65046e616d65050874...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment