Skip to content

atomone-hub/ics-poc-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICS PoC no.1

A minimal implementation for multiplexing multiple blockchain applications through a single CometBFT consensus layer.

Transaction format

Format: ICS:<chain_id>:

Example: ICS:chain-1:{"type":"send","amount":"100"}

The multiplexer strips the "ICS:<chain_id>:" prefix and forwards the payload to the appropriate chain application.

Config

An example config can be found here.

Queries

Queries must specify the target chain via chain_id parameter:

curl "http://localhost:26657/abci_query?path=/store/key&chain_id=chain-1"

Architecture

    CometBFT (consensus)
         |
         | ABCI
         |
    Multiplexer (routes by chain_id)
         |
         +-- chain-1 (ABCI app)
         |
         +-- chain-2 (ABCI app)
         |
         +-- chain-N (ABCI app)

The multiplexer implements the ABCI Application interface and forwards requests to the appropriate chain based on the transaction header or query chain_id parameter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors