Frequently asked questions
Marlin is a verifiable computing protocol leveraging TEEs to allow complex workloads (like DeFi strategies, automation tasks or AI models) to be deployed over a decentralized cloud. The compute network is also referred to as Oyster. Marlin also runs the Relay network, a permissionless relay network that propagates Ethereum blocks between Ethereum nodes connected to it.
A trusted execution environment (TEE) is a secure area of a main processor. It helps code and data loaded inside it to be isolated from other processes usually at a hardware level in order to provide confidentiality and integrity. Data integrity prevents unauthorized entities from outside the TEE from altering data, while code integrity prevents code in the TEE from being replaced or modified by unauthorized entities, which may also be the computer owner itself.
Oyster is a sub-network of Marlin that specializes in offering TEE-based coprocessors. It is fast, cheap and secure. Users can rent instances individually for any duration they require and are billed for the entire time the instances are rented. Tasks can also be delegated to a pool of nodes in a serverless way, so that users only pay for the actual execution time of their tasks. The code and contracts for Serverless are provided as is and can be deployed by anyone. Instances are run by independent operators and uptime is best effort.
Oyster is very flexible and versatile. Developers can port existing web 2 applications on Oyster, write code in the programming language of their choice and use popular libraries and frameworks. Additional benefits include:
1. Secure: Hardware isolation ensures that programs run correctly as intended without exposing their contents and prohibiting interference from the host machine or its owner.
2. Fast: Oyster nodes are essentially like usual servers. There’s no redundancy in computation, complex protocol logic or cryptography. Thus, apart from a little TEE overhead for encrypted memory access, Oyster nodes are very performant and provide an experience similar to running programs on a normal machine.
3. Cheap: TEEs can be considered commoditized. While a little more expensive than vanilla servers, they are very cheap compared to blockchains, MPC, FHE or ZK proofs. Consequently, TEEs are a very affordable mode to carry out computations verifiably.
| Features | Trusted Execution Environments (TEEs) | Zero-Knowledge Proofs (zk) |
|---|---|---|
| Main Purpose | Secure execution of code in an isolated environment | Prove knowledge without revealing it |
| Performance | Faster as it leverages direct hardware support | Generally slower due to the cryptographic operations required |
| Support for Complex Computations | Better suited for complex computations, given adequate TEE capabilities | Limited, best suited for simpler proofs |
| Development Complexity | Medium, as it often involves utilizing existing hardware features | High, requires expertise in cryptography |
| Trust Model | Hardware-based trust; relies on the manufacturer and design of the TEE | Cryptographic trust; no need for trusted hardware |
| Overhead | Low to medium, depending on the implementation | High, due to complex calculations |
| Portability | Dependent on specific hardware and therefore less portable | Can be implemented in software across different platforms |
| Data Privacy | Yes, data is protected within the TEE | Yes, no data is revealed |
Marlin does not have its own blockchain. The Oyster contracts are deployed on Arbitrum One, and instances are paid for in USDC. The Relay network propagates Ethereum blocks, and its staking contracts are on Arbitrum.
Yes. POND is Marlin's token, and MPond is used to delegate to clusters in the Relay network. Receivers stake POND, delegators delegate POND and MPond to clusters, and cluster operators are rewarded in POND. Oyster does not use POND. Instances are paid for in USDC.
Oyster is a permissionless network. Programmers can contribute to its codebase, developers can build web 3 applications by deploying their backends on Oyster nodes and infrastructure providers can run Oyster nodes.