Fundraising for disaster relief: support friends and family at a time when they need it most, raise money for them without an intermediary. Project for Rakathon 2021
- Install Node JS and Ganache
- Create new workspace in Ganache
- Install Metamask as Google Chrome Extension and create Custom RPC Network with ganache RPC server link. Then import an account using Ganache MNEMONIC(Private key for address).
- Install all the dependencies
npm install
-
Under Ethereum directory, open
deploy.js
and update the mnemonic code(Private key for address) and end point link(Ganache RPC Server Link). Then openweb3.js
and update end point link. -
In the Ethereum directory, compile the contract
node compile.js
then deploy the contract
node deploy.js
Copy the contract deploy address and replace it in factory.js
file.
- To run the application run the development server:
npm run dev
Make sure Metamask account is connected to the ganache server.
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.