So I am able to compile my program (It generates the hello.abi and the hello.wast) but when I try to add it the the blockchain that I am running I get:

cleos set contract exchange hello.wast hello.abi


25695ms thread-0   main.cpp:2555                 main                 ] Failed with error: Assert Exception (10)
!wast.empty(): no wast file found hello/hello.abi

Of course the hello.abi file and the hello.wast files are there! I know that the blockchain is running OK because If I browse to I get:


I am following the tutorials on github, running all this through Docker. All thought are welcome

1 Answer 1



  • The cleos command is accessing the relevant wallet and blockchain service
  • 'exchange' is an account created on your blockchain and your authorised to use such account like having it's keypair in your wallet service.

Try throwing in the full path to your contract rather than the individual wast & abi file.

E.g. If your working directory is /home/john/contracts/hello/ then run

cleos set contract exchange /home/john/contracts/hello/ -p exchange

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.