/DAOTown

DAOTown on NeoX T4 revolutionizes DAO management by breaking down technical barriers for seamless governance and tokenomics.

Primary LanguageSolidity

DAOTown - Create DAOs in minutes!

DAOTown on NeoX T4 revolutionizes DAO management by breaking down technical barriers for seamless governance and tokenomics.

Managing DAOs often demands technical skills, limiting participation. Our project simplifies governance and tokenomics using decentralized infrastructure, making DAO management more accessible, efficient, and user-friendly for all.

Tech Stack 🧰

  • Solidity
  • ethers.js
  • Next.js
  • React.js
  • Foundry
  • OpenZeppelin
  • RainbowKit
  • TypeScript
  • JavaScript
  • Chakra UI
  • Lighthouse Storage (IPFS gateway)
  • NeoX T4

Foundry Setup 🚧

Prerequisites

Before you begin, ensure you have the following installed:

For Windows users, it is recommended to use Windows Subsystem for Linux (WSL) for the Foundry setup.

Getting Started

Cloning the Repository

  1. Clone the DAOTown repository:
git clone https://github.com/AlexAnon88/DAOTown
  1. Navigate to the contracts/ directory:
cd DAOTown/contracts/

Setting Up Environment Variables

  1. Create a file named .env in the contracts directory.

  2. Configure the .env file according to the provided .env.example file.

Installing Dependencies

Install the necessary dependencies for the Foundry setup:

forge install

Building the Project

Build the project with the following command:

make build

Deployment

The Makefile is set up for deployment on NeoX T4 Testnet.

make deploy ARGS="--network neox"

Frontend Setup 🚧

Note: Update the compiled ABIs of the contracts in the /frontend/src/utils/abis/ directory.

  1. From the root, navigate to the frontend/ directory:
cd DAOTown/frontend/
  1. Create a .env file in the root directory of the project:
touch .env
  1. Refer to .env.example to update the .env file.

  2. Install Dependencies:

yarn
  1. Run the project at localhost:3000:
yarn run dev