Open the app

Agora

A register of record for stocks, bonds, collateral and cash on Solana, where a trade and its settlement are the same instruction.

Agora is a Solana program that keeps the register: which admitted account holds how many units of each instrument, and how much ledger cash. A trade moves the units one way and the cash the other in one instruction, at any hour, so it is settled when it is agreed. A repo pledges units inside their owner's own position, and income an issuer pays reaches every unit on the register, pledged ones included.

Account 9bFm…a1CzHolderExample
  1. HALDEN31Halden Grid 4.75% 2031
    free
    140
    locked
    40
    pledged
    120
  2. NGATE29City of Northgate 3.90% 2029
    free
    60
    locked
    0
    pledged
    200
  3. CALDERCalder Freight
    free
    2,400
    locked
    600
    pledged
    0
  4. USDLedger cash
    free
    182,400.00
    locked
    41,212.00
    pledged
    ·
  • Free Held and available to trade, pledge or withdraw.
  • Locked Committed to an open offer: units for a sell, cash for a buy.
  • Pledged Collateral for an open repo, still in its owner’s account and still earning income.
One position, three lanes: free, locked and pledged.

Who uses it

WhoWhat they do
IssuerLists equities and bonds, issues units onto the register, pays dividends and coupons.
HolderDeposits cash, trades, lends and borrows against units.
OperatorAdmits members and sets the settlement fee.
KeeperSettles repo defaults at maturity and runs the fee buyback.

Issuers and holders are members, admitted by the operator. The keeper is a service that calls the instructions anyone may call, such as settling a repo default once it has matured.

Ways in

  • The app at /app: connect a wallet, request admission, then deposit, trade, lend, borrow and claim from one account. The ledger shows every settlement without a wallet.
  • The API: read routes return the register, books, repos and settlements, and each action has a build route that returns an unsigned transaction for the wallet to sign.
  • The program itself, for clients that build their own transactions: the API serves its IDL at GET /idl.json, and its instructions, accounts, events and errors are all under Reference.

This network

The app and these pages run against Mainnet. Demo instruments: fictional issuers on a local validator.

CodeNameKindCouponMaturity
CALDERCalder Freightequity
HALDENHalden Gridequity
TESSALYTessaly Bioequity
HALDEN31Halden Grid 4.75% 2031bond4.75%2031
NGATE29City of Northgate 3.90% 2029bond3.90%2029