2020-09-02 09:52:37 -06:00
2020-09-02 09:52:37 -06:00
2020-09-02 09:52:37 -06:00
2020-09-02 09:52:37 -06:00
2020-09-02 09:52:37 -06:00
2020-08-20 16:20:44 -06:00
2020-07-27 18:43:46 +02:00
2020-05-27 16:20:25 +02:00
2020-09-01 14:31:16 +00:00
2020-05-04 18:38:30 +02:00
2020-09-02 09:52:37 -06:00
2020-08-24 17:56:01 -06:00

@blockstack/stacks-blockchain-api

Build Status

Gitpod ready-to-code

Quick start

A self-contained Docker image is provided which will start a Stacks 2.0 blockchain and API testnet.

Ensure Docker is installed, then run the command:

docker run -p 3999:3999 blockstack/stacks-blockchain-api-standalone

Once the blockchain has synced with network, the API will be available at: http://localhost:3999

Development quick start

First, ensure Docker is installed on your machine.

Clone repo and install dependencies with npm install.

Run npm run dev:integrated.

This command will concurrently start the API server app and the service dependencies.

Check to see if the server started successfully by visiting http://localhost:3999/extended/v1/status

Local Development

Setup Services

Then run npm run devenv:deploy which uses docker-compose to deploy the service dependencies (e.g. PostgreSQL, Blockstack core node, etc).

Running the server

To run the server in 'watch' mode (restart for every code change), run npm run dev:watch. You'll have a server on port 3999.

Description
No description provided
Readme GPL-3.0 45 MiB
Languages
TypeScript 95.2%
JavaScript 2.7%
Clarity 1.1%
Dockerfile 0.8%
Shell 0.2%