# Coinbase Prime

Source: https://docs.formance.com/v4.0/modules/connectivity/connectors/coinbaseprime

Stack: v4.0

Institutional prime brokerage on Coinbase Prime, booked into a double-entry ledger

Documented release: Coinbase Prime v0.5.0 (0.5.0-beta.9, beta).

## Overview

Coinbase Prime is Coinbase's institutional prime brokerage: institutions hold
digital assets and fiat in qualified custody, trade, stake, borrow against
holdings, and convert between USD and supported stablecoins, all within
portfolios.

The connector reads one portfolio into Formance Ledger. Deposits, withdrawals,
and internal transfers stay visible while pending and settle or reverse without
double counting; trades, rewards, fund-bearing staking movements, and stablecoin
conversions each book in their own assets, with commissions and network fees
kept separate from the movements that carry them. The connector records the
balances Coinbase Prime itself reports next to the ledger's own, ready to
compare.

Read-only: the connector never initiates a transfer, order, conversion, or
financing operation. It covers one Coinbase Prime portfolio at a time;
cross-portfolio allocations and financing are not yet covered, and Coinbase
Exchange and Coinbase's retail products are out of scope.

### Provider documentation

- [Coinbase Prime overview](https://www.coinbase.com/prime)
- [Coinbase Prime REST API reference](https://docs.cdp.coinbase.com/api-reference/prime-api/rest-api/introduction)
- [Coinbase Prime WebSocket feed overview](https://docs.cdp.coinbase.com/prime/websocket-feed/overview)

## Use cases

### Run digital-asset treasury on the same ledger as everything else

Positions at Coinbase Prime sit in the same ledger as the rest of the
business's money, filterable by wallet type — trading, vault, onchain, or
qualified custody — so a treasury question that spans them is one query
rather than several exports.

### See in-flight transfers without double counting them

A deposit, withdrawal, or internal transfer that has not settled shows as
pending exposure from the moment Coinbase Prime reports it. When it
settles, the wallet reflects it exactly once; when it fails, is canceled,
rejected, or expires, the pending exposure disappears. Total unsettled
exposure across the portfolio is a single ledger query.

### Keep trading costs apart from trading volume

Each trade books in the order's own base and quote assets, with the
commission in a dedicated fees account. On-chain network fees split out of
deposits and withdrawals the same way. What moved and what it cost to move
stay answerable as two separate questions.

### Reconcile against the balances Coinbase Prime reports

The connector records the amounts, holds, and withdrawable balances
Coinbase Prime itself reports for every wallet, plus per-asset amount and
holds totals for the whole portfolio, next to the balances the ledger
derives from activity. Both sides of a balance reconciliation live in one
place, and the connector adjusts neither of them.

### Answer audit questions from the ledger

The connector records individual trade executions as timestamped events
carrying side and venue, alongside the execution record Coinbase Prime
returned. Closed orders that never filled, provider control events that
move no money, wallet, team, security, API, and settings changes, and
every approved withdrawal address get the same treatment. Who did what, when,
and at what price becomes a ledger query rather than a request to
Coinbase.

## Coverage

Read both lists before you rely on this connector for a provider product or lifecycle state.

### Supported

- Custody movements — deposits, withdrawals, internal transfers, rewards, and staking movements that carry funds — visible while pending until they settle, fail, are canceled, rejected, or expire
- Trades, booked once when the order closes, in the order's own base and quote assets, including the filled part of an order canceled or expired before it completed
- Trading commissions and on-chain network fees, each in its own fees account instead of netted into the movement it belongs to
- The four free 1:1 conversions Coinbase Prime documents — USD to and from USDC, USD to and from PYUSD — booked between the wallets involved
- The balances Coinbase Prime itself reports — amounts, holds, and withdrawable funds on every wallet, plus amount and holds totaled per asset across the portfolio — ready to compare with the ledger
- Each custody wallet's position in every asset it holds, filterable by wallet type — trading, vault, onchain, or qualified custody
- Staking status on ETH vault wallets, the only wallets Coinbase Prime reports it for
- Each asset booked at the decimal precision Coinbase Prime reports for it
- Individual trade executions as timestamped audit records carrying side and venue, alongside the execution record Coinbase Prime returned
- Closed orders that never filled and provider control events that move no money, kept as timestamped audit records
- Account activity — wallet, team, security, API, and settings changes — and approved withdrawal addresses, kept as a queryable audit trail
- An optional live order feed, which speeds up how fast a completed trade appears; coverage never depends on catching an event live

### Not supported

- Moving money — the connector never creates a transfer, withdrawal, order, conversion, or financing operation on Coinbase Prime
- Open orders — an order becomes visible once it closes; orders still working in the market do not appear
- More than one portfolio per connector — an entity with several portfolios connects each one separately
- Per-execution amounts — funds book once at order close, because Coinbase Prime reports some execution amounts in a different currency than the order settles in
- Cross-portfolio allocations — not yet covered; an allocated trade stays booked in full in the portfolio that placed the order
- Financing — interest accruals, the credit line, outstanding loans, and margin are not yet covered; a billing withdrawal that pays interest books as an ordinary withdrawal
- Variance between reported and ledger balances — the connector records both figures side by side but never computes a difference or posts an adjustment
- Stake-account merges, and movements Coinbase Prime labels only as other or unknown — when one appears, updates for the portfolio pause until it is classified, instead of booking it on a guess
- Order and transaction entries in Coinbase Prime's activity feed — excluded so those events are not recorded twice
- Live market data — the connector does not read order books or price feeds
- Instant push of transfers or balances — only order activity has a live feed; everything else appears with a short delay
- Staking status beyond ETH vault wallets, which Coinbase Prime does not report
- Coinbase Exchange and Coinbase's retail products — this connector covers Coinbase Prime only

## Ledger model

Profile v0.2.0. Parts of an account address in braces are replaced with provider identifiers.

### Accounts

- `coinbaseprime:{pf}`: External counterparty and last-resort source, per portfolio. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:wallet:{wallet_id}:main`: Wallet-main component; combine with the wallet's staking components for custody total. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `wallet_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:wallet:{wallet_id}:staking:main`: Remaining SOL staking category of this wallet after stake-account creation. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `wallet_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:wallet:{wallet_id}:staking:delegated`: Bonded stake of this wallet, including compounded SOL epoch rewards. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `wallet_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:wallet:{wallet_id}:staking:unbonding`: Stake of this wallet that is unstaking and not yet withdrawable. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `wallet_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:fees:main`: Trading and platform fees. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:network_fee_offsets:main`: User-policy offset of reported SOL staking costs; not a provider reimbursement or customer custody. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:network_fees:main`: On-chain network fees. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:tx:hold:processing:{tx_id}`: In-flight transaction register, drains on finality. Persistence: ephemeral. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `tx_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:trade:{order_id}:main`: Trade clearing counterparty. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `order_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:allocation:{root_id}:main`: Inter-portfolio allocation counterparty carrying opposite per-asset positions. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `root_id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:financing:main`: Financing state attestation target (credit / loan / margin), no postings. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:financing:interest:main`: Financing interest expense. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:financing:payable:main`: Accrued-but-unpaid financing liability. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:lifecycle:{topic}:{id}`: Non-fund lifecycle / marker; a unit EVENT self-send records a state event as a zero-residue transaction. Persistence: ephemeral. Segments: `pf` matches `[a-zA-Z0-9_-]+`, `topic` matches `[a-zA-Z0-9_-]+`, `id` matches `[a-zA-Z0-9_-]+`.
- `coinbaseprime:{pf}:suspense:main`: Last-resort source and residue. Persistence: normal. Segments: `pf` matches `[a-zA-Z0-9_-]+`.

### Recorded activity

- `HOLD_DEPOSIT`: Pay-in entered a non-terminal state; open its hold from the coinbaseprime counterparty. (Transaction)
- `HOLD_REWARD`: Reward entered a non-terminal import state; open its hold from the Prime counterparty. (Transaction)
- `HOLD_WITHDRAWAL`: Pay-out entered a non-terminal state; reserve from the wallet into the hold. (Transaction)
- `HOLD_TRANSFER`: Internal transfer entered a non-terminal state; reserve from the source wallet. (Transaction)
- `DEPOSIT_DONE`: Deposit confirmed; fund the exact wallet credit from its hold then Prime and split the network fee. (Transaction)
- `WITHDRAWAL_DONE`: Withdrawal confirmed; fund the exact counterparty debit from its hold then the original wallet and split the network fee. (Transaction)
- `TRANSFER_DONE`: Transfer confirmed; fund the exact debit from its hold then the original owned wallet, and split any inclusive network fee out of the delivered amount. (Transaction)
- `SOL_STAKE_ACCOUNT_CREATE_DONE`: A completed SOL stake-account creation moves the exact creation amount into the staking component of its verified original wallet, funded by its reservation, then by what that wallet holds, then by Prime for a Coinbase-funded activation; reported same-asset network costs are offset under the accepted user policy and do not reduce custody. (Transaction)
- `SOL_STAKE_ACCOUNT_CREATE_HOLD`: A pending SOL stake-account creation reserves what its original wallet holds, up to the creation amount; a Coinbase-funded activation reserves nothing. (Transaction)
- `SOL_STAKE_ACCOUNT_CREATE_REVERSE`: Internal transfer failed/cancelled; return the held funds to the source wallet. (Transaction)
- `SOL_STAKE_HOLD`: Internal transfer entered a non-terminal state; reserve from the source wallet. (Transaction)
- `SOL_STAKE_REVERSE`: Internal transfer failed/cancelled; return the held funds to the source wallet. (Transaction)
- `SOL_STAKE_DONE`: A completed SOL delegation reclassifies the exact reported amount into a wallet-scoped category; reported same-asset network costs are offset under the accepted user policy and do not reduce custody. (Transaction)
- `STAKING_STAKE_HOLD`: A pending staking operation reserves what the wallet holds, up to the staked amount. (Transaction)
- `STAKING_STAKE_DONE`: A completed staking operation bonds the amount from the wallet into its delegated staking category; the shortfall comes from wallet main with overdraft (customer-funded). (Transaction)
- `STAKING_STAKE_REVERSE`: A failed staking operation returns its reservation to wallet main. (Transaction)
- `STAKING_UNSTAKE_HOLD`: A pending unstake reserves what the delegated stake holds, up to the unstaked amount. (Transaction)
- `STAKING_UNSTAKE_DONE`: A completed unstake moves the amount from the delegated stake into unbonding, where it is not yet withdrawable. (Transaction)
- `STAKING_UNSTAKE_REVERSE`: A failed unstake returns its reservation to the delegated stake. (Transaction)
- `STAKING_UNBONDED_HOLD`: A pending unbonding completion reserves what is unbonding, up to its amount. (Transaction)
- `STAKING_UNBONDED_DONE`: A completed unbonding makes the amount withdrawable in wallet main, funded by unbonding, then the remaining staking category (a full SOL withdrawal releases the rent reserve), then Prime for rewards earned while unbonding that were never booked. (Transaction)
- `STAKING_UNBONDED_REVERSE`: A failed unbonding completion returns its reservation to unbonding. (Transaction)
- `SOL_STAKE_REWARD_DONE`: A SOL epoch staking reward compounds into the delegated stake on chain; fund the exact credit from its hold then Prime into the wallet's delegated staking category. Signature-backed transfers into the stake account stay withdrawable through REWARD\_DONE. (Transaction)
- `REWARD_DONE`: Reward credited; fund the exact credit from its hold then Prime into the transfer\_to wallet. (Transaction)
- `REVERSE_REWARD`: Reward failed or was rejected; reverse any observed hold to the Prime counterparty. (Transaction)
- `REVERSE_DEPOSIT`: Pay-in failed/cancelled; reverse the hold back to the coinbaseprime counterparty. (Transaction)
- `REVERSE_WITHDRAWAL`: Pay-out failed/cancelled; return the held funds to the wallet. (Transaction)
- `REVERSE_TRANSFER`: Internal transfer failed/cancelled; return the held funds to the source wallet. (Transaction)
- `FILL_MARK`: Record a single trade execution (fill) as a zero-residue EVENT marker (audit detail only). (Fill)
- `ORDER_SETTLE_SELL`: Sell order closed; base out of the base wallet to the market, proceeds in, commission on the quote. (Order)
- `ORDER_SETTLE_BUY`: Buy order closed; quote out of the quote wallet to the market, acquired base in, commission on the quote. (Order)
- `ORDER_MARK`: Record an order state event that moves no funds as a zero-residue EVENT marker. (Order)
- `CONVERSION`: A documented free 1:1 stablecoin conversion settles between owned wallets through Prime. (Conversion)
- `TRANSACTION_MARK`: Record a no-fund control transaction as a zero-residue EVENT marker. (Transaction)
- `LIFECYCLE_MARK`: Record a non-fund lifecycle event (account activity, address-book entry) as a zero-residue EVENT marker. (Lifecycle)
- `ALLOCATION_OUT`: Allocation out; deliver base to the clearing counterparty, receive quote, and book the allocated fee. (Allocation)
- `ALLOCATION_IN`: Allocation in; receive base from the clearing counterparty, pay quote, and book the allocated fee. (Allocation)
- `INTEREST_ACCRUAL`: Financing interest accrued; recognize expense against the accrued liability. (Accrual)

### Queries and views

- `transactions-by-status` (Transactions): Transactions filtered by their status metadata.
- `transactions-by-type` (Transactions): Transactions filtered by their observed Coinbase type metadata.
- `accounts-by-wallet-type` (Accounts): Wallet accounts filtered by wallet\_type metadata.
- `custody-by-wallet` (Accounts): NORMAL wallet main and staking components for one provider wallet ID. Attribute processing holds through activity-by-wallet, then read their exact accounts.
- `activity-by-wallet` (Transactions): Transaction history filtered by prime.coinbase.com/wallet-id; current ephemeral positions are selected by account address.
- `accounts-by-prefix` (Accounts): Accounts under a given address prefix.

## Config

Install a connection with fctl. The command tracks the beta channel; replace the ledger name with your own.

```bash
fctl connectivity connections install ee-coinbaseprime --ledger my-ledger --channel beta --poll-interval 30s --config coinbaseprime-config.json
```

The config file is JSON with `env` and `files` maps, keyed by each setting's name.

| Setting                   | Type           | Required | Default                            | Description                                                                                                                                                                                        |
| ------------------------- | -------------- | -------- | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `env.API_KEY`             | string, secret | Yes      |                                    | Coinbase Prime API key.                                                                                                                                                                            |
| `env.API_SECRET`          | string, secret | Yes      |                                    | Coinbase Prime API secret used as the HMAC key.                                                                                                                                                    |
| `env.API_PASSPHRASE`      | string, secret | Yes      |                                    | Coinbase Prime API passphrase.                                                                                                                                                                     |
| `env.PORTFOLIO_ID`        | string         | Yes      |                                    | Coinbase Prime portfolio identifier. The connector verifies an exact provider-returned match before accepting or creating cursor progress.                                                         |
| `env.ENTITY_ID`           | string         | No       |                                    | Coinbase Prime entity identifier; when set, the connector requires an exact provider-returned match, and when omitted it binds the entity returned by the verified portfolio.                      |
| `env.VALUATION_CURRENCY`  | string         | No       | `USD`                              | Common assumed currency for provider fiat valuations. This is a configuration assumption and does not request provider conversion. Options: USD, AUD, CAD, EUR, GBP, SGD.                          |
| `env.API_BASE_URL`        | string         | No       | `https://api.prime.coinbase.com`   | Coinbase Prime REST API base URL. Its credential-free semantic coordinate is cursor-bound.                                                                                                         |
| `env.SVC_ACCOUNT_ID`      | string         | No       |                                    | Service Account ID for the configured API key; required when STREAM is enabled.                                                                                                                    |
| `env.STREAM`              | boolean        | No       | `false`                            | Enable the optional WebSocket orders live tail after the REST backfill.                                                                                                                            |
| `env.WS_BASE_URL`         | string         | No       | `wss://ws-feed.prime.coinbase.com` | Coinbase Prime WebSocket feed base URL. Its credential-free semantic coordinate is cursor-bound when STREAM is enabled.                                                                            |
| `env.WITH_ACTIVITIES`     | boolean        | No       | `true`                             | Observe account activities as zero-residue lifecycle markers.                                                                                                                                      |
| `env.WITH_ADDRESS_BOOK`   | boolean        | No       | `true`                             | Observe approved withdrawal addresses as zero-residue lifecycle markers.                                                                                                                           |
| `env.WITH_ALLOCATIONS`    | boolean        | No       | `false`                            | Outside the supported scope; leave off. Opt in to terminal original cross-portfolio allocation postings; reversal rows remain fail-closed.                                                         |
| `env.WITH_FINANCING`      | boolean        | No       | `false`                            | Outside the supported scope; leave off. Opt in to principal-currency nominal interest-accrual postings plus credit, loan, and margin state attestations.                                           |
| `env.REQUESTS_PER_SECOND` | number         | No       | `8`                                | Client-side pacing for Coinbase Prime API calls (requests/second) to stay under the rate limit.                                                                                                    |
| `env.MAX_RETRIES`         | integer        | No       | `4`                                | Max retries on HTTP 429/5xx (honoring Retry-After) before failing a fetch.                                                                                                                         |
| `env.SCHEMA_MODE`         | string         | No       | `stored`                           | Numscript delivery: 'stored' registers the script in the ledger and references it by name; 'explicit' inlines the source in every transaction, for testing. Options: stored, explicit.             |
| `env.NUMSCRIPT_VERSION`   | string         | No       |                                    | Stored Numscript version override; use latest or an explicit version.                                                                                                                              |
| `env.INITIAL_LOOKBACK`    | string         | No       | `87600h0m0s`                       | First-run or explicit empty-cursor replay boundary. Approve a window older than every unresolved monetary observation; prefer full provider-retained history for breaking source-scope migrations. |
| `env.LOOKBACK_MARGIN`     | string         | No       | `1m0s`                             | Safety overlap subtracted from the watermark (clock-skew / late visibility); non-final transactions, conversions and orders are listed again from their persisted oldest-unfinished floor.         |

## Changelog

### v0.5.0

#### 0.5.0-beta.9, published 2026-11-06

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.8, published 2026-11-03

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.7, published 2026-10-29

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.6, published 2026-10-29

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.5, published 2026-10-28

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.4, published 2026-10-28

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.3, published 2026-10-26

The Coinbase Prime connector reads one Coinbase Prime portfolio into Formance
Ledger and never moves money on Coinbase Prime.

##### What this release covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, booked under that wallet as separate staking
  and delegated components. Epoch staking rewards compound into the delegated
  stake, as they do on chain; a direct transfer into a stake account stays in
  the wallet's withdrawable balance. Unstaked SOL waits in an unbonding component
  of the wallet until Coinbase Prime reports the unbonding complete, then returns
  to the withdrawable balance. When Coinbase funds a stake account's activation,
  that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported scope. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Account activity and approved withdrawal addresses are enabled by default.
The live feed, allocations and financing are off by default.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.

#### 0.5.0-beta.2, published 2026-10-12

##### Breaking changes

- **Breaking:** book staking under its wallet, compound epoch rewards, add unstaking lifecycle
- **Breaking:** remove deprecated and no-op configuration
- **Breaking:** remove the deprecated min/max lookback flags
- **Breaking:** rewind mutable lanes to an oldest-unfinished floor instead of enrolling in-flight IDs
- **Breaking:** book inclusive transfer network fees and SOL staking destinations
- **Breaking:** complete existing fleet facets and regional discovery
- **Breaking:** make business payload capture mandatory
- **Breaking:** retain full business-object payloads
- **Breaking:** address Ledger metadata keys by DNS domain and kebab-case path
- **Breaking:** namespace connector metadata
- **Breaking:** enforce verified accounting scope
- **Breaking:** complete the config contract's defaults and constraints, and tier it into a form
- **Breaking:** move the Connector payload onto connectivity.formance.com/v1alpha1
- **Breaking:** restrict config.schema.json to end-user business configuration
- **Breaking:** support restartable sources on shared ledgers

A breaking change above may rebind an existing source's cursor. Before
the first fetch after upgrading, see `docs/guides/profile-upgrades.md`.

##### New features

- cover refunds across approved platform accounts
- prepare beta qualification and captured refund seeds
- instrument every connector with observe/job
- parse RFC 8259 numbers, exponent included, into exact decimals
- add a strict signed decimal parser with an explicit precision policy
- tag trace spans with their profile ID
- declare Ledger built-in indexes across connectors
- assess connector SemVer from PR impact
- exclude requested cost connectors from fleet
- support v3.0.0-beta.4
- support v3.0.0-beta.3
- unify crypto provider category
- unify local connector configuration
- add ordered funding and explicit lifecycle accounting
- fleet enrollment for the sandbox drip, and unblock three connector lanes
- add provider sandbox seeding across connectors
- stop fleet counts from silently going stale
- establish benchmark readiness
- complete rolling connector packages
- give both connectors a light and dark wordmark lockup
- add typed ingestion indicators
- Banking Bridge Connector with Observability
- declare long-running sources unbounded
- add structured connector fault reporting
- harden connector trust boundaries
- classify every connector so a customer can find theirs
- report hopeless failures with a terminal gRPC code
- capture delivery request and response payloads
- capture SourceService payloads
- add gated chunked payload capture
- add source observability diagnostics
- standardize connector logs and trace correlation
- enforce bounded-memory and stateless-connector discipline
- harden the shared HTTP client and migrate every connector onto it
- negotiate skippable ledger reasons
- enforce canonical profile definitions
- \--live one-flag connect that provisions the ledger paused
- bind profile.yaml to the ledger via a cursor hash failsafe
- continuous REST poll backstop after backfill
- coordinate poll/stream/webhook sources
- coerce numscript assets to the ledger grammar centrally
- graceful rate-limit handling via shared retrying HTTP client with per-attempt request signing
- per-attempt request signing and opt-in idempotent retries
- best-effort streams survive fetch failures without losing backfill
- WebSocket order-fill live tail (--stream)
- match transactions in YAML document order
- bounded JSON decode and broader secret redaction
- enforce profiles with strict decode and JSON Schema validation
- Coinbase Prime API connector and modeling

##### Bug fixes

- clarify incompatible cursor binding errors
- fund Coinbase-paid SOL stake activations from Prime
- ignore refreshed receipt links in observation identity
- remove webhook exposure from polling beta
- normalize saved tag annotations and synthetic dates
- honor selected audiences and correct Synthetic copy
- repair history generation and patch security baseline
- halt file sources on S3 credential rejections
- bound accrual polling and retain history checkpoints
- name the fresh-installation path in checkpoint rejections
- restore explicit loggers and cursor deadline assertions
- pace Kraken requests and report partial Unit coverage
- recover SOL finality without observed holds
- record rolling evidence when exact images are reused
- instrument interest-accrual normalization with observe/job
- retain current and prefetched batches for replay
- keep all cut subprocesses headless
- add Nix Zsh prompt and silence release terminal probes
- preserve SOL staking custody and reported costs
- repair failed-case coverage and retain lifecycle evidence
- name the wallet and step when a wallet balance or staking read fails
- explicitly exclude file lanes and Wise
- refuse journal and balance money that is absent or not an integer JSON number
- report a zero-decimal token's balance under its canonical asset (EN-2513)
- refuse a token code the Ledger asset grammar refuses
- show only the origin for a client whose path is a credential (EN-2592)
- keep WebSocket Performance rows distinct when connection names collide
- price the L1 data fee from the calldata a transaction carries
- halt on a provider rejection during the source-binding lookup
- read a log field written right after a quoted value
- report the first invalid map entry in sorted key order
- count a bearer replay's budget expiry during its token or limiter wait
- apply the eth\_getLogs topic filter for every chain
- bound generated volume for every chain
- answer the native-coin proxy's balanceOf from native state
- keep the typed JSON-RPC error when an envelope has no request id
- refuse a password without a username for every chain
- report EURC as the EURC contract's symbol
- guard reversible boundaries on every chain, not only base
- measure the balance snapshot cadence from the durable sweep
- refuse a callTracer result with a tracer error or an unknown frame type
- bound the cursor at 8 KiB, complete value included
- keep serve start faults on the Execute path
- reject stream names that cannot be reported at construction
- stop the redelivery harness failing connectors that work
- restrict Ledger acceptance runner to GitHub Actions
- opt in to byte limits and rewind pending Stripe journal rows
- account for portfolio-paid SOL stake network fees
- make batch metadata guard opt-in
- prevent interactive editors during connector cuts
- retain shell run evidence and exclude snowflake costs
- distinguish semantic accounting from wire estimates
- align fleet schema formats with runtime values
- bound the cursor and batch metadata by Ledger's own ceilings
- scale report amounts with Adyen's exponent, not ISO 4217
- repair scheduled fleet execution
- repair daily Alpaca and Stripe Connect cases
- make scheduled fleet seeding reliable
- harden accounting and acknowledged delivery
- make awscosts payload capture survive a real export, and guard account-address length
- close metadata stack schema and upgrade gaps
- ignore local direnv state
- guard cuts against dirty checkouts
- keep private source links out of catalog
- run terminal jobs after reused checks
- bootstrap new rolling connectors
- parse raw rolling image indexes
- align workspaces with Draft v1
- accept JSON array environment values
- discover schema-declared secret mounts
- align zero-precision assets with Ledger V3
- refuse a cross-origin redirect for a signed request
- fail closed on unresolved provider facts
- bound provider page sizes
- centralize safe payload redaction
- reject ambiguous and lossy monetary inputs
- fail closed at in-flight capacity
- reject millisecond epoch timestamps
- register a fresh source per run, not the connector's fixed name
- bounded graceful stop
- make local reads symlink-safe via os.Root
- guard toMicros against pre-1970 timestamps
- require exact Bearer scheme and warn on tokenless TLS

#### 0.5.0-beta.1, published 2026-10-12

The first beta of the Coinbase Prime connector. It reads one Coinbase Prime
portfolio into Formance Ledger and never moves money on Coinbase Prime.

The accounting profile uses stored Numscript version `1.2.10`.

##### What this beta covers

- **Custody movements.** Deposits, withdrawals, internal transfers, rewards and
  staking movements that carry funds are visible as pending from the moment
  Coinbase Prime reports them. Each settles exactly once, or its pending amount
  is released when Coinbase Prime reports it failed, canceled, rejected,
  expired or retried. A movement first seen already settled reaches the same
  final balances.
- **Trades.** Each order books once when it closes, in the order's own base and
  quote assets, including the filled part of an order canceled or expired before
  it completed. Individual executions are kept as audit records with their side
  and venue.
- **Stablecoin conversions.** The four free 1:1 conversions Coinbase Prime
  documents: USD to and from USDC, and USD to and from PYUSD.
- **Fees.** Trading commissions and on-chain network fees each land in their own
  account instead of being netted into the movement that carried them.
- **SOL staking.** Value moved into a stake account and then delegated stays in
  the original wallet's custody, shown as separate staking and delegated
  components. When Coinbase funds a stake account's activation, that SOL enters
  the wallet's custody rather than being taken from it. The network cost
  Coinbase Prime reports for these steps is recorded with an equal offset, so it
  does not reduce custody.
- **Reported balances.** The amounts, holds and withdrawable funds Coinbase Prime
  reports for every wallet, per-asset portfolio totals and ETH vault staking
  status sit next to the ledger's own balances, ready to compare. The connector
  never computes or posts a difference.
- **Audit trail.** Closed orders that never filled, control events that move no
  money, account activity (wallet, team, security, API and settings changes) and
  approved withdrawal addresses are kept as timestamped events.
- **Optional live order feed.** With `STREAM=true` and the API key's
  `SVC_ACCOUNT_ID`, a completed trade appears sooner. Polling still decides
  completeness, so a missed live event is never a missed trade.

##### Not covered in this beta

- **Cross-portfolio allocations and financing.** The `WITH_ALLOCATIONS` and
  `WITH_FINANCING` settings remain available and off by default, but they are
  outside the supported beta scope: their accounting has not yet been qualified
  against Coinbase Prime data. Leave them off.
- Initiating transfers, withdrawals, orders, conversions or financing operations.
- Open orders. An order appears once it closes.
- More than one portfolio per connector. Connect each portfolio separately.
- Stake-account merges and movements Coinbase Prime labels only as other or
  unknown. When one appears, updates for the portfolio pause until it is
  classified, rather than booking a guess.

##### Configuration

`API_KEY`, `API_SECRET`, `API_PASSPHRASE` and `PORTFOLIO_ID` are required.
`ENTITY_ID` is optional; when set, it must match the entity Coinbase Prime
reports for the portfolio. The connector checks the portfolio and entity before
it reads anything else.

Decide `STREAM`, `WITH_ACTIVITIES`, `WITH_ADDRESS_BOOK`, `WITH_ALLOCATIONS` and
`WITH_FINANCING` before the first run. Saved progress is tied to the portfolio,
the entity, the Coinbase Prime endpoints and these settings. Changing any of
them later is rejected before any Coinbase Prime request and needs a fresh
installation on a separate ledger. Rotating the API credentials of the same
portfolio does not.

`INITIAL_LOOKBACK` (default ten years) sets how far back a new installation
reads. Choose a start older than every movement that is still pending; the full
history Coinbase Prime retains is the safest choice.

##### Upgrading

A compatible update continues from the connector's saved progress. When saved
progress cannot be resumed, the connector stops before any Coinbase Prime
request and says so: install a fresh connection on a separate ledger and keep the
previous installation and its history. An update changes future writes only; it
never rewrites, backfills or renames history already in the ledger.
