> For the complete documentation index, see [llms.txt](https://references.everstrike.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://references.everstrike.io/technical-architecture/off-chain-state-channel.md).

# Off-Chain State Channel

Each Everstrike user maintains a perpetual state channel with the operator. It tracks the user’s balances and positions off-chain.

The state channel can be revoked by either party at any time. It enables Trustless Withdrawal if the operator does not cooperate.

### State receipts

A state receipt is a signed record of the current state channel. It records:

* The receipt nonce.
* Your balance and positions.
* Your signature and the operator’s signature.

You receive a new receipt when an operation changes your balances or positions. This includes orders, trades, funding, deposits, and withdrawals.

### Why the nonce matters

Receipts form a rolling record of your account state. The nonce identifies their order.

For Trustless Withdrawal, use the receipt with the highest nonce. A newer valid receipt invalidates an older withdrawal request.

### Recovery without operator cooperation

Trustless Withdrawal uses your latest state receipt to prove your agreed balance and positions. It is permissionless and censorship-resistant.

{% hint style="warning" %}
Trustless Withdrawal is an emergency option. It has a 24-hour challenge period and significant fees.
{% endhint %}

See [Trustless Withdrawal](/technical-architecture/trustless-withdrawal.md) for the complete process, fees, and safety checks.

For the complete system model, see [Technical Architecture](/technical-architecture/technical-architecture.md).
