BCH-devsuite
WebsiteTelegramGitter
  • Getting started
  • Configuration Examples
  • Getting started with SDK
    • Geting started with bch-js
    • Getting started with BitCash
  • Setup Option
  • Architecture
  • Advance Usage
  • Sponsorship
  • Known Issues
  • Contribution Guide
  • Archived
  • Bitcoin Cash Upgrade 2022
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub

Architecture

PreviousSetup OptionNextAdvance Usage

Last updated 2 years ago

Was this helpful?

Two REST APIs can be run: and .

1. rest.bitcoin.com tech stack

The main reason why you should use all of our fork stacks is because we maintain and guarantee that all of the components will work well with the Regtest address format. Allowing you to test locally more easily.

The blue part is the node that you choose. The default node is Bitcoin unlimited and there is Bitcoin Cash node as an option as well.

2. Chris Troutner JS tech stack

The main difference is the rest interface. bch-api has a different API from rest.bitcoin.com and can talk directly to Electrscash without requiring the shim.

All these components work together in a stack, which means that if the lower part is missing then some of the API in might not function properly.

The red part is an indexer. ElectrsCash is for indexing Bitcoin cash transactions and aggregate BCH balance per address. Without these, you won't be able to query the amount of BCH you own in a particular address. OpenSight is a shim micro service to make ElectrsCash compatible with API interface. is an indexer for SLP token, color coin on top of Bitcoin Cash, this will be verified if the data relate to the color coin is valid and checks if the coin follows the SLP off-chain consensus.

The orange part is API, a unified interface for anyone to interact with all of these complex services through REST API interface uniformly

The green part is the client SDK that will interact with interface. is written in Python and is written in typescript.

rest.bitcoin.com
rest.bitcoin.com
SLPDB
rest.bitcoin.com
rest.bitcoin.com
Bitcash
Bitbox
rest.bitcoin.com
bch-api
rest.bitcoin.com Tech Stack
Chris Troutner JS Tech Stack