The Trust Model
The operator cosigns every spend except an exit. It cosigns a spend only if the spend satisfies the path it uses. A path that needs the owner’s signature can’t be spent without it, whether the output is onchain or virtual. On a path written in Arkade Script, Bitcoin checks only the signatures. The operator runs the script and signs only if it passes. That path relies on the operator running the code that its enclave attests to. With offchain execution, a preconfirmed output also relies on the operator not cosigning a conflicting transaction, until a batch settles it. If the operator is unavailable, censors, or misbehaves, the owner falls back to the exit path, which needs no operator.Exit Path
Every Arkade output keeps an exit path: once a delay passes, its owner’s signature alone spends it. An onchain output is spent through that path directly, in one Bitcoin transaction. A virtual output must first be unrolled onto Bitcoin, which is unilateral exit. In a contract, the exit path belongs to whichever key the author named. Exit shows who that is in each vault shape.Unilateral Exit
Every virtual output comes with presigned Bitcoin transactions that its owner can broadcast without anyone’s cooperation. Broadcasting them unrolls the output onto Bitcoin, where its exit path can be spent. This is the self-custody guarantee of offchain execution. Unilateral exit is the fallback if the operator is unavailable. In normal operation, a user moves a virtual output onchain by offboarding.How Unilateral Exit Works
Virtual outputs sit in a virtual transaction tree rooted in a batch output. To exit, a user:- Broadcasts the transactions on their branch of the tree, from the batch output down to their virtual output. For an output received offchain, for example: batch output → tree transaction → checkpoint transaction → virtual transaction → the user’s virtual output.
- Waits for the exit delay of the virtual output’s exit path.
- Spends the output through the exit path, to an onchain address.
Exit Costs
An exit broadcasts one Bitcoin transaction for each level of the batch tree on the output’s branch, then the checkpoint and virtual transaction of every offchain spend since that batch. One more spends the output through the exit path. Each transaction must confirm, and the user pays its network fee. Offchain transaction chains push virtual outputs deeper. When fees are high, an exit can cost more than a small virtual output holds. Settling periodically keeps the branch short.Security Stack
Three mechanisms constrain the operator.Arkade Signer
Arkade Signer
The Arkade Signer holds the operator’s cosigning key, in a module separate from the rest of the operator. It signs under constraints that anyone can verify.
Verifiable Execution (TEE)
Verifiable Execution (TEE)
The Arkade Signer and the operator’s script engine run inside an AWS Nitro Enclave, a Trusted Execution Environment (TEE) that can attest to the software it runs. The signing keys are generated and kept inside the enclave, where neither the rest of the operator nor whoever deploys it can read them.With open-source software and reproducible builds, anyone can verify that the enclave runs the expected code, which is what a path written in Arkade Script relies on (Nitro Enclaves).
End-to-End Encryption
End-to-End Encryption
Communication between users and the Arkade Signer is designed to support end-to-end encryption (E2EE). Although the operator coordinates, E2EE prevents it from:
- Seeing which transactions are processed
- Blocking individual transactions based on their content
- Analyzing user behavior
Risks and Limitations
Operator Unavailability
If the operator stops cosigning, for example during an outage, no path that needs its signature can be spent, and that includes every path written in Arkade Script. Owners can still fall back to the exit path once its delay passes. For a virtual output, the owner also has to unroll it before its batch expires, since after that the operator can sweep the batch output.Mass Exit Scenarios
A mass exit happens when many users unroll their virtual outputs at once, for example after a long operator outage. Each user keeps control through their presigned transactions, but every unroll competes for block space at the same time. Each transaction in an unroll pays its fee through a child transaction that spends its anchor output, so a user needs some onchain bitcoin to exit. When fees spike, exiting a small virtual output can cost more than it holds.Signer Compromise
A compromised cosigning key is the most critical failure mode. Downtime only affects availability, whereas an attacker holding the key could sign what the operator never would. On a virtual output, that means signing conflicting spends, which breaks the guarantee behind preconfirmation. On a path written in Arkade Script, where Bitcoin checks only signatures, it could mean signing a spend that the script would refuse. A path that also requires the owner’s signature stays protected, because the attacker doesn’t hold that key. Remote attestation failures and conflicting signatures may help reveal a compromise. In that scenario, the operator should stop cosigning, which halts every spend that needs its signature, and users should stop creating new virtual outputs and prepare to exit. The TEE’s hardware isolation is the main defense against the key being taken in the first place.Start Building
Create your first Arkade wallet with the TypeScript SDK.