Migrating fully to Synthentix L2 OVM (My experience and tips!)

avatar
(Edited)

Screenshot 20210116 08.18.31.png

Anyone who has interacted recently (in the last year...) with the Ethereum blockchain has felt the pain of high ETH gas fees for simple token transactions. When you are interacting with more complex DeFi smart contracts, the fees start to really sting quite a bit unless you are juggling some serious amounts of money! So, for all of the Ethereum protocols that I've used in the past, I've just left the pools and liquidity just sitting and not being updated or touched, no tweaking for best APR or anything. Meanwhile, I've been playing around on the Binance Smart Chain (BSC) as that is much friendlier with the gas fees!

Anyway, my L1 Synthentix has been sitting at around 16000% overcollateralised as the act of rebalancing tends to cost at a minimum around 10-20 USD in ETH gas prices... and it's something that you need to keep up to date unless you feel like being liquidated!

I've not been bothering to collect the weekly staking rewards as the act of claiming is also quite expensive in terms of ETH gas fees and makes it not really worth the effort of remembering! To be honest, I'm not a fan of the weekly reward claim as opposed to a continual claim. It is to ensure a constant interaction with the contract, but I don't think that they ever foresaw that the ETH gas prices would make it so unfeasible.

Screenshot 20210116 09.35.46.png

At the end of last year, Synthetix begin community testing their L2 solution on Ethereum OVM testnet (Optimistic Ethereum) and I had the chance to try it out. I was seriously impressed! The speed and low gas prices in comparison to the L1 mainnet version was just night and day. Speeds measured in millisecond confirmation times, and gas prices that were essentially zero. Of course, these transactions would later have to be written back to the Ethereum mainnet, but they could be batched together resulting in a much better user experience.

