The MoonDAO App at https://app.moondao.com is where people can connect their Ethereum wallet and interact with the MoonDAO smart contracts.
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
See ui/README.md
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":
Solve this by switching to the Goerli Test Network in MetaMask:
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