You may also like:
Tackling the Challenge: Secure Session Key Management for Chain Abstraction
OneBalance’s vision for chain abstraction, based on Resource Locks, called for a robust system that handles session keys securely, without compromising the user experience - which is paramount for successful DeFi use cases. We needed a solution that would:
- Protect wallet session keys with convenient user-controlled passkeys.
- Enable seamless cross-chain transactions within a future-proof modular framework.
- Move away from security limitations of conventional client-side key storage solutions.
- Keep the integration process familiar to developers already experienced with smart contract accounts.
The Solution: Turnkey x OneBalance Toolkit
Turnkey’s modular wallet together with OneBalance’s Resource Locks equip DeFi builders with best-in-class user experiences that only Chain Abstraction can offer today. This unique match drastically reduces friction at onboarding and usage phases, leading to reduced acquisition costs and lower abandon rates.
Any dApp already using Turnkey can extend into Chain Abstraction with limited changes in their key management infrastructure. New teams building DeFi with Chain Abstraction can expedite their go-to-market with OneBalance’s modular CA Toolkit, leveraging Turnkey’s industry leading infrastructure to keep customer funds always secure and conveniently accessible.
Key Features of Turnkey’s Integration:
- Modular Session Key Architecture: Turnkey’s support for sub-organizations and wallets is complementary to OneBalance’s requirements of keeping each user key secure in a cross-chain, fast execution scenario.
- Secure Key Management: CA Toolkit leverages session keys stored within Turnkey’s trusted execution environment (TEE), ensuring optimal security with convenience.
- Recovery System: A separate key infrastructure allows user-friendly account recovery without compromising funds safety.
- Seamless Integration: OneBalance’s Credible Commitment Machine (CCM) is seamlessly operated by Turnkey’s session key management, allowing for streamlined transaction validation.
Benefits of This Modular Architecture
- User Experience: Users benefit from a simple and unified wallet balance interface, where all assets are consolidated into a single view and complex network switching is abstracted away.
- Enhanced Security: Turnkey’s TEE-based key storage and dual-signature model keeps the highest standards in wallet security and transaction reliability while significantly improve convenience and ease of use.
- Flexible Cross-Chain Interactions: OneBalance can accomplish token swaps, gas fee abstraction, and cross-chain transactions with just one user confirmation, making DeFi applications frictionless and instantly open for business on any blockchain.
- Familiar Tech Stack: OneBalance’s CA Toolkit is designed to be familiar to Web3 builders, lowering engineering efforts and time-to-market.
How It Works Under the Hood
- Turnkey obtains, from the user, an authorization to store a session key EOA inside its secure Trusted Execution Environment (TEE).
- This key can then be used to sign transactions using the familiar Turnkey authorization methods, like Passkey signature, email, SMS, biometrics.
- When the user initiates a transaction, the dApp uses OneBalance APIs to:
- Fetch a transaction quote from OneBalance APIs to inform the user what will be the comprehensive cost of executing it.
- This quote is received together with an object that is ready to be signed with Turnkey's session key.
- App requests Turnkey to sign this object, waiting to get it back after the user authorization.
- Once the signed transaction is received from Turnkey, it’s passed back to OneBalance APIs.
- OneBalance checks this signed transaction against spending and security rules.
- If checks are successful, OneBalance's Credible Commitment Machine (CCM) co-signs this transaction and sends it on-chain.
- Transaction is executed on the destination chain and OneBalance APIs return a success status to dApp.
Getting Started
We are onboarding our first clients and helping them to unlock the powers of Chain Abstraction in their applications. If you’re an app developer using Turnkey today - contact us to get started with OneBalance.
About OneBalance
OneBalance is reshaping the Web3 experience, allowing users to hold a single, unified balance across all chains and engage with any dApp, seamlessly. Users can combine asset balances, pay gas fees with any token, and perform instant cross-chain swaps, making DeFi more accessible and user-friendly than ever. With OneBalance, it's "One Click, One Integration, One Balance, All Chains."
About Turnkey
Turnkey provides flexible, secure wallet infrastructure, supporting on-chain applications with fast, reliable signing and modular wallet capabilities. Founded by the creators of Coinbase Custody, Turnkey brings a security-first approach, offering solutions that make large-scale wallet management efficient and cost-effective.
FAQs
How is OneBalance using Turnkey?
OneBalance uses Turnkey’s TEE signing capabilities to securely manage user session keys within their chain abstraction framework.
Why was Turnkey chosen for this integration?
Turnkey provides secure key storage that traditional browser storage cannot offer, making it a preferred choice for session key management also within a chain-abstracted framework.
What results has OneBalance achieved?
Turnkey’s solution has enabled OneBalance to provide a modular, secure, chain-abstracted user experience, paving the way for DeFi’s next phase of growth.