4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

USAGE EOS CLEOS - EASY #2

HOW PUBLISH CONTRACT

#FIRST UNLOCK YOUR WALLET
curl http://127.0.0.1:8888/v1/wallet/unlock -X POST -d '["mywallet","PW5JhCZAbgMbn92Htr"]'
#CREATE WAST FILE

/usr/local/bin/eosiocpp -o /root/eos/contracts/mycontract/mycontract.wast /root/eos/contracts/mycontract/mycontract.cpp

#CREATE ABI FILE

/usr/local/bin/eosiocpp -g /root/eos/contracts/mycontract/mycontract.abi /root/eos/contracts/mycontract/mycontract.cpp

/usr/local/bin/cleos set contract myacc /root/eos/contracts/mycontract/ -p myacc

it return ->

Reading WAST...
Assembling WASM...
Publishing contract...
executed transaction: 80b717882fc392ff6b6560f1f411adacbc0e6be8f71910cb0c4 1688 bytes 2200576 cycles

eosio <= eosio::setcode {"account":"myacc","vmtype":0,"vmversion":0,"code":"0061736d010000b60027f7e0060027e7e00600...

eosio <= eosio::setabi {"account":"myacc","abi":{"types":[],"structs":[{"name":"actionget","base":"","fields":[{"name":"fieldname",...

3 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: