How OneBalance Powers Chain-Abstracted DeFi with Turnkey: A Secure Session Key Solution

TLDR; If you’re an app developer using Turnkey - contact us to unlock Chain Abstraction with your setup today and read on to learn more about the integration and technology under the hood.

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:

  1. Protect wallet session keys with convenient user-controlled passkeys.
  2. Enable seamless cross-chain transactions within a future-proof modular framework.
  3. Move away from security limitations of conventional client-side key storage solutions.
  4. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. Turnkey obtains, from the user, an authorization to store a session key EOA inside its secure Trusted Execution Environment (TEE).
  2. This key can then be used to sign transactions using the familiar Turnkey authorization methods, like Passkey signature, email, SMS, biometrics.
  3. When the user initiates a transaction, the dApp uses OneBalance APIs to:
      1. Fetch a transaction quote from OneBalance APIs to inform the user what will be the comprehensive cost of executing it.
      2. This quote is received together with an object that is ready to be signed with Turnkey's session key.
      3. App requests Turnkey to sign this object, waiting to get it back after the user authorization.
      4. Once the signed transaction is received from Turnkey, it’s passed back to OneBalance APIs.
      5. OneBalance checks this signed transaction against spending and security rules.
      6. If checks are successful, OneBalance's Credible Commitment Machine (CCM) co-signs this transaction and sends it on-chain.
      7. 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.

Stay up to date about developments, features and integration

No spam, we'll only send you relevant info

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

You may also like:

The First Chain Abstracted Perp DEX with OneBalance and VOOI

VOOI and OneBalance have teamed up usher in a new era of Perp trading. A seamless Chain Abstracted Perp DEX, allowing users to execute leveraged trades over multiple platforms and chains, without ever having to bridge, pay native gas, or know which chain they are trading on.

How OneBalance Powers Chain-Abstracted DeFi with Turnkey: A Secure Session Key Solution

TLDR; If you’re an app developer using Turnkey - contact us to unlock Chain Abstraction with your setup today and read on to learn more about the integration and technology under the hood.

Integrate Privy & OneBalance to Bring Chain Abstraction to any App

Easily integrate OneBalance and Privy together to bring full Chain Abstraction (CA) to any app. OneBalance's toolkit lets teams easily start building next-generation, multi-chain Web3 applications today. Today we make it easier than ever to integrate OneBalance with Privy's onboarding and key management system.