Skip to content

syvita/stacks-api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stacks API Node easy start

Quickstart

Requirements

IMPORTANT: You need ALL of these to use this guide. This guide has only been tested to work on macOS!

  • Docker
  • Git
  • docker-compose (no install needed if you have Docker Desktop installed from above on macOS and Windows)

let's go!

Open a terminal of some sort:

  • macOS - Terminal
  • Windows 10 - Console
  • Windows 11 - Windows Terminal
  • Linux - if you are using Linux, you should know how to use a terminal... lol

This command:

  1. Downloads this code
  2. Enters the folder
  3. Starts the quickstart sequence
git clone https://github.com/syvita/stacks-api-node
cd stacks-api-node
sh start

NOTE: You might have to use sudo sh start instead of sh start if you encounter permission issues with Docker on Linux.

The quickstart sequence:

  1. Downloads the Stacks node code
  2. Downloads the Stacks API code
  3. Builds the Stacks node to run on your system (can take upwards of 10min)
  4. Builds the Stacks API to run on your system (usually around 5min)
  5. Boots up the database, node, API and explorer

It can take anywhere from a few hours to weeks to sync up to the blockchain based on how fast your internet connection is. The API might take a while to be available.

More details are shown in your console after the bootup sequence.