I have a full geth node on my machine and I want to deploy my contract on Ropsten using truffle.
How I can fund my coinable account with some ether to deploy my smart contract?
I have tried fuusent.ropsten but it says " invalid address"
I have account in metamask and it has some ether but I did not know how to use it.
how can I add some ether to any account I created in Ropsten to use it to deploy the smart contract and to interact with it later after deploy it
I want many account to interact with my smart contract. I used the command geth --ropsten account creat
but I don't know how to fund all theses accounts
In truffle.js I have this:
ropsten: {
host: "Localhost", // Localhost (default: none)
port: 8545 , // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
},
In a terminal I connect to the node as the following:
geth --syncmode "fast" --cache=1048 --ropsten --rpc --rpcapi "eth,net,web3" --rpccorsdomain '*' --rpcaddr localhost --rpcport 8545 console
Then in another terminal I deploy the smart contract using truffle as the following:
Truffle migrate --network ropsten
and it does not work as this error appear:
1_initial_migration.js
======================
Deploying 'Migrations'
----------------------
Error: *** Deployment Failed ***
"Migrations" could not deploy due to insufficient funds
* Account: 0xd48616a728b4D05A5b0e6457EBda383A92f40A54
* Balance: 0 wei
* Message: sender doesn't have enough funds to send tx. The upfront cost is: 372936000000000 and the sender's account only has: 0
* Try:
+ Using an adequately funded account
+ If you are using a local Geth node, verify that your node is synced.
When I check the address balance, it returns 0:
> eth.getBalance("0xd48616a728b4d05a5b0e6457ebda383a92f40a54")
0