Closed hillelt closed 6 years ago
I was able to overcome this issue. The problem was that while the new user I created was added to the chain and I could see its balance, the running node needs to be aware of its private key in keydir
to be able to sign with it on new transactions. This seems to not be automatic. Restarting the node solved the problem and I could create the smart contract, send NAS, etc. I'm leaving the ticket open as this might need to be better indicated in the tutorial.
I've followed the first 3 Nebulas tutorials: I started a local node and a miner, created a user and transferred NAS to it. I can see the new user's balance successfully:
However, when I try and deploy a smart contract per the instructions in the tutorial (just changing the from/to addresses to be the address of the new user), I'm getting the error in the title. The nonce seems right to me (1 above the user's current nonce), so I'm not sure what I'm missing.
Any idea what I'm doing wrong?