ChainFund — Crowdfunding Platform Powered by Ethereum Blockchain
- Frontend: Next.js, Chakra UI
- Smart Contracts: Solidity
- Blockchain Interaction: Web3.js
- Fork the project.
- Install dependencies:
yarn install- Start the development server:
yarn dev- Open http://localhost:3000 in your browser.
-
Install MetaMask Chrome extension and create an account.
-
Fund your Ethereum wallet for testing:
- Request Ether via social media or testnets: Sepolia Explorer
- Get 0.01 test Ether: Google Cloud Web3 Faucet
mnemonic='Your mnemonic code'
link='Your Infura/Alchemy endpoint URL'- Modify the Solidity contract as needed.
- Compile the contract:
node compile.js- Deploy the contract from the
smart-contractdirectory:
node deploy.js- Copy the deployed contract address and replace it in
factory.js. - Replace your Infura/Alchemy endpoint link in
web3.js.
- Ensure you are on the Sepolia test network while testing.
- For mainnet deployment, change the network configurations accordingly.