Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.68 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.68 KB

Ethereum Ethereum Crowd Campaign

Build
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.

Frameworks

Setup

  1. Create .env file
INFURA_URL ='<INFURA_URL>'
SEED_PHRASE ='<SEED_PHRASE >'
FACTORY_ADDRESS = '<FACTORY_ADDRESS>'
  1. npm install --legacy-peer-deps ( have some old packages and dependencies )
  2. node ./ethereum/build.js ( to build json files with abi from contracts )
  3. node ./ethereum/deploy.js ( to deploy de CampaignFactory to network specified with infura url )
  4. Setup FACTORY_ADDRESS env var with result from previous step
  5. npm start dev

If you want to use my deployed contract you can use the factory in address: 0x46d01Cd021284C05757596215D71074581B9AA38 on Goerli test network.

Example

This is a very basic UI only for testing purposes, the beauty Ui it's not a focus of this repo! image

Solidity

Contracts:

  • Campaign ( All logic of one campaign )
  • CampaignFactory ( Create Campaigns )

Credits

https://www.github.com/StephenGrider