DAIOS is a modern web3 platform that combines decentralized autonomous organizations (DAOs) with AI capabilities, built on the T3 Stack and Ethereum blockchain.
- Smart Contract Integration: Create and manage DAOs using Ethereum smart contracts
- AI-Powered Chat: Integrated AI chat system for DAO management and decision making
- Web3 Authentication: Secure wallet-based authentication using Web3Modal
- Modern UI: Beautiful and responsive interface built with Next.js 15 and Tailwind CSS
- Type Safety: End-to-end type safety with TypeScript
-
Frontend:
- Next.js 15 (App Router)
- React 18
- Tailwind CSS
- shadcn/ui components
- Framer Motion for animations
- Web3Modal for wallet connections
-
Blockchain:
- Wagmi for Ethereum interactions
- Viem for Ethereum data handling
- Custom Solidity smart contracts
-
AI & Backend:
- OpenAI integration
- Next.js API routes
- Environment variable management with T3 Env
- Node.js 18+ and npm/yarn/pnpm
- Git
- Foundry (for smart contract development)
- MetaMask or any Web3 wallet
- OpenAI API key
-
Clone the repository
git clone https://github.com/yourusername/daios.git cd daios -
Install dependencies
# Install main project dependencies npm install # Install and update smart contract dependencies cd contracts forge install
-
Environment Setup
# Copy the example env file cp .env.example .env # Fill in required environment variables: # - AUTH_SECRET (generate with: npx auth secret) # - AUTH_DISCORD_ID and AUTH_DISCORD_SECRET (from Discord Developer Portal) # - Other required variables for your deployment
-
Smart Contract Setup
cd contracts forge build
-
Start the development server
npm run dev
-
Run smart contract tests
cd contracts forge test
-
Code Quality
# Type checking npm run typecheck # Linting npm run lint # Format code npm run format:write
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run typecheck- Run TypeScript compiler checknpm run format:write- Format code with Prettiernpm run format:check- Check code formatting
-
Frontend
-
Smart Contracts
- Deploy using Foundry to your chosen network
- Update contract addresses in the frontend configuration
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- T3 Stack
- OpenZeppelin for smart contract libraries
- shadcn/ui for UI components