How OneBalance powers chain-abstracted DeFi with Turnkey session keys
![](https://cdn.prod.website-files.com/67780ba5efa7ac95a4e79803/67a28a1a8b79baf844553157_OneBalance%20(2).png)
The future of DeFi requires seamless interactions across multiple blockchains, but building modular infrastructure that maintains both security and simplicity presents significant technical challenges. OneBalance is pioneering this future with their chain abstraction framework, demonstrating how modern wallet infrastructure can power sophisticated cross-chain applications while maintaining a simple user experience.
Here's how they did it with Turnkey:
The problem: Building secure session key management for modular chain abstraction
OneBalance's vision for chain abstraction required a sophisticated session key management system that could work within their modular framework. The challenge was twofold: they needed to protect user session keys with user-controlled passkeys while ensuring their chain abstraction layer could seamlessly handle cross-chain transactions. Traditional client-side browser storage solutions lacked the security guarantees needed for this architecture.
The solution: Turnkey's WaaS platform as a modular session key provider
OneBalance integrated Turnkey's wallet infrastructure as a core component of their modular chain abstraction framework. This implementation showcases how Turnkey's session key infrastructure can power sophisticated cross-chain applications:
- Modular session key architecture: Turnkey serves as a dedicated session key provider within OneBalance's framework, managing sub-organizations and wallets for each user
- Secure key management: Session keys are protected within Turnkey's trusted execution environment (TEE)
- Recovery system: A separate recovery key infrastructure enables account recovery without compromising security
- Framework integration: Turnkey's session key management seamlessly interfaces with OneBalance's Credible Commitment Machine (CCM)
The technical implementation demonstrates the power of modular wallet infrastructure:
- Users interact with OneBalance's unified interface, abstracting away chain complexity
- Their session key (secured by Turnkey) signs each UserOp
- OneBalance's CCM validates operations against internal rules
- The CCM applies its co-signer signature to complete the dual-signature requirement
- Transactions execute across relevant chains through the abstraction layer
OneBalance’s results
- Successfully deployed a modular chain abstraction framework using Turnkey as a core session key provider
- Created a chain-free user experience that showcases the potential of modular web3 infrastructure
- Enabled users to interact with any dApp on any chain through a unified balance system
About OneBalance
OneBalance is evolving the web3 experience, allowing users to hold a single balance across all chains and interact with any dApp, on any chain, seamlessly. With OneBalance, users can combine token balances from multiple chains, pay gas fees using any token, and perform cross-chain swaps and transactions in an instant. We're eliminating the complexities of chains, gas fees, and bridges, simplifying the future of DeFi. One Click, One Integration, One Balance, All Chains. Join us as we build a Chain-Free Web3.
About Turnkey
Turnkey is secure, flexible, and scalable wallet infrastructure offering low-level primitives for teams building onchain applications and infrastructure. Founded by the team that built Coinbase Custody, Turnkey is powering serious applications across a wide range of use cases, from wallets-as-service to programmatic backend crypto automation. By leveraging a novel security framework, Turnkey achieves 50-100ms signing latency for millions of wallets, all with affordable transaction-based pricing that's designed for scale.