bcoin

bcoin is an alternative implementation of the bitcoin protocol, written in node.js. The bcoin 1-Click App is a pruned full node which can be used for full blockchain validation, and is consistent with all known consensus rules. bcoin comes with an enterprise-level wallet system and an advanced API.

Learn more at https://bcoin.io and review the docs at https://bcoin.io/api-docs/

Software Included

Package Version License
bcoin 2.0.0-dev MIT
nodejs 12.6.0 MIT

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the bcoin 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB bcoin Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "bcoin-18-04"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying bcoin

bcoin is already enabled as a service and should start automatically. Visit your new bcoin 1-Click App Droplet via ssh root@your_Droplet_IP, and then try running the command bcoin-cli info to get the blockchain sync progress.

Note: your new Droplet is a validator node and should only be used for such

Review the docs at https://bcoin.io/api-docs/