The goal of BITBOX is to accelerate how quickly $BCH devs can create their apps. W/ that in mind today we’re launching Scaffolds. This is a way to bootstrap a Bitcoin Cash application in under a minute.
When creating a new application on any platform too much time is spent setting everything up and configuring it. BITBOX scaffolds do the heavy lifting for you and let you focus on building your app.
React
To quickly create a React app w/ BITBOX web bindings follow these steps.
Setup
- Download the latest build from bitbox.earth and compare the checksums
- Start your local BITBOX
- Install
bitbox-cli
globallynpm install bitbox-cli --global
- Scaffold a React app w/ BITBOX web bindings
bitbox new myApp --scaffold react
cd
into new appcd myApp/
- Install dependencies
npm install
- Start the app
npm start
- Open a browser to
http://localhost:3000/
and confirm you are seeing a basic BIP44 wallet - Win
Angular
To quickly create an Angular app w/ BITBOX web bindings follow these steps.
Setup
- Download the latest build from bitbox.earth and compare the checksums
- Start your local BITBOX
- Install
bitbox-cli
globallynpm install bitbox-cli --global
- Scaffold an Angular app w/ BITBOX web bindings
bitbox new myApp --scaffold angular
cd
into new appcd myApp/
- Install dependencies
npm install
- Start the app
npm start
- Open a browser to
http://localhost:4200/
and confirm you are seeing a basic BIP44 wallet - Win
Node
To quickly create a Node JS app w/ BITBOX bindings follow these steps.
Setup
- Download the latest build from bitbox.earth and compare the checksums
- Start your local BITBOX
- Install
bitbox-cli
globallynpm install bitbox-cli --global
- Scaffold a NodeJS app w/ BITBOX bindings
bitbox new myApp --scaffold node
cd
into new appcd myApp/
- Install dependencies
npm install
- Start the app
npm start
- Confirm you are seeing a basic BIP44 wallet
- Win
Config
By default your new app will connect to BITBOX Cloud over REST. If you want to connect to your ownn REST services pass in a config object when instantiating bitbox-cli
.
let BITBOX = new BITBOXCli({
restURL: 'my-rest-url'
});
Summary
W/ BITBOX Scaffolds you can now create a $BCH app in under a munute. This should accelerate how quickly developers can create Bitcoin Cash apps. Go developers go!