BITBOX scaffolds are basic apps w/ bindings to your local running BITBOX. They allow a developer to hit the ground running and waste no time w/ app set up and configuration.
This scaffold is a React app build w/ Facebook's create-react-app
. It already has BITBOX
instantiated and is ready to roll.
- Download the latest build from bitbox.earth and compare the checksums
- Start your local BITBOX
- Install
bitbox-cli
globally
npm install bitbox-cli --global
- Create empty directory for your new app
mkdir BCH4all && cd BCH4all
- Scaffold a React app w/ BITBOX web bindings
bitbox scaffold --framework react
- Install dependencies
npm install
- Start the app
npm start
- Open a browser to
http://localhost:3000/
and confirm you are seeing thegetinfo
method returning data from your local BITBOX - Win
Run npm install
before you run npm start
Start your local BITBOX before running npm start