Earn 5.87% APY staking with Solana Compass + help grow Solana's ecosystem

Stake natively or with our LST compassSOL to earn a market leading APY

Conference Talk Accelerate 25

Scale or Die at Accelerate 2025: SWIG Smart Wallet: Engineering for Efficiency

SWIG: Next-gen Solana smart wallet for programmable money movements, subaccounts, and fine-grained permissions

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!

Anagram, a crypto holding company, has unveiled SWIG - a groundbreaking smart wallet solution for Solana that promises to revolutionize how we interact with decentralized finance. With its innovative approach to programmable money movements and highly efficient design, SWIG is set to transform the landscape of crypto wallets and empower developers to create more sophisticated DeFi applications.

Summary

SWIG, developed by Anagram, represents the next evolution of crypto wallets on Solana. It moves beyond traditional externally owned accounts (EOAs) to offer a highly programmable and efficient smart wallet solution. SWIG leverages Solana's account-based architecture and high-speed, low-cost transactions to enable complex, programmable money movements.

Key features of SWIG include role-based permission systems, subaccounts, multiple authentication methods, and extremely efficient operation. The wallet introduces only minimal computational overhead, with just 1,300 compute units (CUs) for a Solana transfer and 2,500 CUs for an SPL token transfer.

SWIG's fine-grained permission system allows for unprecedented control over wallet interactions. Users can set specific permissions for different roles, limit interactions to certain DeFi protocols, and even use Ethereum keys for authentication. This flexibility opens up new possibilities for AI teams, custodians, and developers looking to create more sophisticated DeFi applications.

Anagram has open-sourced SWIG, providing developers with TypeScript examples, an SDK, and helpful resources to start building with this new technology. The team is already collaborating with various projects, including embedded wallet providers, custodians, large exchanges, and AI swarms, showcasing the wide-ranging potential of SWIG in the Solana ecosystem.

Key Points:

Next-Generation Smart Wallet

SWIG represents a significant leap forward in wallet technology for Solana. Unlike traditional EOAs that require users to manage seed phrases or private keys, SWIG offers a programmable solution that abstracts away much of the complexity. This smart wallet approach allows for more sophisticated money movements and interactions with DeFi protocols, opening up new possibilities for developers and users alike.

The wallet's design takes full advantage of Solana's unique features, including its account-based architecture and high-speed, low-cost transactions. This makes SWIG particularly well-suited for applications that require frequent or complex on-chain actions, such as automated portfolio rebalancing or AI-driven trading strategies.

Fine-Grained Permission System

At the core of SWIG's functionality is its highly flexible permission system. This allows wallet owners to define specific roles and authorities, each with its own set of permissions and limitations. For example, a wallet could have an owner role with full access, a manager role with limited spending abilities, and a session key for frequent, low-risk transactions.

This granular control extends to the types of actions each role can perform. Permissions can be set to limit interactions to specific DeFi protocols, token types, or even particular on-chain actions like staking. This level of control is particularly valuable for institutional users, AI systems, or any application where risk management and operational security are paramount.

Subaccounts and Programmable Control

SWIG introduces the concept of subaccounts within a single wallet structure. This feature is particularly useful for payment providers or portfolio management applications, allowing them to create separate "accounts" for different purposes without the need to manage multiple wallets.

The wallet also offers programmable control options, including the ability to use Ethereum keys for authentication. This cross-chain compatibility makes it easier for projects built on Ethereum to transition their user base to Solana, potentially accelerating adoption of the Solana ecosystem.

Efficiency and Low Overhead

One of SWIG's most impressive features is its efficiency. By leveraging Solana's "zero-copy" functionality and employing careful optimization techniques, the SWIG team has managed to keep the computational overhead extremely low. A standard Solana transfer using SWIG adds only 1,300 compute units to the transaction, while an SPL token transfer adds 2,500 CUs.

This efficiency is crucial for maintaining Solana's high performance and low transaction costs, even as more complex wallet interactions become commonplace. It ensures that the benefits of smart wallet functionality don't come at the cost of network efficiency or user experience.

