
Spark
Overview
Status
Mainnet
Type
Statechain
Fee Token
BTC
BTC Supply
Unavailable
Spark is an implementation of the statechain protocol where users interact with a statechain entity to process transfers for offchain representations of UTXOs. Spark's statechain implementation leverages a federation of operators to act as the statechain entity.
CUSTODY
DATA AVAILABILITY
OPERATORS
FINALITY ASSURANCE
Risk Summary
Users trust the statechain entity with key deletion
If the statechain entity does not delete the keyshare it held with the previous owner, they can collude and immediately spend funds. This effectively results in the current owner's funds being stolen.
Previous owner can broadcast their unilateral exit transaction
If the previous owner broadcasts their unilateral exit transaction, the current owner must respond by broadcasting theirs with a faster expiring timelock. If the current owner does not respond, the previous owner can steal funds.
Trust Assumption Review
BTC Custody
Low
✅
Users collaboratively custody funds with the statechain entity
Users custody funds collectively with the statechain entity in a 2-2 multisig. Every Spark vUTXO has a pre-signed unilateral exit path. When funds are transferred, users trust the statechain entity to delete the keyshare it held with the previous owner so it cannot collectively spend funds with past owners.
Learn more about Statechain's custody model→
Data Availability
Low
✅
Data related to current UTXO ownership is held client-side
Transaction data is self-hosted. The statechain entity signs individual transactions and users store data for their keyshare and unilateral exit path client-side. The statechain entity also keeps a record of transfer history.
Network Operators
Very High
🛑
Offchain transfers are co-signed by a federation
Offchain UTXO transfers are co-signed by the user and a federation of operators. Users trust this federation for liveness and ensuring the system remains operational.
Federation is below five, publicly known entities
Spark currently operates with two members in its statechain entity federation: Lightspark and Flashnet. Both are publicly known companies that risk damaging their reputation if they act maliciously.
Finality Guarantees
Very High
🛑
Users trust a federation to delete keyshares held with previous owners
Finality is provided by the statechain entity deleting the keyshare that it held with the previous owner. This implementation's statechain entity is comprised of a federation of signers where a certain threshold is needed to co-sign transfers.
If the entity does not delete the keyshare, then it can collude with a previous owner and double spend the new owner. There is no way to prove that the entity deleted its previous keyshare. Users are unable to have any finality assurances in this set up.
If the entity does not delete the keyshare, then it can collude with a previous owner and double spend the new owner. There is no way to prove that the entity deleted its previous keyshare. Users are unable to have any finality assurances in this set up.
Statechain entity cannot prove key deletion
In statechains, there is no way to cryptographically prove that a statechain entity has deleted a keyshare it held with a previous owner. Users must trust the statechain entity to act honestly. If the statechain does not delete previously held keyshares, then the current owner is not the unilateral owner of the funds, and the statechain entity and a previous owner can double spend them. This effectively means that users do not have provable assurances that they are the only party that can immediatetly spend the UTXO with the statechain entity.
Bitcoin Security
Users rely on Bitcoin network participants for exit transactions
The protocol enables users to unilaterally exit. Users only need to interact with the bitcoin network to exit the protocol.
The protocol does not enable MEV on Bitcoin
Due to transaction sequencing being offchain, the protocol does not enable MEV on the Layer 1.
No alternative token needed for network security
The protocol does not need another token for transaction fees or other use cases.
Unilateral exits contribute to the security budget
Statechains do not interact with the base layer outside of uses unilaterally exiting with their funds. Unilateral exit transactions pay L1 transaction fees.
Technology
Statechains
Statechains are offchain protocols where users custody an L1 UTXO collaboratively with a statechain entity. Users transfer their keyshare for a specific UTXO, offchain, to a new recipient with a decrementing timelock. Every UTXO has a pre-signed unilateral exit path. Statechain entities are expected delete the keyshare it held with previous owners and only interact with the current holder of the UTXO.
If the statechain entity interacts with a previous owner, then they can double spend the current owner. And if a previous owner broadcasts its unilateral exit transaction, then the current owner must broadcast their own to ensure ownership of funds (due to the current owner's timelocks expiring before previous owners).
If the statechain entity interacts with a previous owner, then they can double spend the current owner. And if a previous owner broadcasts its unilateral exit transaction, then the current owner must broadcast their own to ensure ownership of funds (due to the current owner's timelocks expiring before previous owners).
FROST
FROST (Flexible Round-Optimized Schnorr Threshold Signatures) is a protocol that minimizes the number of rounds of communication between participants in Schnorr signature schemes, reducing network bandwidth, time, and probability of errors. It can be used to implement 'n-of-m' threshold signatures represented by a single signature on the blockchain. This saves block space and increases privacy by making them indistinguishable from other, more common spend types.
Virtual UTXOs (vUTXOs)
vUTXOs are offchain representations of UTXOs. They are similar to Bitcon's UTXOs, but entirely held offchain. vUTXOs have unilateral spending paths and can be used to create an onchain UTXO at a later time. As vUTXOs are transferred offchain, users work with a service provider to create updated, pre-signed unilateral spending paths onchain to ensure users can create a new onchain UTXO and claim their funds.
Relative timelocks
Spark leverages relative timelocks to ensure that the current owner can spend their unilateral exit transaction before the previous owner.
Use Cases
Offchain UTXO transfers
Users can transfer virtual representations of UTXOs offchain with the assistance of an operator. These transfers have fast, soft confirmation times and are lower in fees than L1 Bitcoin transactions.
Tokenized applications
The protocol can be used to improve the efficiency of UTXO-based token protocols. Users are able to transfer and trade tokenized UTXOs with faster confirmation times than Bitcoin L1 with trust tradeoffs. Tokenized applications may include stablecoin transfers or token exchange protocols.
Lightning compatible
The network is compatible with the Lightning Network. This means that users can pay lightning invoices from the network with the help of a service provider.
Knowledge Bits