Ethereum Project Infrastructure

Prepare

1
2
3
4
mkdir kickstart
cd kickstart
npm init # create package.json file
npm install --save ganache-cli mocha solc fs-extra web3@1.0.0-beta.26

Overview

Create a blockchain kickstart website.

Contract

contract

Structure

structure
overview
interact

  1. create a factory contract. It has a function to deploy a new instance of Campaign
  2. User clicks Create Campaign
  3. We instruct web3/metamask to show user a transaction that invokes Campaign Factory
  4. User pays deployment costs. Factory deploy a new copy of Campaign
  5. We tell Campaign Factory to give us a list of all deployed campaigns.

0%