Equibit Wallet API
This project uses Feathers. An open source web framework for building modern real-time applications.
Getting up and running is as easy as 1, 2, 3.
-
Install your dependencies
cd path/to/wallet-api; npm install
-
For local development remember to get
local-development-local.json
or correct bitcoin settings from one of the maintainers. -
For local development you also need to have a running MongoDB instance on your local machine; you can run
docker-compose up
if you're working with Docker. -
Start your app
npm start
Simply run npm test
and all your tests in the test/
directory will be run.
Feathers has a powerful command line interface. Here are a few things it can do:
$ npm install -g feathers-cli # Install Feathers CLI
$ feathers generate service # Generate a new Service
$ feathers generate hook # Generate a new Hook
$ feathers generate model # Generate a new Model
$ feathers help # Show all commands
To run a local Bitcoin node in the regtest mode:
- Download BitcoinCore from https://bitcoin.org/en/download
- Run the core with params:
$ /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \
-logtimestamps \
-server \
-port=8338 \
-debug \
-regtest \
-rpcuser=user \
-rpcpassword=password \
-rpcport=18332 \
-rpcallowip=127.0.0.1
For more information on all the things you can do with Feathers visit docs.feathersjs.com.
0.1.0
- Initial release
Copyright (c) 2016
Licensed under the MIT license.