Skip to content

To follow the campaign contract tutorial in Udemy course

Notifications You must be signed in to change notification settings

samuelyee/campaign-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kickstarter Campaign project

For me to follow the Kickstarter project in the Udemy's "Ethereum and Solidity: The Complete Developer's Guide". However, the course is using an old Solidity version of 0.4.17 and current is now 0.8.x. I have mapped it over to the newer Solidity 0.8.x.

Branches

  1. section5: modernised the code for section 5 in the course
  2. section6: modernised the code for section 6 in the course

Install

npm install

Test

npm run test

Compile

node ethereum/compile.js

Deploy

Metamask at Rinkeby Test Network

Create a metamask account and get some test ETH on Rinkeby Test Network

Infura API

Sign up for an account at https://infura.io/. Create a project ID and get the test endpoint. Populate the necessary fields in the deploy.js, in particular the Metamask mnemonic and the Infura endpoint. Run the following script to deploy:

node ethereum/deploy.js

The last address of the contract being deployed was recorded at the ADDRESS file.

About

To follow the campaign contract tutorial in Udemy course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published