Fully Decentralized Community with Rewards
Smart Contracts: https://github.com/moonman369/MeshNode-Web3
Frontend: https://github.com/VijayKumarKTG/hackathon-front-end
MeshNode creates a interactive ecosystem where users can post questions on diverse topics or tags, seeking insights and solutions from a community of experts and enthusiasts. Likewise, users are encouraged to contribute their knowledge by answering questions posed by others. This collaborative environment facilitates the exchange of ideas, information, and expertise, and last but not the least incentivize user with rewards like badges and NFTs. The platform uses Chainlink VRF to select random winners from existing users and airdrop NFTs to them.
- Connect wallet from listed providers (Metamask/Coinbase/WalletConnect) and create account.
- View profile which included stats of user, questions asked, answers posted, rewards and badges earned, claim unclaimed rewards, and to update profile details.
- Ask questions tag-wise, upvote questions, post answers, upvote answers, address who posted question can choose best answer, add comments to question or answer.
- Tag based filtering and searching features.
- Leverage the power of AI for rareminting NFT rewards to user.
- Introduce a new reward model in which user can be rewarded with real ETH.
- Feature to follow and unfollow a particular user address.
- Chat with like minded people and in communities.
Make sure you have Node.js(v16.15.0 or above), Metamask installed.
-
Clone MeshNode repository
git clone https://github.com/AyushIyankan/MeshNode.git
-
Install all necessary dependancies with npm at root of the cloned project.
npm install
-
Setup environment variables
NEXT_PUBLIC_ALCHEMY_API_KEY=YOUR_ALCHEMY_API_KEY NEXT_PUBLIC_HASH_SECRET=YOUR_HASH_SECRET_FROM_CONTRACT_DEPLOY NEXT_PUBLIC_PINATA_API_KEY=YOUR_PINATA_KEY NEXT_PUBLIC_PINATA_API_SECRET=YOUR_PINATA_SECRET NEXT_PUBLIC_IPFS_LINK=YOUR_IPFS_LINK NEXT_PUBLIC_TAGS_IPFS_LINK=YOUR_IPFS_LINK_FOR_TAGS NEXT_PUBLIC_RAREMINT_NFTS_IPFS_LINK=YOUR_IPFS_LINK_FOR_RAREMINT_NFTS NEXT_PUBLIC_STACK3_ADDRESS=YOUR_MESHNODE_ADDRESS_FROM_CONTRACT_DEPLOY NEXT_PUBLIC_STACK3_BADGES_ADDRESS=YOUR_MESHNODE_BADGES_ADDRESS_FROM_CONTRACT_DEPLOY NEXT_PUBLIC_STACK3_RAREMINT_ADDRESS=YOUR_MESHNODE_RAREMINT_ADDRESS_FROM_CONTRACT_DEPLOY NEXT_PUBLIC_STACK3_AUTOMATION_ADDRESS=YOUR_MESHNODE_AUTOMATION_ADDRESS_FROM_CONTRACT_DEPLOY NEXT_PUBLIC_RAREMINT_OPENSEA_BASE_URL=https://testnets.opensea.io/assets/mumbai/
-
Start your local development server
npm run dev
-
Open http://localhost:3000 (or running port) with your browser to see the result.
If you find any bugs or you have a feature in mind, feel free to open an issue and submit a PR upon assignment.