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