Eliminating Single Points of Failure in dApps with Marlin’s Oyster

Did you know that your favorite decentralized app (dApp) is most likely hosted by a centralized server? This means a single, centralized, point of failure, which can pose a risk to their reliability and security. However, not all dApps that use centralized servers are inherently flawed or insecure. Yet, the reliance on centralized infrastructure can increase the risk of downtime, hacking, or censorship. Therefore, many developers are working on building truly decentralized dApps that don’t require any centralized servers or intermediaries, and Oyster offers this solution. 

Oyster provides serverless backends for Web 3. Allowing DAOs to maintain servers using smart contracts. It means that instead of having to open accounts with cloud providers, DAOs can leverage third-party resources offered on a decentralized marketplace. Hardware operators get instructions through smart contracts to start or stop instances and run desired programs in them. To prevent manipulation, Trusted Execution Environments or TEEs were introduced. TEEs provide hardware-level isolation and memory encryption to isolate application code and data from anyone with privileges. Several usecases of Oyster are stated below. 

Examples of Oyster’s Use Cases 
Hosting frontends and RPC or IPFS gateways
Flashbots relay
Trustless, secure oracle for price feeds
DEX or lending protocol with MEV or liquidation
Outsourcing generation of ZK proofs


Process

In the Marlin Oyster platform, nodes operate a control plane that provides information on the available instances and regions where enclaves can be hosted, along with pricing data. A control plane is essentially a set of APIs that allow nodes to manage enclaves and other resources. It’s responsible for answering queries on the kind of instances and regions where it can host enclaves, as well as pricing data. Additionally, it monitors the smart contract-based marketplace for events telling it to deploy enclaves.

Developers and DAOs create an enclave-based image of their application and upload it to a publicly accessible link. An enclave is a secure, isolated execution environment created by a TEE such as Intel SGX or AWS Nitro Enclaves. It ensures that operations outsourced to third parties execute just as they are supposed to without being tampered with. A key pair generated inside the enclave ensures that communication in and out of the enclave is fully encrypted and inaccessible to benign snoopers or malicious attackers.

To deploy the application, developers and DAOs query the control planes of different nodes for pricing and availability of instances. Once a suitable node is identified, the developer or DAO creates a job in the marketplace. A job is essentially a request for the node to spin up an enclave to host the developer’s application. The job specifies the chosen validator’s ID, instance type, region, bid, and the link to the enclave image. A deposit is also added to pay the node for hosting the enclave.

The control plane of the chosen node then checks whether the bid is greater than its asking price and spins up an enclave in the appropriate instance and region using the disclosed image. Once the enclave is created, users can interact with the service hosted in the enclave until the deposits are depleted or a stop instruction is issued by the job deployer.

Marlin’s Oyster

In conclusion, Oyster’s serverless backends offer a promising solution to the single point of failure issue that plagues many decentralized applications. By leveraging third-party resources on a decentralized marketplace and utilizing Trusted Execution Environments, Oyster provides a secure and reliable infrastructure for developers and DAOs to host their applications.


To read more on Oyster see:

www.marlin.org

www.twitter.com/MarlinProtocol 

Notice: Information contained herein is not and should not be construed as an offer, solicitation, or recommendation to buy or sell securities. The information has been obtained from sources we believe to be reliable; however, no guarantee is made or implied with respect to its accuracy, timeliness, or completeness. Authors may own the cryptocurrency they discuss. The information and content are subject to change without notice. Visionary Financial and its affiliates do not provide investment, tax, legal, or accounting advice.

This material has been prepared for informational purposes only and is the opinion of the author, and is not intended to provide, and should not be relied on for, investment, tax, legal, accounting advice. You should consult your own investment, tax, legal, and accounting advisors before engaging in any transaction. All content published by Visionary Financial is not an endorsement whatsoever. Visionary Financial was compensated to submit this sponsored article. Please also visit our Privacy policy; disclaimer; and terms and conditions page for further information.

You May Also Like
WEWE

Cryptocurrency World with WEWE – All You Need to Know

WEWE Global is a decentralized autonomous organization (DAO) that offers third-party products…
Nhash has emerged as one of the top cloud mining platforms

Earn Bitcoins Per Day By Mining

Sign up and get a free $30 coupon and a $5 bonus…
Altcoins like DhabiCoin (DBC), Cardano (ADA), and Axie Infinity (AXS) heat up the market.

Altcoins like DhabiCoin (DBC), Cardano (ADA), and Axie Infinity (AXS) heat up the market.

The swing of BTC has marked the last two weeks of the…
BSOV Token

The BSOV Community – Spreading Non-Violence And Long Term Growth

For the past few weeks we have been looking closely at BSOV,…

Token Talk Becomes A Top Crypto News Aggregator & Social Platform

In a world where crypto-blockchain trends are emerging, it’s very crucial for…
Dubai and Beyond How Creed & Bear is Expanding Its Reach in the MENA Region

Dubai and Beyond How Creed & Bear is Expanding Its Reach in the MENA Region

As the digital asset landscape continues to evolve, traditional asset management systems…
Mint LFi Tokens

Mint LFi Tokens In Three Easy Ways

LFi Minting is similar to the typical process to mint tokens, which…
Benefits of Playing Live Baccarat with Ethereum

Benefits of Playing Live Baccarat with Ethereum

Benefits of Cryptocurrency Live Baccarat In recent times, blockchain technology has become…
PrimeXBT Lead Analyst Kim Chua: XRP To Miss The Bull Run Due To SEC Lawsuit But It Is Down, But Not Out

PrimeXBT Lead Analyst Kim Chua: XRP To Miss The Bull Run Due To SEC Lawsuit But It Is Down, But Not Out

The past week has been agonizing for XRP believers, as the price…

Visionary Financial Interviews Matic Network At Genesis Devcon, Talks Scaling & Future of Dapps

Despite the distressing crypto ecosystem in India, the community often witnesses several…