Web application for creating and managing multiple DAOs. Live in production at daodao.zone.
See development for working with Turborepo.
You can choose which environment you want to connect to. The default development environment is Juno Testnet.
Note: you can get Juno Testnet tokens ($JUNOX) from the #faucet channel in the main Juno Discord. Testnet environment variables are in .env.development
and available by default when running yarn dev
command.
yarn dev # starts nextjs dev server
By default yarn dev
connects to the testnet. For developing against localhost or mainnet, copy the appropriate .env
file to .env.local
. Having a .env.local
file will override the default .env.development
file when running yarn dev
.
This will be using a local development instance in Docker. See the dao-contracts repo for instructions on running a local development environment.
cp .env.localhost .env.local
NOTE: this will be using the real Juno network and real $JUNO tokens. Use with caution. We highly recommend using the Juno Testnet .env config for local development.
cp .env.mainnet .env.local
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Note: If you change .env.local
, you'll sometimes need to re-add the chain to Keplr. If you select a different chain in Keplr (like Cosmos), you can scroll down and remove the "Wasmd Test" chain, then you can re-add it by connecting your wallet.
Please ensure you have the Keplr wallet extension installed in your Chrome based browser (Chrome, Brave, etc).
This project was bootstrapped with next-cosmwasm-keplr-starter
.
To learn more about Next.js, CosmJS, Keplr, and Tailwind CSS - take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- CosmJS Repository -JavaScript library for Cosmos ecosystem.
- @cosmjs/cosmwasm-stargate Documentation - CosmJS CosmWasm Stargate module documentation.
- Keplr Wallet Documentation - using Keplr wallet with CosmJS.
- Tailwind CSS Documentation - utility-first CSS framework.
- DaisyUI Documentation - lightweight component library built on tailwindcss.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Interested in contributing to DAO DAO? Check out CONTRIBUTING.md.
DAO DAO TOOLING IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. No developer or entity involved in creating the DAO DAO UI or smart contracts will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of DAO DAO tooling, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.