I want to deploy a smart contract to a private network.
I start the network like this
geth --datadir="~/truffle" --port 30303 --rpc --rpcport 8545 --rpcaddr localhost --networkid 27441 --rpccorsdomain="*" --minerthreads "1" --mine --rpcapi "eth,web3" --maxpeers 4 --unlock=0
then I run 'truffle deploy' I get the message:
Error deploying SimpleStorage:
Account does not exist or account balance too low Deploy failed.
See above."
Could you please give me some ideas about this?
Make sure: 1. You are typing password after starting geth, to unlock your account. 2. You have enough ether in your selected account.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.