npm install -g truffle
truffle unbox react
Using the ERC20 Smart Contract from OpenZeppelin, install open-zeppelin v3 with Solidity 0.6 smart contracts:
npm install --save @openzeppelin/contracts@v3.0.0
- Run the truffle developer console:
truffle console --network development
migrate
- Send 1 ether by typing this in truffle developer console and replace the address
web3.eth.sendTransaction({from: accounts[0], to:"USE ADDRESS HERE", value: web3.utils.toWei("1","ether")})
- Add in a Central Configuration with DotEnv
npm install --save dotenv
cd client && npm run start
Add HDWalletProvider and the Mnemonic to Truffle and modify truffle-config.js
npm install --save @truffle/hdwallet-provider
💰 Tokenization of any Assets as fungible Tokens (ERC20)
🏦 Creation of Bonus Programs, Vouchers, etc.
💲 Creation of a new crypto currency
🧾 Creation of a Payment-layer on top of Ethereum
🧰 Understand truffle-config json file
🤖 Understand deployment of dApps
🦸♂️ Understand Tokenization using Open-Zeppelin Smart Contracts
Install Chai
npm install --save chai chai-bn chai-as-promised
truffle test
truffle migrate --network ganache_local
truffle migrate --network ropsten_infura