Rollux is a suite of rollup-based Layer 2 solutions designed to enable EVM users with near-instant low-cost transfers, executions, and contract deployments. Rollux utilizes Syscoin's Layer 1 for best-of-breed secure decentralized settlement and Syscoin PoDA for Layer 1 data availability, offering more efficiency, lower costs and higher throughput than other L1 DA alternatives. Rollups just work better on Syscoin. The reasons why are available in "Revealing the Method in the Madness".
As a suite, Rollux is set to encompass both Optimistic and ZK (zero-knowledge) based approaches, enabling users and projects to choose a network or solution that fits them best. Where appropriate and as tech evolves, Syscoin can hybridize between these in the future.
Check out The Ultimate Guide to Rollups for a technical overview of rollups and the differences between Optimistic and ZK rollups.
Syscoin's first Rollux implementation is based upon Optimism Bedrock and utilizes Syscoin PoDA for Layer 1 data availability.
|Gas Cost Samples (rounded)
|Rollux on Syscoin
|Approve spend (ERC-20)
|Value transfer (ERC-20)
|Value transfer (native coin)
The cost of securing L2 activity with L1 is incredibly low with Rollux on Syscoin, to the tune of less than 1 US cent per hour. In contrast, Optimism pays around 1 ETH per hour on Ethereum to provide their users with L1 security.
Rollups are the first technology to viably help scale EVM computation to massive user demand. Rollups are also key to achieving a near-optimal scenario in the blockchain trilemma. Syscoin asserts such a near-optimal scenario can only be achieved by supporting rollups with a holistically modular Layer 1 that offers proven security and decentralization.
Syscoin is designed holistically with this in mind. All near-instant activity on Rollux inherits the full security of Syscoin’s L1 in the background, including finality.
Here are some ways Syscoin shines for rollups.
Syscoin is merge-mined by Bitcoin's own network of miners and inherits a significant portion of Bitcoin's hashrate (recently 20-30%) without imposing additional energy costs on miners and while incentivizing them with SYS. Syscoin asserts that Layer 1 security is fulfilled better by PoW than PoS for multiple reasons.
- Resilient to quantum stealth attacks
- Consensus resilient to more black swan risks (fiat hyper-inflation, internet censorship)
- Decentralized finality achievable without fault concerns
- Better survivability against irrationality
However, Syscoin does not mirror Bitcoin's economics and consensus rules. Syscoin's economy is utility-focused and based upon EIP-1559. We source Bitcoin’s network for the hardness it provides.
Syscoin’s finality is sourced from a multi-quorum consisting of 4 groups of 400 Sentry Nodes (1,600) which are randomly selected among the entirety of the network (currently ~2,700 MNs). Each quorum is reformed every few hours. 3 out of 4 quorums must agree on a block in order to establish a chainlock (finality).
This mechanism provides a high probability of finality. In the rare event that finality cannot be achieved on a block, the network falls back to the longest chain rule of Nakamoto consensus - a seamless and non-breaking event.
|Time to finality after block
|Resilience absent finality
|Nakamoto longest chain rule
|PoW + Quorums
|~14 minutes (~3 epochs)
|None. No finality = breaking event
|PoS + Casper
Every five blocks (total of 12.5 minutes based on average blocktime), a chainlock checkpoints the chain.
Syscoin’s finality provides effective resistance to 51%, malicious long-range MEV, and selfish mining attacks, while retaining PoW as the underlying consensus mechanism. Attackers must accomplish two expensive and challenging tasks to achieve a successful 51% attack: 1) Control greater than 50% of Bitcoin's hash power supplied to Syscoin, plus 2) Control a super-majority of Syscoin Sentry Nodes.
Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users’ ability to exit to L1. Syscoin’s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin’s PoDA differs from Ethereum’s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum’s work-in-progress data availability solution, Proto-Danksharding.
PoDA’s advantages can be summarized as:
- Cheaper transactions
- No data sharding required
- Greater data throughput with efficient Keccak data blobs
- Secured by Bitcoin’s own PoW plus Syscoin's finality
- More resilient to network-based outages/censorship
- Simpler data fee market based on Syscoin’s UTXO fee market
- Nakamoto Assumption: Only one honest node is needed to guarantee data
PoDA’s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin’s L1 network by reposting the data every 6 hours.
Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security. However, in the case of Syscoin PoDA, Layer 1 data security is quite affordable and PoDA nodes can store raw data offchain if they wish while still gaining the security of onchain state and proving.
Find out more about how Syscoin provides the most ideal L1 settlement for L2 solutions.
Q. "How do I connect to Rollux?" or "How do I start using Rollux?"
A. Refer to the Rollux guide for getting started.
Q."Does Syscoin Rollux require a separate gas token?"
A. No. It uses the native coin of Syscoin for gas - SYS, or TSYS in the case of testnet.
Q."How can I get some SYS on Rollux?"
A. There are a few ways:
- Use a centralized exchange. Use Rollux's guide for further instructions.
- To get a small amount of SYS to cover a gas fee, you can use a Rollux SYS faucet. This is helpful if you wish to get SYS from the Pegasys DEX, as some SYS is required to cover the tiny network fee for swapping.
- Use the Pegasys DEX on Rollux.
Q.“What is the blocktime of the Rollux optimistic rollup?”
A. 2 seconds
Q. “At what frequency does the L2 settle bundled transactions on L1? What is the threshold that triggers settlement?”
A. The timing of settlement depends on the volume of network activity.
Either of the following conditions can trigger settlement to L1:
- The data footprint of the batch of transactions on L2 amounts to at least 2MB
- At least 24 new blocks have been created on the L1 since the last L2 settlement
More activity on the rollup brings faster settlement, to a max rate of once every L1 block.
Q. "How do I set up a Rollux P2P replica node?"
A. Refer to our replica node setup guide.
Q. "What RPC/WSS Methods/Subscriptions are available?
A. Refer to our RPC documentation.
Q. Can you provide sample transactions of Rollux settling a batch on Syscoin NEVM and using PoDA on Syscoin Native (UTXO), and further info?
A. Yes. These are testnet transactions.
Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm:
Q. How can I see/retrieve the full raw data blobs the L1 receives from the L2?
A. The hash of the raw data blob is always stored on-chain for the purpose of proving data integrity, as seen above in OP_RETURN. As for the full raw data blobs, they are available within the native chain’s mempool for a period of six hours before being pruned. During this window of time, archiving services can access and store the raw data. The data can be retrieved a couple of ways:
- Syscoin Core RPCs:
Q. Are there any established processes for archiving Rollux raw data committed to PoDA?
A. Yes. Syscoin Sentinel provides a PoDA client and server that enables a Cloudflare R2 archive process to be activated relatively easily. This means any Syscoin Core node can provide data archive service that rollup solutions like Rollux can use. Refer to: https://github.com/syscoin/sentinel/blob/master/README.md