Skip to content

snurfer0/fundraiser-dapp

Repository files navigation

Fundraiser DApp

Next.js Tailwind CSS DaisyUI TypeScript Solidity Truffle ethers.js

⚒ Installation Instructions

  1. Clone the repository: git clone https://github.com/snurfer0/fundraiser-dapp.git
  2. Navigate to the project folder: cd fundraiser-dapp
  3. Install dependencies: npm install
  4. Compile solidity smart contracts: npm run truffle:compile
  5. Generate typescript types: npm run smart-contracts:typechain:generate
  6. Generate typescript types: npm run app:typechain:generate
  7. Run tests: npm run truffle:test
  8. Set up the environment variables (next section)
  9. Start Next.js App: npm run next:dev

🌈 Environtent variables

# App environment
APP_ENV="local | development | production"

# Ethereum provider token
ETH_PROVIDER_TOKEN="your-provider-token"

# Ethereum provider endpoints
ETH_HTTP_PROVIDER="your-http-provider"
ETH_WS_PROVIDER="your-ws-provider"