Closed lopeselio closed 3 years ago
Everything is up to date, there is nothing to compile.
Network name: 'rinkeby' Network id: 4 Block gas limit: 10000000 (0x989680)
Error: Deployment Failed
"Migrations" -- insufficient funds for gas * price + value.
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at Migration._deploy (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:68:1)
at Migration._load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:55:1)
at Migration.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:171:1)
at Object.runMigrations (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:150:1)
at Object.runFrom (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
at Object.runAll (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:114:1)
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:79:1)
at runMigrations (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:262:1)
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:227:1)
at Command.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/command.js:136:1)
Truffle v5.1.67 (core: 5.1.67) Node v15.5.0
Do you have any testnet rinkeby in your wallet? It looks like you're getting gas errors.
Yes I am having gas errors. I tried obtaining test ether
I am using a new wallet, and I am new to this space
Is there a better way to obtain testnet rinkeby in my wallet ?
It takes a really long time actually to obtain test ether tokens in rinkeby faucet. Can I try doing this with Ropsten or Kovan test network?
You should be able to get testnet ETH quickly. Kovan might be faster.
https://www.youtube.com/watch?v=4ZgFijd02Jo
Maybe this video would help? I would recommend kovan or rinkeby over ropsten though.
For anyone else who needs to change the testnet it's relatively straightforward by
2_mycontact_migration
fileHDWalletProvider
to the truffle-config
Kovan
testnet does not appear to be supported by opensea for the NFT display
Ropsten
testnet does not appear to be supported by chainlink for the random number generation
Running
truffle migrate --reset --network rinkeby
Compiling your contracts...