Giter Site home page Giter Site logo

Comments (5)

Kuzirashi avatar Kuzirashi commented on August 16, 2024

Hello @RohitGupta027! Thanks for asking!

For me yarn run:origin works just fine.

What happens often though is if you kill Ganache and then start another instance, MetaMask caches some values about the previous one, and MetaMask doesn't work correctly with the new Ganache instance. The solution for that problem is simple: switch to other network in MetaMask (for example to main net) and then switch back to Localhost 8545.

In case you have a different problem, check yarn run:origin logs for any errors. I'm more used to running separate commands, instead of yarn run:origin, so I have finer control. You can try it as well (use separate terminal sessions):

yarn run:ganache
yarn run:backend
yarn run:demo && yarn run:simulator
yarn run:ui

Please let me know if this works for you. Also, take a close look and search for errors in logs - please post them here so I can assist you further.

from origin.

RohitGupta027 avatar RohitGupta027 commented on August 16, 2024

Hello @Kuzirashi Thanks for a quick response. I have actually tried your solution to switch it to other networks but didn't work for me, I guess Metamask cache is the problem. However, running separated commands as you suggested works like a charm 👍
Can you help me pointing out the documentation/resource where I can see the workflows as well to be able to understand how to use the application now?

from origin.

JonathanWfels avatar JonathanWfels commented on August 16, 2024

Hey @RohitGupta027 we are currently working on extensive documentation but it is all still a work in progress. To get a better idea about the project you can already check out: https://energyweb.atlassian.net/wiki/spaces/OD/overview

The page will grow a lot, so keep checking it for more content.

from origin.

Kuzirashi avatar Kuzirashi commented on August 16, 2024

I believe the original issue has been solved. Feel free to open another issues if you encounter them. Thanks!

from origin.

RohitGupta027 avatar RohitGupta027 commented on August 16, 2024

@Kuzirashi I tried to run all 4 commands in different tabs as you suggested but again started getting the same issue like earlier Please make sure you've chosen the correct blockchain network and the contract address is valid. I have switched to another network to clean caches also I have reinstalled the metamask many times but with no success. This is a very strange issue not sure if you faced this issue ever or not. Any tips/suggestions on how to much metamask with the application.

from origin.

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.