Sunday, March 12, 2023
  • Login
  • Register
Islet Crypto
  • Home
  • Crypto News
  • Bitcoin
  • Ethereum
  • BSC
  • Altcoins
  • Defi
  • NFT
  • Mining
  • Metaverse
  • Videos
No Result
View All Result
  • Home
  • Crypto News
  • Bitcoin
  • Ethereum
  • BSC
  • Altcoins
  • Defi
  • NFT
  • Mining
  • Metaverse
  • Videos
No Result
View All Result
Islet Crypto
No Result
View All Result
Home Defi

A new chapter for AMMs: The first fully trustless pools on StarkEx layer 2 are live on rhino.fi

Islet crypto by Islet crypto
August 31, 2022
in Defi
0
A new chapter for AMMs: The first fully trustless pools on StarkEx layer 2 are live on rhino.fi
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


The technical challenges of our AMMs (and how we overcame them)

 

In retrospect, building on StarkEx presented a number of challenges that weren’t evident at the outset of the project.

StarkEx is designed for high-performance trading. By giving up some of the flexibility of a Turing-complete virtual machine (which is available on StarkNet but not StarkEx), we instead gain the potential for higher throughput and lower cost per transaction. 

We determined early on in 2021 that it was indeed technically possible to build AMMs over StarkEx. One of the major benefits of doing so would be to combine the AMM liquidity with existing order-book liquidity, and route users’ orders to get the best price from both sources.

What we underestimated was the level of complexity involved in doing so. 

In total the project took over a year to complete. Time and again we butted the limits of what we could do with StarkEx, requiring multiple upgrades of the smart contracts and proving system to deliver the final result.

The main technical components are as follows:

  • A forked Uniswap V2 solidity smart contract system, upgraded to connect with the StarkEx bridge.
  • A smart contract transpiler to C++, which feeds into rhino.fi’s off-chain matching engine.
  • All the AMM operations (supply liquidity, remove liquidity, and swap) replicated on StarkEx using limit orders.
  • A complicated syncing process between L2 and L1, which ensures that the state of each AMM pool on L1 always matches the pool’s state on StarkEx at the point of proofs being submitted.

The system was audited by Peckshield and heavily tested. The longest period of public mainnet testing lasted six months (yep, six whole months!), with six pools available for trading but with whitelisted liquidity provision, and without the syncing process to L1.

As a result of this long, long period of testing, we have high confidence in the robustness of the solution. 

As always, if rhino.fi were to go offline as an operator of StarkEx, users would be able to exit their funds back to L1 and withdraw from the AMM pools, giving the ultimate guarantee of trustlessness.

 



Source link

Related articles

StellaSwap Partners with ZooDAO – Smart Liquidity Research

StellaSwap Partners with ZooDAO – Smart Liquidity Research

March 8, 2023
Spookyswap integrates with dTWAP – Smart Liquidity Research

Spookyswap integrates with dTWAP – Smart Liquidity Research

March 8, 2023
Share76Tweet47

Related Posts

StellaSwap Partners with ZooDAO – Smart Liquidity Research

StellaSwap Partners with ZooDAO – Smart Liquidity Research

by Islet crypto
March 8, 2023
0

StellaSwap partners with ZooDAO for Asset Launch on Moonbeam’s Pulsar. ZooDAO is the first community-governed platform to enable users to...

Spookyswap integrates with dTWAP – Smart Liquidity Research

Spookyswap integrates with dTWAP – Smart Liquidity Research

by Islet crypto
March 8, 2023
0

Spookyswap integrates with dTWAP powered by Orbs Network. SpookySwap, the largest DEX by TVL on the Fantom blockchain has completed its integration...

BNBChain partners with NULS – Smart Liquidity Research

BNBChain partners with NULS – Smart Liquidity Research

by Islet crypto
March 8, 2023
0

BNBChain partners with NULS and landed on ENULS. In the first episode of “Knowing ENULS”, NULS introduced a method to...