So, I was quite excited when last night (just before I went to sleep), I saw on the Synthetix Discord that they had rolled out the L2 OVM on MAINNET! Official Blog post here. This would be a great chance for non-whale participants in the Synthetix protocol to escape to L2 and join the pool there. At the moment, there is no market and trading for the sythetics, and the migration is currently 1-way (you can't get back to L1), but these features are coming in the next month or so!

Still, the staking of SNX is active, which means that you can start immediately claiming your staking rewards for minting sUSD debt.

Screenshot 20210116 08.19.37.png

Participants in the L2 testnet have been airdropped SNX L2 tokens already. I guess there weren't a crazy amount of people who had taken part in the testnet process, as the airdrop was surprisingly generous!

Also, in order to mitigate the pain of high ETH gas prices (more on that in a moment...), the Sythetix team released the 12 month lockup on rewards for holders of less than 1000 SNX in rewards (that is around 15,000 USD). That meant that the SNX was immediately available to be traded for ETH to pay the L1 gas fees.

Screenshot 20210116 08.29.23.png

The act of migration needed quite a number of on chain L1 Ethereum smart contract interactions... I don't think I will ever stop flinching every time I have to sign one of these!

  1. Migrate from older vesting contract on Mintr to new one at https://staking.synthetix.io/l2. This would free up the vesting schedule, to release any existing rewards from the 12 month lock-up. (roughly 7 USD in ETH gas fees)

  2. You need to clear any existing debt on L1 before you can migrate to L2. So, that means that you need to purchase enough sUSD (on Binance with roughly 9.5 sUSD in withdrawal fees, or Uniswap with ETH gas prices...). So, I needed to approve SNX spending on Uniswap in order to swap some SNX for sUSD to be able to zero the existing debt for minting sUSD (staking SNX). (roughly 4 USD in gas fees).

  3. Just a quick note, purchase slightly more sUSD than you need... sure, you won't use it all, but it will be more annoying if the SNX price shifts and you find yourself short and needing to make another transaction!

  4. Burn sUSD to unstake SNX (clear debt) on L1 Synthetix. Again, I would advise that you use the custom burn setting to burn MORE sUSD than you need to. I saw on Discord that some people would have the price shift on them whilst the transaction was in process, and that would mean that they would still have a few cents in debt which would block the migration to L2 AND cost ANOTHER ETH transaction to remedy! (roughly 24 USD in ETH Gas fees)

  5. Approve the SNX spend on https://staking.synthetix.io/l2. This is a new contract and not the Mintr one, so it needs to be approved to spend your SNX.... (roughly 4 USD in gas fees)

  6. Finally, MIGRATE the SNX from L1 Ethereum mainnet to L2 OVM mainnet. (roughly 20 USD in gas fees)

  7. Vest (release) the SNX from the reward schedule on L1 (roughly 6.50 USD in gas fees)

  8. Swap SNX form reward schedule on UNISWAP to ETH to cover all the gas fees and replenish my Metamask balance that I have neglected for a while! (roughly 10 USD in fees)

So, that is quite some ETH that I spent there in terms of gas fees... for a once off migration to L2, it's worth it, but it isn't something that I would want to do too often! The last time I bit the bullet with high fees was for Uniswap pool migration...

Screenshot 20210116 09.42.16.png

Still, it is nice to be on L2... I immediately staked SNX to mint sUSD debt so that I could start claims on the reward pool. Perhaps when the wider Synthetix functions come to L2 in the coming weeks I will play around with those as well as the response and fees are so much lower than the L1 version.

Unfortunately, the L2 protocol interface is the old Mintr UI... a bit garish and clunky... but it works at least! Excited for the future of Synthetix!

Coin Tracking

Looking for a quick and easy way to keep track of your cryptocurrencies? Coin Tracking offers a free service that includes manual tracking or automatic tracking via APIs to exchanges, allowing you to easily track and declare your cryptocurrencies for taxation reports. Coin Tracking can easily prepare tax information sheets that are catered to each countries individual taxation requirements (capital gains, asset taxation, FIFO). Best to declare legally and not be caught out when your crypto moons and you are faced with an unexpected taxation bill (unless you are hyper secure and never attach any crypto with traceable personal information, good luck with that!).

Keep Your Crypto Holdings Safe with Ledger

Ledger is one of the leading providers of hardware wallets with the Ledger Nano S being one of the most popular choices for protecting your crypto currencies. Leaving your holdings on a crypto exchange means that you don’t actually own the digital assets, instead you are given an IOU that may or may not be honoured when you call upon it. Software and web based wallets have their weakness in your own personal online security, with your private keys being vulnerable in transit or whilst being stored upon your computer. Paper wallets are incredibly tiresome and still vulnerable to digital attacks (in transit) and are also open to real world attacks (such as theft/photography).

Supporting a wide range of top tokens and coins, the Ledger hardware wallet ensures that your private keys are secure and not exposed to either real world or digital actors. Finding a happy medium of security and usability, Ledger is the leading company in providing safe and secure access to your tokenised future!

Ledger Nano X - The secure hardware wallet

Ledger Nano S - The secure hardware wallet


Upgoats by ryivhnn
Account banner by jimramones


The classical music community (Subscribe at Steempeak and Peakd) at #classical-music and Discord. Follow our community accounts @classical-music and @classical-radio. Community Logo by ivan.atman



0
0
0.000
16 comments
avatar

pixresteemer_incognito_angel_mini.png
Bang, I did it again... I just rehived your post!
Week 40 of my contest just started...you can now check the winners of the previous week!
6

0
0
0.000
avatar

Unfortunately I missed your posts on snx testnet.
Thank you for sharing this !
I’ll give a try tomorrow, trx fees are around 5usd or even less ?

Posted Using LeoFinance Beta

0
0
0.000
avatar

TRX? No, this is on Ethereum! I'm afraid that there isn't that much on Tron that I find interesting... but BSC does have some interesting things starting up, but the real volume is on Ethereum still.

0
0
0.000
avatar

Sorry I meant transaction fees :D

Posted Using LeoFinance Beta

0
0
0.000
avatar

Ha, sorry! I'm a dufus!

Yeah, perhaps the fees will drop over the next days.. But the median price was around 40-50 gwei whilst I was doing this which isn't too out of the ordinary these days...

0
0
0.000
avatar

Haha no worry.
So I had a look at mintr L2 synthetix but didn't have the chance to use it yet (SNX not in wallet).
And I read that :

"Optimistic Ethereum network fees:$0.00/0 GWEI*
*Fees are temporarily subsidized by Optimism/

If I stake my SNX now, fees are waived ?

Posted Using LeoFinance Beta

0
0
0.000
avatar

Yep, no fees on L2 at the moment. Except that you will need to migrate and that could cost a bit in L1 fees depending on how many of the steps you have already completed.

0
0
0.000
avatar

I never touched the L1, don't ask me why :)

Posted Using LeoFinance Beta

0
0
0.000
avatar
(Edited)

I think you still need to migrate the tokens to OVM.

0
0
0.000
avatar

Alright I was not sure I was lost or not, but now I am for sure ! haha

For a very new user of SNX, without previous staking/minting/burning of whatever.
I go to https://l2.mintr.synthetix.io/ and I can stake and mint there on L2 directly right ?

Posted Using LeoFinance Beta

0
0
0.000
avatar

No, your Snx tokens (I assume you had those already?) are currently on L1 mainnet. They will not appear in L2 as that is a side chain.

You will need to migrate from L1 (https://staking.synthetix.io/L2) which will involve some ETH gas fees (no debt or reward schedule) so it probably is only the migration contract.

That will send your Snx to L2 where you can stake, mint and do whatever on the OVM side chain (L2). One way bridge at the moment and no current use for sUSD that is minted , but they are rolling everything out in stages!

L2 OVM currently only supports Metamask!

0
0
0.000
avatar

Thank yo so much for your patience ! I got it finally :)
I totally overlooked the part of bringing my SNX to the L2 side chain. I thought it was the same chain.

Posted Using LeoFinance Beta

0
0
0.000
avatar

No problem, good luck with the migration and enjoy L2!

0
0
0.000
avatar

This is very helpful, I've been meaning to dive deeper into Synthetix lately.

Would love to see this posted from https://leofinance.io 😉

Posted Using LeoFinance Beta

0
0
0.000
avatar

Thanks, Synthetix is pretty interesting, but the transaction fees on mainnet have been a real hinderance! L2, things should be really good... and this is the first of the major protocols to switch!

I'll try to remember to post from LeoFinance front-end next time! You guys seem to be doing good work!

0
0
0.000