Git Product home page Git Product logo

moondao-app's Introduction

MoonDAO App ๐ŸŒ•๐ŸŒ•

The MoonDAO App at https://app.moondao.com is where people can connect their Ethereum wallet and interact with the MoonDAO smart contracts.

app

File Structure

The code in this repository is structured into two main parts:

.
โ”œโ”€โ”€ contracts # The smart contracts
โ””โ”€โ”€ ui        # The user interface (UI) for interacting with the smart contracts

Run the UI locally

See ui/README.md

Testing against the Goerli Ethereum testnet

Add Goerli testnet variables to your local development environment:

cp .env.goerli .env.local

Start the development server:

yarn dev

Once you go to http://localhost:42069, you will see the message "uses Goerli as its preferred network":

Screen Shot 2022-05-21 at 11 10 06 AM

Solve this by switching to the Goerli Test Network in MetaMask:

Screen Shot 2022-05-21 at 11 03 28 AM

Run the smart contracts locally

Follow the instructions at contracts/README.md#local-setup.

Update the NEXT_PUBLIC_CHAIN variable in .env.local to match your local Ethereum node.

Start the development server:

yarn dev

moondao-app's People

Contributors

aahna-ashina avatar abeerrao avatar bananafo avatar bay0x avatar bay0x0 avatar dependabot[bot] avatar geraldchen890806 avatar gregfromstl avatar jaywelsh avatar larrotiz avatar luisivan avatar namedotget avatar nicolagenesin avatar wkm97 avatar xpi2 avatar yzstrive avatar zzallenn avatar

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.