❓What is Labyrinth SDK?
Labyrinth SDK provides APIs in TypeScript and Solidity to enable developers to interact with their users' shielded accounts and/or enable anonymous transactions in their protocols for their users.
The Labyrinth SDK is designed to simplify the integration of privacy and compliance features into blockchain applications. It abstracts the complexities of zero-knowledge proofs (ZKPs) and compliance requirements, making it easier for developers to create secure, private, and compliant dApps. The SDK provides the following key capabilities:
TypeScript API: The TypeScript SDK is a set of APIs available for multiple purposes such as fetching shielded balance & transaction history and creating, signing, or proving a transaction. These functionalities are provided in a way familiar to web3 developers. Developers can design their custom UIs and utilize SDK to imbue privacy features in them.
Solidity Contracts: Solidity contracts are also provided as part of the SDK to allow any integrating protocol to seamlessly allow their users to send anonymous transactions with their shielded wallet.
Compatibility/Modularity: When integrating Labyrinth for anonymous transactions, existing protocols need not worry about changing anything in already deployed contracts via upgradeability, etc., and in-development protocols can only focus on designing their core API as usual. This is because integrating happens via an independent proxy contract that acts as a logic layer of communication between Labyrinth and protocol.
Account Abstraction: The SDK supports and encourages EIP-4337 transactions, allowing users to pay gas fees using ERC-20 tokens as well as allowing developers to sponsor gas for their users. This greatly enhances the user experience as well as privacy.
Multi-Chain Support: The SDK may support multiple blockchain networks, enabling developers to build privacy-preserving applications on various blockchains.
Last updated