BonusΒΆ
Metamask Integration
- Ensure Metamask is installed, unlocked and connected to the local client(localhost:8545). - Metamask may be insalled here
- Fund your Metamask account!
$ truffle console truffle(development> web3.eth.sendTransaction({ from: web3.eth.accounts[0], to: 'METAMASK_ADDRESS', value: 1e18 })
- Transfer tokens to your metamask account(from within the application).
- Add a conditional to use the Metamask web3 provider if present, wallet-template/src/App.js#L35
if (window.web3) this.web3 = new Web3(window.web3.currentProvider) else
- Refresh the browser and connect to your Metamask account. View your Metamask account now available within the application.
Sync an Ethereum node of your own
Note
Look to setup a node locally or via Azure. Azure is a nice option to begin with as a node locally can be quite heavy and resource intensive.
- Getting Started With Azure
- Sync a Parity node to Kovan
- Instructions to deploy to Azure here
- Parity Homepage
- Sync a Geth node to Rinkeby
- Instructions here
- Geth Homepage