Skip to main content

Rollux

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.

Rollux Optimistic Rollups#

Syscoin's first Rollux implementation is based upon Optimism Bedrock and utilizes Syscoin PoDA for Layer 1 data availability.

Connect to Rollux Testnet

Gas Cost Samples (rounded)Rollux on Syscoin
Approve spend (ERC-20)0.00007 SYS
Value transfer (ERC-20)0.00025 SYS
Value transfer (native coin)0.00004 SYS

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.

How does Syscoin help rollups work optimally?#

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.

Bitcoin Merge-Mined PoW#

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.

Finality that is Decentralized and Fault Tolerant#

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 blockBlocktimeResilience absent finalityMechanism
Syscoin~12.5 minutes2.5 minutesNakamoto longest chain rulePoW + Quorums
Ethereum~14 minutes (~3 epochs)10 secondsNone. No finality = breaking eventPoS + 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.

Efficient Data Availability at Layer 1 with PoDA#

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.

PoDA documentation


Find out more about how Syscoin provides the most ideal L1 settlement for L2 solutions.

FAQ#

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:

  1. Use a centralized exchange. Use Rollux's guide for further instructions.
  2. 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.
  3. Use the Pegasys DEX on Rollux.

Q."How do I move SYS or TSYS between Syscoin NEVM and Rollux?"
A. Use Rollux Portal, the canonical bridge of Rollux. Refer to instructions.

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.
NEVM: https://tanenbaum.io/tx/0xbdb2618d09e47789f0318900d9cacc904d96369bee2baf44400721ef8b245d8e
PoDA: https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136

Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm: OP_RETURN 207f262f3352669030f480dd881bc6b3fad68abfcffe81d8e98c7f3e88871ed3a4

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: listnevmblobdata, getnevmblobdata
  • syscointx-js

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