Git Product home page Git Product logo

Comments (5)

aliweb3 avatar aliweb3 commented on August 17, 2024 1

Yes, in anvil is working , but in ganache have problem

from foundry-full-course-f23.

DevSwayam avatar DevSwayam commented on August 17, 2024

Did You make sure that your Local blockchain was running parallely on another terminal?

from foundry-full-course-f23.

ChefAharoni avatar ChefAharoni commented on August 17, 2024

Looks like there's a problem with your private key.

Are you sure you've pasted it correctly?
You should click on the key button here -
image

And copy the private key (the second option) - that's the key you paste into the terminal.
image

If that doesn't work, you can try pasting the private key into an .env file like so:

DUMMY_PRIVATE_KEY=0x97d40ee0e......

In your terminal source the .env so you can use it

source .env

And then run the command with the variable

forge create SimpleStorage --rpc-url http://127.0.0.1:7545
 --private-key $DUMMY_PRIVATE_KEY


(Note - these private keys are dummies and are "okay" to post online, and this method with .env should be only used in testing, not real production.)


Also, in the future - please keep this issues section in the repo for issues in the course, such as a broken link, file missing, etc..
For problems you're having, you should open a discussion, where people look more often to help other people.
It's also better to give an informative title, instead of "hi", to give better context for your problem.
A good title would be - "Problem with Ganache accessing local wallet".

from foundry-full-course-f23.

ultronio avatar ultronio commented on August 17, 2024

Hi Guys! New here and excited to become a great contributor to this new cryptographic world :D

from foundry-full-course-f23.

PatrickAlphaC avatar PatrickAlphaC commented on August 17, 2024

Closing this as it's a stale isssue. For questions, please use the discussions!

from foundry-full-course-f23.

Related Issues (20)

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.