This is a beta version. Expect frequent updates and potential changes.
NERO decentralized polls - where your opinion matters.
Follow the steps below for a quick and easy setup.
%% Roadmap Timeline (Gantt Chart)
gantt
title SMART dPolls Roadmap
dateFormat YYYY-MM-DD
axisFormat %b %d
section Waves
Wave 1 (Ideathon) :a1, 2024-04-14, 14d
Wave 2 (Foundation) :a2, after a1, 14d
Wave 3 (Core Features) :a3, after a2, 14d
Wave 4 (Enhancements) :a4, after a3, 14d
Wave 5 (Security & Control):a5, after a4, 14d
Wave 6 (Polishing) :a6, after a5, 14d
Ending Ceremony :milestone, 2024-07-13, 0d
section Features
Frontend Landing Page :b1, 2024-04-28, 14d
Poll Smart Contract v2.0 :b2, 2024-04-28, 14d
Creating Polls :b3, 2024-04-28, 14d
Poll Smart Contract v3.0 :b4, 2024-05-12, 14d
Submitting Responses :b5, 2024-05-12, 14d
Viewing Results :b7, 2024-05-12, 14d
Gamification :b8, 2024-05-12, 14d
Leaderboard :b9, 2024-05-12, 14d
Claiming Rewards :b10, 2024-05-12, 14d
Funding Polls :b11, 2024-05-12, 14d
Poll Smart Contract v4.0 :b12, 2024-05-26, 14d
Poll Administration Revamp :b13, 2024-05-26, 14d
Page Navigation Revamp :b14, 2024-05-26, 14d
View Result Beautification :b15, 2024-05-26, 14d
Poll Response Analysis :b16, 2024-05-26, 14d
TBD :b17, 2024-06-09, 14d
TBD :b18, 2024-06-23, 14d
Try out our demo site at:
https://dpolls.vercel.app/
- Node.js:
v22.4.1 - Yarn:
v3.8.3
Create a .env file in the root directory with the following variables:
# Testnet Configuration (Development only)
VITE_TESTNET_DPOLLS_API=
VITE_TESTNET_DPOLLS_CONTRACT_ADDRESS=
VITE_TESTNET_PAYMASTER_API=
VITE_TESTNET_WEB3AUTH_ID=
# Mainnet Configuration (Production)
VITE_MAINNET_DPOLLS_API=
VITE_MAINNET_DPOLLS_CONTRACT_ADDRESS=
VITE_MAINNET_PAYMASTER_API=
VITE_MAINNET_WEB3AUTH_ID=
# Web3Auth Configuration
VITE_GOOGLE_CLIENT_ID=
VITE_FACEBOOK_CLIENT_ID=
# Enable testnets in wagmi config
VITE_ENABLE_TESTNETS=trueThe app automatically handles network selection based on the environment:
- Development: Shows both testnet and mainnet networks
- Production: Shows only mainnet networks (testnet is filtered out)
Run the following command in your terminal:
yarn installIf install fails, try to delete yarn.lock, the run yarn install.
After installing the dependencies, start the development server with:
yarn devvercel project
vercel link --yes --project dpolls
bun run build:demo && vercel build --prod && vercel --prebuilt --prodvercel project
vercel link --yes --project dpolls-beta
bun run build:demo && vercel build --prod && vercel --prebuilt --prodThis project is distributed under the MIT License.