Open Source and Developer-Friendly

Anagram has made SWIG open source, providing developers with a wealth of resources to start building with this new technology. This includes TypeScript examples, an SDK, and various code samples developed in collaboration with partners. By open-sourcing SWIG, Anagram aims to foster innovation and encourage widespread adoption of this new wallet standard within the Solana ecosystem.

Facts + Figures

  • SWIG adds only 1,300 compute units (CUs) overhead for a Solana transfer
  • SPL token transfers using SWIG have an overhead of about 2,500 CUs
  • SWIG allows for multiple authorities within a single wallet, each assigned different roles
  • The wallet supports fine-grained permissions, including token allowlists and action-specific controls
  • SWIG enables authentication with both Solana and Ethereum keys
  • The wallet supports the creation of subaccounts within a single SWIG instance
  • Anagram has open-sourced SWIG, including TypeScript examples and an SDK
  • SWIG is already being developed with embedded wallet providers, custodians, large exchanges, and AI projects
  • The project leverages Solana's account-based architecture and high transaction speed
  • SWIG enables programmable money movements, subscription payments, and time-based authorizations

Top quotes

  1. "Wallets as we all know, you know, really start with the basics of an EOA... But more and more we've seen, you know, these wallet apps that make it easier and easier to kind of abstract some of these more complex interactions and make it easier to operate on chain."
  1. "Today we're really trying to focus on the next evolution of wallets, which is smart wallets. Making it really really easy for programmable money movements."
  1. "We want to make sure that we're not making these transactions significantly more expensive just by introducing smart wallets."
  1. "What's really core to kind of the heart of SWIG is this fine-grained permission system."
  1. "We try to abstract as much the complexity away of using SWIG as possible so you can just focus on creating better user experiences for your users."

Questions Answered

What is SWIG?

SWIG is a next-generation smart wallet solution developed by Anagram for the Solana blockchain. It goes beyond traditional externally owned accounts (EOAs) to offer programmable money movements, fine-grained permissions, and subaccounts. SWIG is designed to make it easier for developers to create sophisticated DeFi applications while maintaining high efficiency and low computational overhead.

How does SWIG improve upon traditional crypto wallets?

SWIG improves upon traditional crypto wallets by offering programmable control, role-based permissions, and subaccounts. Unlike standard wallets where users manage a single private key, SWIG allows for multiple authorities with different roles and permissions. It also supports various authentication methods and enables complex, automated transactions that were previously difficult or impossible with standard EOAs.

What makes SWIG particularly suitable for Solana?

SWIG is tailored for Solana's unique features, including its account-based architecture and high-speed, low-cost transactions. The wallet takes advantage of Solana's "zero-copy" functionality to minimize computational overhead, adding only 1,300 compute units for a standard Solana transfer. This efficiency allows SWIG to enable complex wallet functionality without compromising Solana's performance advantages.

How does SWIG's permission system work?

SWIG's permission system allows wallet owners to define specific roles and authorities, each with its own set of permissions and limitations. These can include restrictions on which DeFi protocols can be interacted with, which tokens can be transferred, and what types of actions (like staking or trading) are allowed. This granular control enables sophisticated risk management and operational security for various use cases.

Can SWIG work with other blockchains besides Solana?

While SWIG is built for Solana, it does offer some cross-chain compatibility features. Notably, it supports authentication using Ethereum keys, making it easier for Ethereum-based projects to transition their users to Solana. However, the core functionality of SWIG is designed to leverage Solana's unique capabilities.

How can developers start using SWIG?

Anagram has open-sourced SWIG, providing developers with various resources to start building with the technology. These include TypeScript examples, an SDK, and code samples developed in collaboration with partners. Developers can access these resources and learn more about SWIG at onswig.com.

What kinds of new applications does SWIG enable?

SWIG enables a wide range of new applications in the DeFi space. These include subscription payment systems, programmable hot wallets with customizable limits, AI-driven trading systems with fine-grained permissions, and simplified multi-account management for exchanges or payment providers. The flexibility of SWIG's permission system also makes it valuable for institutional users requiring robust security measures.

