Skip to content

bigearth/www.hellobcf.cash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BITBOX Scaffold React

Intro

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.

Setup

  1. Download the latest build from bitbox.earth and compare the checksums
  2. Start your local BITBOX
  3. Install bitbox-cli globally
  • npm install bitbox-cli --global
  1. Create empty directory for your new app
  • mkdir BCH4all && cd BCH4all
  1. Scaffold a React app w/ BITBOX web bindings
  • bitbox scaffold --framework react
  1. Install dependencies
  • npm install
  1. Start the app
  • npm start
  1. Open a browser to http://localhost:3000/ and confirm you are seeing the getinfo method returning data from your local BITBOX
  2. Win

Troubleshooting

sh: react-scripts: command not found error?

Run npm install before you run npm start

OPTIONS http://127.0.0.1:8332/ net::ERR_CONNECTION_REFUSED error?

Start your local BITBOX before running npm start

About

Demo repo for BITBOX/BCF 5-2-18 Live code session

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •