Code Monkey home page Code Monkey logo

Comments (7)

GoldenRatio3 avatar GoldenRatio3 commented on June 3, 2024 1

For anyone else who needs to change the testnet it's relatively straightforward by

  • Updating the 2_mycontact_migration file
  • Add the HDWalletProvider 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

from dungeons-and-dragons-nft.

lopeselio avatar lopeselio commented on June 3, 2024

Compiling your contracts...

Everything is up to date, there is nothing to compile.

Starting migrations...

Network name: 'rinkeby'
Network id: 4
Block gas limit: 10000000 (0x989680)

1_initial_migration.js

Replacing 'Migrations'

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

from dungeons-and-dragons-nft.

PatrickAlphaC avatar PatrickAlphaC commented on June 3, 2024

Do you have any testnet rinkeby in your wallet? It looks like you're getting gas errors.

from dungeons-and-dragons-nft.

lopeselio avatar lopeselio commented on June 3, 2024

Yes I am having gas errors. I tried obtaining test ether
image

I am using a new wallet, and I am new to this space

from dungeons-and-dragons-nft.

lopeselio avatar lopeselio commented on June 3, 2024

Is there a better way to obtain testnet rinkeby in my wallet ?

from dungeons-and-dragons-nft.

lopeselio avatar lopeselio commented on June 3, 2024

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?

from dungeons-and-dragons-nft.

PatrickAlphaC avatar PatrickAlphaC commented on June 3, 2024

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.

from dungeons-and-dragons-nft.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.