How does SWIG maintain efficiency while offering advanced features?

SWIG maintains efficiency through careful optimization and by leveraging Solana's "zero-copy" functionality. The team behind SWIG has focused on minimizing computational overhead, resulting in very low additional compute units for transactions (1,300 CUs for a Solana transfer, 2,500 CUs for an SPL transfer). This ensures that the advanced features of SWIG don't come at the cost of increased transaction fees or reduced network performance.



Comments

Please login to leave a comment.

Related Content

Swig: The Future of Smart Wallets on Solana

SWIG smart accounts bring seedless Web2 login simplicity to Solana with powerful on-chain policy engines - now live with Glider and ABCHI partnerships

Product Keynote: Glider (Brian Huang)

Glider, backed by A16Z and Coinbase, launches on Solana with automatic rebalancing, yield optimization, and liquidation protectionβ€”all without gas or manual signing

Privy CEO: Why Did Stripe Acquire Privy?

Privy CEO Henri Stern explains why Stripe acquired the wallet infrastructure company, discusses crypto payment rails, agentic payments, and shares insights on Solana's unique position in the multi-chain future.

Product Keynote: Glider (Brian Huang)

A16Z-backed Glider announces Solana launch, offering automated DeFi investing with no gas fees, no signing, and non-custodial portfolio management across EVM and SVM.

Turning BTC into a Programmable Asset on Solana w/ Justin Wang (Zeus Network)

Discover how Zeus Network is revolutionizing cross-chain interoperability by enabling Bitcoin and other UTXO chains to become programmable on Solana's high-speed blockchain.

The Case for Permanent Capital Vehicles: Anagram

Discover why Anagram believes permanent capital vehicles outperform traditional fund structures in crypto, and how their approach runs Solana's most performant validator.

Solana Changelog May 23 - Lite RPC, Programmable Smart Wallets, and Idle Games

Explore the latest Solana updates including Lite RPC for efficient transactions, programmable smart wallets, and exciting developments in game creation on the blockchain.

Jump Crypto: How To Improve Solana?

Jump Crypto's Michael McGee reveals where Solana's biggest performance wins are hiding, how Firedancer achieves hundreds of thousands of TPS, and why most blockchain problems are just bugs waiting to be fixed.

Solana Changelog May 23 - Lite RPC, Programmable Smart Wallets, and Idle Games

Explore Solana's cutting-edge developments in Lite RPC, programmable smart wallets, and idle game creation. Learn how these advancements are shaping the future of blockchain technology.

Powering Solana's Onchain Economy | Garrett Harper & Stepan Simkin

Discover how Squads Protocol is transforming Solana's ecosystem with innovative smart account solutions, enhancing security and user experience for both enterprises and consumers.

Keynote: Anchorage Digital - Visual Sign Framework for Transparent Blockchain Transactions

Anchorage Digital's Visual Sign framework aims to solve crypto's visualization problem, enabling users to understand exactly what they're signing before executing transactions.

Tiplink: Using Link-Based Wallets To Onboard A Billion People | Greg Gotsis (Tiplink)

Discover how Tiplink is revolutionizing crypto adoption with its innovative link-based wallets and Google login integration, making Solana more accessible than ever.

Solana Changelog - January 31, 2023 - Geyser Improvements, Program-Test, and Bokken

Explore the latest Solana developments including a proposed fee market for storage, Geyser improvements, and the game-changing Bokken debugger for Solana programs.

Validated | Why Multisigs Are Becoming the Default Security Paradigm w/ Stepan Simkin (Squads)

Discover how multisigs are revolutionizing crypto security on Solana. Learn about Squads Protocol, formal verification, and the challenges of monetizing public goods in blockchain.

The Restaking Thesis w/ Sreeram Kannan (Eigen Labs)

Dive into the world of restaking with Sreeram Kannan from Eigen Labs as he discusses EigenLayer's vision, the future of blockchain security, and how it compares to existing solutions.

Solana tokens

Solana Token Markets

Explore all tokens β†’