Colu's easy to use SDK for driving the Colored-Coins protocol for digitial assets on top of the Bitcoin blockchain
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
client
src
test
.gitattributes
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
app.json
gulpfile.js
package.json
tsd.json

README.md

Colu-Node.Js

Build Status Coverage Status npm version

js-standard-style

Using

Installation

$ npm i colu

Documentation

Full documentation for this Module can be found here: http://documentation.colu.co/

Running as a standalone server

To run as a standalone server you need to install Node.Js and NPM. Then install the colu module globaly like this:

$ npm i -g colu

Then just run it from the terminal like this:

$ colu

And now you can use JSON-RPC 2.0 requests to use the Colu SDK. By default it will be hosted at : 127.0.0.1:80 and will be locked to local host only.

Developing

Testing

$ npm test

Docker

Build image

	docker build -t colunodejs .

Run image in a container

	docker run -p 8080:80 -it colunodejs

You should now be able to make your api calls to port 8080 on your host machine (or select another port, say 1234, by running instead with docker run -p 1234:80 -it colunodejs)

View your container running

  docker ps

Stopping the container

Since we are running in interactive shell mode -it you can stop the container by pressing CTRL+C