An open API service indexing awesome lists of open source software.

https://github.com/bitcoin-com/bitbox-scaffold-websockets

BITBOX React scaffold w/ Websockets
https://github.com/bitcoin-com/bitbox-scaffold-websockets

Last synced: 11 months ago
JSON representation

BITBOX React scaffold w/ Websockets

Awesome Lists containing this project

README

          

## BITBOX Scaffold WebSockets

Used for events, meetups etc to display BCH addresses and notify when donations are received.

## Setup

1. [Install `bitbox-sdk`](https://www.npmjs.com/package/bitbox-sdk) globally
* `npm install bitbox-sdk --global`
2. Scaffold an WebSockets app w/ BITBOX web bindings
* `bitbox new myApp --scaffold websockets`
3. `cd` in to the newly created app
* `cd myApp`
4. Install dependencies
* `npm install`
5. Edit the `src/donations.js` file with images, names and addresses
6. Start the app
* `npm start`
7. Open a browser to `http://localhost:3000/`
8. Win

[![Build Status](https://travis-ci.org/Bitcoin-com/bitbox-scaffold-websockets.svg?branch=master)](https://travis-ci.org/Bitcoin-com/bitbox-scaffold-websockets)