Building a payment dApp on Ethereum using truffle framework
- Project length: 5h 29m
During this project, we'll have a look at the mechanics of truffle.js, and successfully testing, deploying and building a dApp around a contract. In this tutorial, we’ll be looking at creating a button on a site to send Ether in exchange for tokens.
What are the requirements?:
This section will cover the requirements of programming language, skills viewers should have to understand and follow this tutorial.
Have a synced eth blockchain (geth, etc) - rinkeby will be used, you can use mainnet!
Familiarity with Blockchain
Familiarity with Ether, Eth tokens and Ethereum, specifically
And the most important is: don’t panic!
What is the target audience?:
You want to make use of Truffle.js for deploying Eth contracts
You want to see how Eth contracts, tokens are configured, deployed
You have any interest in the development aspect of crypto
When are the streaming sessions (streaming schedule)?
5:30 pm Eastern 9/24/2018
Session 1: Setting-up the Environment
- What is an Eth contract? What are MEW, MetaMask and other Blockchain interfaces? Truffle.js, Synced Eth blockchain (rinkeby in our case)
Session 2: Token Contract + CrowdSale Contract Acquisition & Testing
- Select a token & crowdsale contract to use for the tutorial, & test
Session 3: Deploying
- Deploy to local test RPC && Deploy to Rinkeby
Session 4: Deploying using GUI test rpc
- Deploy to local GUI test RPC - working crowdsale: https://github.com/hunterlong/ethereum-ico-contract
Session 5: Review + Getting Back to Where We Left Off
- Repeating the first few session's (successful) actions to recreate our environment
Session 6: Demo WordPress site
- Launch a WAMP server & download, install, configure a basic WordPress
Session 7: MetaMask web3 button for a site
Source a WordPress plugin, configure and use it (first re-deploy (unsuccessfully) to Ropsten)
Success w/ Ropsten, Truffle, and truffle-hdwallet-provider, infura & getting plugin to work on Ropsten!