I am having issues deploying contracts on a single node test environment. I used the setup scripts and played around with the config.ini file. Everything runs and all the commands at least regarding cleos seem to be working but I have 2 issues. deploying contracts i keep getting

Error 3160009: No wast file found Error Details: no wasm file found

No matter which contract I try to deploy this happens. Also I noticed in my config.ini file I could not find a genesis.json even though i ran nodeos and closed it. Then proceeded to run again when using cleos.


2 Answers 2


I fixed the issue by changing config.ini http to & by changing the parameters for the path flags in "cleos set contract". As well as editing the contract and generating a WAST file..


In my contract folder, I added the following script called compile (chmod +x compile) to compile and publish the contract to my local test net.

For this script to work, your contract folder, the names of your contract files and the account hosting the contract must be the same name.


rm -Rf $CONTRACT.was* $CONTRACT.abi
eosiocpp -o $CONTRACT.wast $CONTRACT.cpp
eosiocpp -g $CONTRACT.abi $CONTRACT.hpp
cleos set contract $CONTRACT ../$CONTRACT -p $CONTRACT@active

So whenever I have done my changes and I want to compile and publish my contract I will cd to my contract folder and execute ./compile.

  • That would definetly make things easier.Thanks for the tip
    – bbest12g
    Sep 12, 2018 at 7:41

Your Answer

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

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