UnyKorn Stablecoins — Infrastructure Reference, Developer Hub & On-Chain ProofLive on-chain proof
UNYKORNXRPL STABLES
Architecture

How a stablecoin is actually built.

A production stablecoin is four systems working together: a legal and reserve structure off-chain, a token contract or ledger configuration on-chain, a compliance control plane, and an attestation layer that proves the first matches the second.

End-to-end flow

Mint and redemption lifecycle

Institutional clientKYB · sanctions · credential Issuer (licensed)order intake · policy engine Reserve custodycash · T-bills · repo Mint controllerquota-limited minter role LedgerXRPL · EVM · Solana orderwirefundedmint Circulationpayments · DEX · x402 Redeem & burntokens returned, destroyed Attestationsupply ↔ reserves reconciled Fiat payoutwire at par · ISO 20022 proof published

Layer 1 · Legal & reserves

The balance sheet comes first

Regulators judge a stablecoin by its reserves and redemption rights before they look at the code.

Issuing entity

A licensed issuer, such as a GENIUS Act permitted issuer, a MiCA e-money institution, or an HKMA or MAS licensee, or a bank issuing deposit tokens. Many use a bankruptcy-remote trust or SPV to hold reserves.

Eligible reserves

Coins, insured deposits, Treasury bills of 93 days or less, overnight repo and government money-market funds, at least 1:1 and diversified. Reserves may not be rehypothecated.

Redemption at par

A clear legal right to redeem at face value within a set timeframe (for example T+1 to T+5, depending on the regime), with published fees and no yield paid to holders.

Layer 2 · Token contract

Control roles in an institutional EVM stablecoin

Institutional ERC-20 stablecoins share one pattern: an upgradeable proxy in front of an implementation with separate privileged roles. Each role is a key-management and governance decision.

RoleCapabilityTypical controlRisk if compromised
Proxy adminupgradeTo / upgradeToAndCall replaces all contract logicMultisig plus timelock, held in cold custodyTotal: arbitrary logic, including balances
OwnerReassigns every other role, sets registries and oraclesMultisig, two-step ownership transferTakeover of all roles
Master minterconfigureMinter(minter, quota)Treasury operations under dual controlUnlimited minter creation
Mintermint up to allowance, burn on redemptionHSM hot key, quota sized to funded ordersMint up to remaining quota
Compliancefreeze, unfreeze, wipeAccount for sanctions and court ordersCompliance team, logged with a reason codeWrongful freezes or seizure
PauserGlobal circuit breaker on transfersSecurity on-call, fast responseDenial of service
Oracle / attestorPublishes reserve attestations that can gate mintingThreshold signatures, rejects stale dataFalse solvency signal

The same controls exist in the largest live coins. USDC and PYUSD have upgradeable proxies with blacklist and wipe functions. USDT's contract includes a fee parameter and a destroyBlackFunds function. The Lab's contract analysis module walks through each one.

Layer 3 · Compliance plane

Identity, sanctions and the Travel Rule

  • Onboard primary holders (mint and redeem counterparties) with KYB/KYC. Secondary-market holders are handled through screening and freezes.
  • Screen addresses against OFAC and UN lists on chain and in real time. Freeze on a match and document the legal basis.
  • Allowlist registries (ERC-3643-style) or XRPL Credentials and Permissioned Domains for restricted tokens.
  • Send Travel Rule (FATF R.16) originator and beneficiary data between VASPs for transfers above thresholds.
  • Monitor for AML typologies such as peel chains, mixers and bridge hops, and report suspicious activity (SARs).

Layer 4 · Attestation

Proving reserves to outsiders

  • Monthly independent accountant attestations (reserve composition and amount), plus audited annual financial statements.
  • On-chain proof-of-reserve feeds that publish reserve totals and can block mints that would exceed them.
  • Merkle commitments over holder liabilities, so anyone can check they were included without exposing the full ledger.
  • Bank statements reconciled daily against on-chain supply using ISO 20022 camt.053.
  • Reject stale data: minting halts if the latest attestation is older than its policy window, for example 24 hours.

Bank-grade integration

Capital and messaging standards

Basel Group 1b

For a bank's exposure to get favorable capital treatment, the stablecoin must pass a redemption-risk test (reserves of short-dated, high-quality assets at least equal to outstanding tokens) and have a supervised, regulated issuer. Coins that fail fall to Group 2, where unhedged exposure carries a 1250% risk weight.

ISO 20022

Fiat legs travel as pacs.008 credit transfers and are reconciled with camt.053 statements. On-chain transaction hashes go in remittance fields, so bank back offices can match token events to cash movements.

Identifiers

ISO 24165 Digital Token Identifiers (DTI) name the token unambiguously across chains. ISO 17442 Legal Entity Identifiers (LEI) identify the issuer and counterparties in reporting.

See implementation code in the developer docs →