Project that provide a service like kickstarter, and anyone can contribute through ethereum blockchain.
This project is an exercice from udemy course Ethereum and Solidity Course with some customizations.
- Create .env file
INFURA_URL ='<INFURA_URL>'
SEED_PHRASE ='<SEED_PHRASE >'
FACTORY_ADDRESS = '<FACTORY_ADDRESS>'
- npm install --legacy-peer-deps ( have some old packages and dependencies )
- node ./ethereum/build.js ( to build json files with abi from contracts )
- node ./ethereum/deploy.js ( to deploy de CampaignFactory to network specified with infura url )
- Setup FACTORY_ADDRESS env var with result from previous step
- npm start dev
If you want to use my deployed contract you can use the factory in address: 0x46d01Cd021284C05757596215D71074581B9AA38
on Goerli test network.
This is a very basic UI only for testing purposes, the beauty Ui it's not a focus of this repo!
Contracts:
- Campaign ( All logic of one campaign )
- CampaignFactory ( Create Campaigns )