Install and Setup React

1. Install React

npm i -g create-react-app

2. Initialize React App

create-react-app multi-sig-wallet --typescript

3. Start local blockchain using Truffle

Here is what my folders look like

├── multi-sig-wallet // React app
└── solidity-multi-sig-wallet // Truffle contracts
cd solidity-multi-sig-wallet
truffle develop

Inside Truffle console

migrate

4. Copy Truffle build into React app

Back in multi-sig-wallet folder, copy build files from solidity-multi-sig-wallet

cp -r ../solidity-multi-sig-wallet/build ./src

5. Start React App

npm start

Checkout Code So Far (Optional)

git checkout 01-setup