We are extremely excited to announce that staking on Synthetix is now live on L2 mainnet, Optimistic Ethereum (OΞ)! This marks a huge next step not only for Synthetix, but the entire Ethereum ecosystem, as OΞ is the first scaling solution with full cross-layer porting capabilities for smart contracts without rewriting them. (Read more about why Optimism’s L2 solution was chosen).
The migration process to OΞ has been designed to protect the core functionality of Synthetix, with multiple phases over several months to ensure the protocol is sufficiently robust by the time both staking and Synth exchanges are both fully live on L2. (Read more about the phased migration process). This first phase of migration was designed for smaller SNX holders who might be priced out of interacting with L1 due to high gas costs.
How to migrate your SNX to L2
This first phase of migrating to OΞ uses a bridge at https://staking.synthetix.io/l2 that allows SNX holders on L1 to migrate to L2. Before migrating, if SNX holders have been participating in SNX staking on L1, they must pay back any staking debt in sUSD they have accrued to unstake their SNX.
Once any debts have been paid by burning sUSD, the SNX can be migrated to L2.
Please note that migrating your escrowed SNX is optional — see the relevant section further below. Once you have migrated your SNX to L2, you can view it on L2 Mintr. There is a time delay of ~5 minutes after migrating until your migrated SNX balance appears on L2, so do not panic if there is a lag until it appears.
The experience of interacting with OΞ on L2 will be similar to interacting with L1. An Ethereum wallet set to the Mainnet network is required, but given that such popular interfaces as Etherscan and Metamask look at L1, activity for interacting with L2 will not be visible in the same way. There is a block explorer available at http://mainnet.l2-explorer.surge.sh/.
Users will not require L2 ETH for the time being as gas fees are initially subsidised by Optimism, but they are required to sign messages that are relayed by the dApp to the Optimism provider.
Migrating escrowed SNX to L2 (optional)
Escrowed SNX can be migrated to OΞ in the new Synthetix Staking dApp, but please note that initially it will not be possible to migrate escrowed SNX back to L1 (this time-frame is expected to be up to a few months). Non-escrowed SNX can be migrated back to L1, but there will be a waiting period of one week.
Before migrating escrowed SNX from L1 to L2, you’ll need to migrate to the new, L2-ready escrow contract. This can be done by following the prompts at https://staking.synthetix.io.
Unfortunately the gas costs for migrating escrowed SNX to the new escrow contract may cost up to 0.5 ETH (subject to variable GWEI requirements). But as per SIP-60 the Synthetix community decided that SNX holders with <1000 SNX in escrow would have their escrowed SNX instantly available for vesting after the escrow migration to reduce the gas costs as much as possible. The aim for this decision was to compensate for the gas costs of migration.
After migrating to L2
After migrating to OΞ, SNX holders can stake their SNX and mint sUSD. Staking will not be launched until next week on the Staking dApp, so initially it must be done through L2 Mintr. Again, please note that there is a time delay of ~5 minutes after migrating until your migrated SNX balance appears on L2.
The synthetixDAO has committed to providing SNX rewards during this phase of L2 migration. It is expected that in the future, the Synthetix community governance process will divert part of the weekly SNX inflationary supply (currently allocated to L1 staking rewards) to L2 rewards. If the rollout runs smoothly, the L2 rewards from the sDAO will be the following:
- Week 1: 10,000 SNX
- Week 2: 10,000 SNX
- Week 3: 25,000 SNX
- Week 4: 25,000 SNX
- Week 5 onwards: the sDAO will assess the option of increasing the SNX rewards to incentivise further migration.
Initially, SNX sent to L2 and sUSD minted on L2 will not be transferable to other L2 wallets for at least a few weeks.
Testnet trial rewards
During Synthetix’s various testnet trials of OΞ, there were SNX rewards allocated to participants. It was initially communicated that to be eligible for rewards, SNX holders needed to do the following:
1) migrate some SNX to L2 testnet,
2) stake the SNX on L2 testnet,
3) claim SNX staking rewards on L2 testnet, and
4) withdraw SNX from L2 testnet back to L1
But as some SNX holders experienced some difficulty completing the withdrawal process, we have decided to amend step 4 to requiring participants to initiate a withdrawal, but they did not need to complete the withdrawal process.
The distribution of rewards has been calculated with the following method:
- A total of 200,000 SNX has been awarded by the synthetixDAO
- The rewards were allocated proportionally based on how much SNX a user claimed as “staking rewards” on L2 testnet.
- An example: if Alice claimed a total of 12 SNX in “staking rewards” on L2 testnet, and there was a total of 1,200 SNX claimed as “staking rewards” by all eligible L2 testnet participants, then she receives 1% of the 200,000 SNX. This would be 2,000 SNX.
The full list of testnet trial reward recipients is available here, and has already been airdropped to those wallets. To understand how much SNX you have received, you can use this ETH converter to paste the “distributedSNX” amount and convert it to the number of SNX units. For example, if the “distributedSNX” amount for a user was 21741826280489551920, then they received 21.741826280489551920 SNX.
As always, if you have any questions about anything featured in this post, please come join the Synthetix community in Discord!
If you’d like more information about OΞ or the team at Optimism, please check out their website or their recent blog post reviewing 2020 and looking ahead to 2021.