I'm sure someone else has explained this, but it is just so cool and I want to explain how this works.

So Curve is awesome for swaps between similar assets, right? The fact that they trade very close to each other is a key part about how Curve works, using it's custom swap invariant function.

That's step 1
Step 2 is that Synthetix is awesome for creating "synthetic assets" (aka synths) which are assets that trade like other assets, that are backed by another, entirely different asset. Basically, a plastic banana that I can buy and sell like a real banana.
Synthetix has a feature that lets you swap between any two synths with zero slippage and a flat fee. That's because it is simply converting the sythentic asset into another synthetic asset, the backing for the synth doesn't change it just uses a different price oracle now.
This is important. Absolutely no slippage, at any size

Swap $1m sUSD for $1m sBTC? flat 0.3% fee

Swap $10m sUSD for $10m sBTC? flat 0.3% fee

swap $100m sUSD for $100m sBTC? Well, there isn't that many synths in Curve, yet but you get the point. The only limit is the pool depth
Okay, so that's awesome. We have two building blocks:
1. Curve lets you swap like-assets with extremely low slippage and a low fee
2. Synthetix lets you convert synths to other synths, with no slippage and a low fee

What happens if we just... combine them?
So here's the flow:
1. I swap my "real asset" (e.g. USDC) for a "synthetic" one (e.g. sUSD)
2. I exchange one synthetic asset for another (e.g. sUSD -> sBTC)
3. I swap my new synthetic asset to a "real" asset again (e.g. wBTC)
"But, that's so much more complicated than swapping on another AMM!"

It is. It's not cheap either, at over 1m gas to execute. And to make matters worse, due to how a Synthetix swap works, you actually have to wait a few minutes between the swap, so it isn't even full atomic!
"It's not fully atomic! Why would I do this???"

The answer is capital efficiency. AMMs with a curve that allows trading assets that are dissimilar are inefficient with larger and larger swaps.

For example, a $10m USDC -> wBTC swap on Uniswap right now has >13% slippage!
Conversely, with this feature, a $10m USDC -> sUSD/sBTC -> wBTC swap has less than 1% slippage (you actually even get a boost right now, due to the balance of sBTC/wBTC pool)

Of course you would pick this option now!
There's lots of limitations to this, and it's really only efficient with large swaps (~$1m or more), but as Curve and Synthetix (and AMMs like Uniswap) grow, the range where this is profitable will change.

But on principle, this will be the best way to perform a high-value swap!
Why is that important?

I think as we have seen, gas fees are just going up and up and up. Optimism soft-launched their L2 today, but Ethereum's success means that block space will always be at a premium.

The gas costs will not be coming down as much as you'd think!
Instead, what we will see happen is that with the increase of cheap transactional capacity on L2, Ethereum will be at *more* of a premium (not less) as it will be used by high-valued settlement transactions and large capital movements (and exchanges, etc.)
So this is my prediction:
This more efficient means of large-value swaps will see a lot of use on base layer Ethereum, as gas prices continue to grow.
Hobbyist/frequent traders will move to Layer 2, where smaller value trades will be economically more efficient.
(Potentially) We will see these two boundaries blur using this building block: a popular, lower-value, high-frequency AMM operating on L2 will settle activity back to Ethereum, with large capital movements settling between these L2s using this new swap primitive.
This is the natural progression of things. The ecosystem will only get more complex as this year moves forward, and navigating from a purely synchronous/atomic environment to newer primitives that play with atomicity and/or asychnronous behaviors is the major DeFi story of 2021
I hope this is helpful to people. This is a really complex new feature from @CurveFinance, but one that unlocks something really awesome, and plays to it's strengths as a high-valued swap engine (and popular yield lego!)

More from Crypto

Out of curiosity I dug into how NFT's actually reference the media you're "buying" and my eyebrows are now orbiting the moon

Short version:

The NFT token you bought either points to a URL on the internet, or an IPFS hash. In most circumstances it references an IPFS gateway on the internet run by the startup you bought the NFT from.

Oh, and that URL is not the media. That URL is a JSON metadata file

Here's an example. This artwork is by Beeple and sold via Nifty:

https://t.co/TlJKH8kAew

The NFT token is for this JSON file hosted directly on Nifty's servers:

https://t.co/GQUaCnObvX


THAT file refers to the actual media you just "bought". Which in this case is hosted via a @cloudinary CDN, served by Nifty's servers again.

So if Nifty goes bust, your token is now worthless. It refers to nothing. This can't be changed.

"But you said some use IPFS!"

Let's look at the $65m Beeple, sold by Christies. Fancy.

https://t.co/1G9nCAdetk

That NFT token refers directly to an IPFS hash (https://t.co/QUdtdgtssH). We can take that IPFS hash and fetch the JSON metadata using a public gateway:

https://t.co/CoML7psBhF

You May Also Like

1

From today, we will memorize the names of 27 Nakshatras in Vedic Jyotish to never forget in life.

I will write 4 names. Repeat them in SAME sequence twice in morning, noon, evening. Each day, revise new names + recall all previously learnt names.

Pls RT if you are in.

2

Today's Nakshatras are:-

1. Ashwini - अश्विनी

2. Bharani - भरणी

3. Krittika - कृत्तिका

4. Rohini - रोहिणी

Ashwini - अश्विनी is the FIRST Nakshatra.

Repeat these names TWICE now, tomorrow morning, noon and evening. Like this tweet if you have revised 8 times as told.

3

Today's Nakshatras are:-

5. Mrigashira - मृगशिरा

6. Ardra - आर्द्रा

7. Punarvasu - पुनर्वसु

8. Pushya - पुष्य

First recall previously learnt Nakshatras twice. Then recite these TWICE now, tomorrow morning, noon & evening in SAME order. Like this tweet only after doing so.

4

Today's Nakshatras are:-

9. Ashlesha - अश्लेषा

10. Magha - मघा

11. Purvaphalguni - पूर्वाफाल्गुनी

12. Uttaraphalguni - उत्तराफाल्गुनी

Purva means that comes before (P se Purva, P se pehele), and Uttara comes later.

Read next tweet too.

5

Purva, Uttara prefixes come in other Nakshatras too. Purva= pehele wala. Remember.

First recall previously learnt 8 Nakshatras twice. Then recite those in Tweet #4 TWICE now, tomorrow morning, noon & evening in SAME order. Like this tweet if you have read Tweets #4 & 5, both.