Skip to content
View IndentLayer's full-sized avatar

Block or report IndentLayer

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
IndentLayer/README.md


Venues find the price. Indent Layer makes the trade settle.

Indent Layer is not an exchange, a terminal, an aggregator or a lending market. It sits underneath them. When a trade has already been matched, on a DEX, in an RFQ desk, on a credit market, it comes here and completing it becomes our problem.


The constraint

To settle a trade atomically, both sides have to hold the full asset at the moment of the fill. Not after, not on average across the day. At that exact moment.

So every open position has cash frozen against it, sitting there for the sole purpose of being present when the trade completes.

Atomicity today is bought with idle money. That is the ceiling. Not demand, not listings, not throughput.


The number

Three members, one asset, one settlement window.

obligation units
A owes B 300
B owes C 250
C owes A 200
A owes C 150
C owes B 100
member net
A −250
B +150
C +100
gross 1,000   net 250   never moved 750   compression 75.0%

Nothing was cancelled. Every obligation still stands. They simply stopped settling one at a time.

That figure is not a claim in a deck. It is a test that runs on every push:

git clone https://github.com/IndentLayer/indent-core
cd indent-core
node --test "test/**/*.test.js"
node examples/window.js

Four mechanics

Novation The bilateral contract is torn up and rewritten as two contracts, each facing Indent Layer
Collateral Members post collateral and receive position limits, rather than prefunding every trade
Netting Obligations accumulate across a window, offset, and only the residual settles
Waterfall Losses are absorbed in a fixed order, published in advance

Layer three of that waterfall is the one worth reading twice. The protocol's own capital burns before any surviving member's does.


Open

indent-core Netting, waterfall, position limits, the signed obligation type. Zero dependencies, 44 tests.
indent-sdk Turn a matched fill into a signed obligation and track its lifecycle.
indent-contracts The on-chain interfaces, published before deployment.
settlement-contracts Non-custodial settlement, EIP-712 signed, atomic delivery versus payment.
awesome-tokenized-equities Curated map of the tokenized equity landscape.
clearing-notes Working notes from before the design settled.

Where this stands

Stage Status
Primitives, open and tested ✅ live
Interfaces, published ✅ live
Clearing contracts not deployed
Testnet not open
Mainnet not live

Nothing here talks to a chain yet. The logic is published first so it can be read, argued with and corrected before anything holds value.


indent-core

44 tests · 0 dependencies
indent-sdk

14 tests · 0 dependencies
indent-contracts

4 interfaces · order enforced


indentlayer.xyz

Popular repositories Loading

  1. indent-sdk indent-sdk Public

    Submit matched trades to Indent Layer clearing. Build an obligation, sign it, settle it.

    JavaScript

  2. indent-contracts indent-contracts Public

    On-chain surface of the clearing layer: submission, novation, collateral and settlement.

    Solidity

  3. indent-core indent-core Public

    Clearing primitives for tokenized assets: novation, multilateral netting, margin and the default waterfall.

    JavaScript

  4. settlement-contracts settlement-contracts Public

    Non-custodial settlement contracts for tokenized assets on Robinhood Chain. EIP-712 signed, atomic delivery versus payment.

    Solidity

  5. clearing-notes clearing-notes Public

    Working notes and prototypes on clearing design: settlement windows, novation, collateral, default waterfalls.

  6. IndentLayer IndentLayer Public

    Indent Layer. The clearing layer for tokenized assets on Robinhood Chain.