CVL Network partners with Kyber Network

CVL Network partners with Kyber Network

by Islet crypto
March 7, 2023
0

CVL Network partners with Kyber Network to integrate with the Kyberswap platform. KyberSwap is building a world to make DeFi...

RocketX partners with Rango – Smart Liquidity Research

RocketX partners with Rango – Smart Liquidity Research

by Islet crypto
March 7, 2023
0

RocketX partners with Rango Exchange to simplify token swaps. The partnership aims to make token swaps easier. More convenient for...

Load More
  • Trending
  • Comments
  • Latest
Terra Luna Classic (LUNC) Crypto Price Prediction October 2022

Terra Luna Classic (LUNC) Crypto Price Prediction October 2022

October 5, 2022
Top 10 Crypto Ransomware Attacks Took $69M in BTC Payments, Chainalysis Laid Off 5% of Workforce, TeraWulf Starts Public Offering of Common Stock

Top 10 Crypto Ransomware Attacks Took $69M in BTC Payments, Chainalysis Laid Off 5% of Workforce, TeraWulf Starts Public Offering of Common Stock

February 2, 2023
Can the Metaverse exist without blockchain?

Can the Metaverse exist without blockchain?

September 20, 2022
JPMorgan CEO Jamie Dimon Calls Bitcoin ‘Hyped-up Fraud’ — Expects Satoshi Nakamoto to Increase BTC Supply Cap – Featured Bitcoin News

JPMorgan CEO Jamie Dimon Calls Bitcoin ‘Hyped-up Fraud’ — Expects Satoshi Nakamoto to Increase BTC Supply Cap – Featured Bitcoin News

January 21, 2023
Crypto News: ETH Crash, SEC, Do Kwon, Terra, CPI & MORE!

Crypto News: ETH Crash, SEC, Do Kwon, Terra, CPI & MORE!

50
The Crypto Market Just FLIPPED

The Crypto Market Just FLIPPED

50
The Worst Crypto Market Crash is Here

The Worst Crypto Market Crash is Here

50
Crypto Market Latest News Updates BTC ETH XRP MBOX LUNC Price Analysis Prediction

Crypto Market Latest News Updates BTC ETH XRP MBOX LUNC Price Analysis Prediction

50
Revised Bill Suggests Prison Time for Russian Crypto Miners Evading Taxation – Mining Bitcoin News

Revised Bill Suggests Prison Time for Russian Crypto Miners Evading Taxation – Mining Bitcoin News

March 12, 2023
Crypto Funds Confident Of USDC Recovery Amid SVB Contagion

Crypto Funds Confident Of USDC Recovery Amid SVB Contagion

March 12, 2023
Traders Bet on USD Coin Rebound as USDC Falls to 90 Cents

Traders Bet on USD Coin Rebound as USDC Falls to 90 Cents

March 12, 2023
Scott + Scott Consumer Rights Organization Investigates Yuga Labs

Yuga Labs Co-founder Ensures Safety From SVB Chaos

March 12, 2023
Facebook Twitter Instagram

Islet Crypto is a Crypto News and Articles website based in the Caribbean that is dedicated to educating and informing the public on cryptocurrency, Bitcoin and technology.

Categories

  • Altcoins
  • Bitcoin
  • BSC
  • Crypto News
  • Defi
  • Ethereum
  • Metaverse
  • Mining
  • NFT
  • Uncategorized
  • Videos

Site Links

  • Home
  • Contact
  • Privacy Policy
  • Terms of use
  • DMCA

© 2022 All rights reserved.

No Result
View All Result
  • Home
  • Crypto News
  • Bitcoin
  • Ethereum
  • BSC
  • Altcoins
  • Defi
  • NFT
  • Mining
  • Metaverse
  • Videos
  • Login
  • Sign Up

© 2022 All rights reserved.

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.Read More
.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT