Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

core-jit

Who it's for: Anyone swapping between cGHS and USDC, liquidity providers wanting to earn fees on GHS pairs, and developers building payment or currency conversion features into their apps. Why it matters: Deep, always-available liquidity for the Ghana Cedi means users get fair exchange rates instantly, whether they're converting remittances or topping up a merchant account.

core-jit manages the Shika Liquidity Atomic Swap Engine — an on-chain hook that routes cGHS/USDC and RWA token swaps, injecting just-in-time liquidity from multiple sources.

Architecture

Swap request

RouterHook (Shika Liquidity Engine)
     ↓ selects liquidity source autonomously:
  1. P2P Offer     — match a KYC-gated LP offer (best price)
  2. Flash JIT     — flash-borrow from LendingPool, inject JIT
  3. JITRebalancer — shared fallback pool for large swaps

GHSPriceRouter   — reads live GHS/USD from Chainlink oracle

Contracts

ContractAddress
RouterHook0x23350973855cCFe6EfF30b5f5D334Ea1D36280C0
P2POfferBook0xc4Bdc3A321003D9420DbA21Ed89718904670A5cA
GHSPriceRouter0x0D4f47a10B151acc82469078C57f853F53036439
JITRebalancer0x64b7DeD624377Dc0eE5050b3B457814b2b94C5d5
PoolManager0x498581fF718922c3f8e6A244956aF099B2652b2b
PositionManager0x7C5f5A4bBd8fD63184577525326123B519429bDc

Active Pool — cGHS / USDC

Value
Pool ID0x2f7c1084697ba69acb41b675f80b800ede45c61e7b25b4a04d0f8dca249fe2bd
token0 (cGHS)0x3126627A607E730E3eCF9BbfFD67fa18Deaab846
token1 (USDC)0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Fee1 bps (100)
Tick spacing10

Route Groups

PrefixDescription
/swapExecute swaps, get quotes
/offersP2P LP offer lifecycle
/liquidityPersistent range positions
/rebalancerJIT Rebalancer shared pool
/priceGHS/USD and RWA oracle reads
/poolPool state reads
/poolsAll pools list
/adminPool creation (admin only)