Skip to content

Latest commit

 

History

History
81 lines (49 loc) · 3.96 KB

README.md

File metadata and controls

81 lines (49 loc) · 3.96 KB

dao-dao-dapp

Web application for creating and managing multiple DAOs. Live in production at daodao.zone.

Development

See development for working with Turborepo.

Environments

You can choose which environment you want to connect to. The default development environment is Juno Testnet.

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

Advanced: Other environments

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.

Localhost

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

Mainnet

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.

Requirements

Please ensure you have the Keplr wallet extension installed in your Chrome based browser (Chrome, Brave, etc).

Learn More

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:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Contributing

Interested in contributing to DAO DAO? Check out CONTRIBUTING.md.

Disclaimer

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.