When I run the command “truffle migrate --network goerli” I get this error, since I’m new to this subject I do not really know the issues.
$ truffle migrate --network goerli
Compiling your contracts...
===========================
> Compiling .\contracts\Migrations.sol
> Compiling .\contracts\VendingMachine.sol
> Artifacts written to C:\Users\asafy\Exjobb\vendingmachine\build\contracts
> Compiled successfully using:
- solc: 0.8.19+commit.7dd6d404.Emscripten.clang
Starting migrations...
======================
> Network name: 'goerli'
> Network id: 5
> Block gas limit: 30000000 (0x1c9c380)
1_initial_migration.js
======================
Deploying 'Migrations'
----------------------
*** Deployment Failed ***
"Migrations" could not deploy due to insufficient funds
* Account: 0x2e09fdd41d3446cc9D8c24e01626e01fCbD1B087
* Balance: 83064356200000000 wei
* Message: insufficient funds for gas * price + value
* Try:
+ Using an adequately funded account
+ If you are using a local Geth node, verify that your node is synced.
Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan.
Error: *** Deployment Failed ***
"Migrations" could not deploy due to insufficient funds
* Account: 0x2e09fdd41d3446cc9D8c24e01626e01fCbD1B087
* Balance: 83064356200000000 wei
* Message: insufficient funds for gas * price + value
* Try:
+ Using an adequately funded account
+ If you are using a local Geth node, verify that your node is synced.
at C:\Users\asafy\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\deployer\src\deployment.js:330:1
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Truffle v5.8.1 (core: 5.8.1)
Node v18.15.0
I see, I’m currently getting my goerlieth from this site “https://goerli-faucet.pk910.de/”, but it takes a lot of time is there any page where i could get more faster? I looked into another site and that site required that i had atleast 0,001 ETH on mainnet which I cant have atm.