Loading the Bios Contract

https://github.com/EOSIO/eos/wiki/Tutorial-Getting-Started-With-Contracts

-p eosio tells cleos to sign this action with the active authority of the eosio account, i.e., to sign the action using the private key for the eosio account that we imported earlier.

If you’re using the docker image /contracts is the folder where all the contracts are located.

$ cleos --wallet-url http://wallet:5555 -u http://server:7777 set contract eosio eosio.bios -p eosio

cleos calls eosio::setcode and eosio::setabi method

Reading WAST/WASM from /tmp/build/contracts/eosio.bios/eosio.bios.wast...
Assembling WASM...
Publishing contract...
executed transaction: eb4593ca925673d8115f11a7c28bf106b32673a5d725259c8dd6edb533135f48  3288 bytes  2200576 cycles
#         eosio <= eosio::setcode               {"account":"eosio","vmtype":0,"vmversion":0,"code":"0061736d0100000001581060037f7e7f0060057f7e7e7e7e...
#         eosio <= eosio::setabi                {"account":"eosio","abi":{"types":[],"structs":[{"name":"set_account_limits","base":"","fields":[{"n...
Close Menu
×

Cart