This repo shows how to build fun Bitcoin Cash web apps!
The following steps were taken to create this project:
- Create a new react project:
$ npx create-react-app my-app --folder-name
- Add Typescript libs:
$ npm install --save typescript @types/node @types/react @types/react-dom @types/jest
- Rename .js files to .tsx
- Add Bitcoin Cash libs:
$ npm i --save bitcore-lib-cash @types/bitcore-lib-cash bchaddrjs-slp grpc-bchrpc-web
- Other libs:
$ npm i qrcode.react