To get started, you can follow these instructions. Please reach out to make any changes or clear up any bullet points.
-
Install third-party software
-
npm - Install NodeJS
-
testrpc - https://github.com/ethereumjs/testrpc
npm install -g ethereumjs-testrpc
-
truffle - https://github.com/trufflesuite/truffle
npm install -g truffle
-
MetaMask - This is is Chrome Extension - https://metamask.io/
-
-
Start ethereum test blockchain using testrpc
ganache-cli -s 1
-
Run each command from here on out in the root folder of the application (..\Toasty). Install all npm dependencies
npm install
-
Compile contracts
truffle compile
-
Deploy contracts to blockchain
truffle deploy
-
Start server
npm run start
-
Configure MetaMask
- Copy the mnemonic from
testrpc
. We use the-s 1
flag to keep this seed constant. - Click the upper-right menu, select
Lock
, selectRestore from seed phrase
and paste the mnemonic. You can use whatever password you want here. - Lastly, choose
localhost 8545
as the network from the top left dropdown in metamask
- Copy the mnemonic from