Skip to content
Paxeer X

Native payments

Money that moves onlyunder rules.

Escrow, spending limits, streams and service agreements, built into the network and enforced by the kernel in every node.

Building blocks

Pick the block your money needs.

Each block is a module of the LayerX kernel. Smart contracts reach all of them through one built-in contract address with fixed methods.

The kernel owns terms and balances.
Money moves only as ordinary token transfers into and out of dedicated accounts.
Safe retries.
Captures, releases, settlements, rate changes and delegate spends carry an idempotency key, so a repeated request cannot pay twice.
Every payment gets a signed execution receipt,
final once its block is committed.
Linework of two parties exchanging a payment, with one blue mark at the point of exchange.

Escrow

Lock an exact amount until work is done.

The owner names a beneficiary, an optional arbiter, an expiry and a dispute window. Funds sit in a dedicated escrow account.

  1. 01

    Open the hold

    Terms and a hash of the agreement are stored in module state.

  2. 02

    Capture or release

    The beneficiary captures all or part. The owner can release. Captures cannot exceed the hold.

  3. 03

    Dispute if needed

    Either side can open one inside the window, which freezes further capture.

  4. 04

    Arbiter resolves

    The share is set in basis points, up to 10,000. The kernel rounds down and gives the remainder to the owner.

Escrow hold recordSample
Owner
Sample 0x4a1f…c9e2
Beneficiary
Sample 0x91bd…07a3
Arbiter (optional)
Sample 0xd03c…5b18
Expiry
Sample block time
Dispute window
Sample window
Agreement hash
Sample 0x7e20…ab44
Escrow account
Sample 0x2c58…19f0
Status
Held
ESCROW ACCOUNTBENEFICIARY SHAREOWNER REMAINDERMUST ADD BACK TO BALANCE
Sample
Linework of a sealed envelope with one blue accent.

Arbiter decides the split

A named arbiter decides instead of one party deciding alone. The kernel refuses the resolution if the two parts do not add back to the balance. After the deadline, an expiry sweep returns the hold.

PERIOD LIMITREFUSEDDELEGATEDELEGATEDELEGATESAMPLE
Linework of a grid with one selected cell marked in blue.

Spend budgets

A limit it cannot cross.

You fund a budget, set a per-period limit and an expiry, and the kernel enforces the ceiling whatever the spender tries.

Rollover
Rollover is your choice: none, or up to a carry cap.
Delegates
Add or remove up to 16 delegates; amend limits, defund, close or revoke.
Periods
Periods roll forward when a block timestamp passes a period boundary.
Revocation
Revocation uses sequence numbers, so stale or replayed revocations are refused. Budgets can be funded from a native account or an asset account.

Streams

Pay only for what was used.

A stream accrues payment by time or against a signed meter reading, so you stop prepaying for services you may not use.

Stream modes

  1. 01

    Time mode

    Payment accrues at a rate per time unit between a start and an optional end, up to a total cap.

  2. 02

    Metered mode

    The payer names up to eight meter keys. Each reading is signed with Ed25519 and can only go up.

  3. 03

    Change the rate

    A rate change settles what has accrued at the old rate first. Streams can be topped up, paused, resumed, settled and closed.

Opened against an ask

Streams can also be opened against an ask reference through the precompile, so a published price and a running payment can be tied together.

Linework of a current of data with one blue accent.

Service agreements

Agree work step by step.

A provider publishes a priced offer, a buyer proposes against it and an escrow, and every step is recorded.

OFFERPROPOSALACCEPTCOMMITDELIVERACCEPT OR REJECTDEFAULT OUTCOMEDISPUTEESCROW RESOLUTION
Sample flow

Offers buyers can check

An offer states the asset, price, hash of the terms, hash of the deliverable specification, deadline, windows, default outcome and expiry. Hashes keep terms verifiable without putting documents on-chain.

Delivery by hash

The provider commits to a task with a deadline and a resource bound, reports progress that never goes backwards, and lists up to 16 deliverables by hash, size and availability reference. The buyer accepts or rejects.

Silence has an outcome

If the acceptance window ends with no response, kernel batch maintenance applies the configured default and emits an event. A dispute carries evidence hashes and links to the escrow resolution that moves the money.

Linework of a ledger page with a blue seal.

Service agreements cannot write balances, so a bug in an agreement cannot invent or lose funds.

Start here

Start with the block you need.

One precompile exposes escrow, budget, stream and service calls, with events and views. Each payment family can be enabled or paused separately.