Prepare
1 | mkdir kickstart |
Overview
Create a blockchain kickstart website.
Contract
Structure
- create a factory contract. It has a function to deploy a new instance of
Campaign
- User clicks
Create Campaign
- We instruct web3/metamask to show user a transaction that invokes
Campaign Factory
- User pays deployment costs. Factory deploy a new copy of
Campaign
- We tell
Campaign Factory
to give us a list of all deployed campaigns.