Skip to main content

· 3 min read

Automating token actions should be simple, safe, and secure. With the new Safe Allowance Module, we’re excited to offer a permission-based system that enables controlled access to tokens, making it easier to set up secure automation. Whether you’re handling recurring payments, subscriptions, or specific smart contract actions, this module provides a foundation for secure and permissioned transactions.

Why Choose the Safe Allowance Module?

Traditional systems for sharing account access often involve broad permissions, granting more access than necessary for simple tasks. The Safe Allowance Module changes this by using a permission-based approach. It allows account owners to set up specific, controlled permissions for delegates, such as individual accounts or automated services, enabling them to handle predefined transactions securely. This module doesn’t automate transactions on its own but provides a safe framework where authorized automation services can operate as delegates, precisely according to the owner's permissions.

Key Features:

  • Controlled Permissions: Account owners decide who can access funds, which tokens they’re allowed to use, and under what conditions. No surprises—just clear, permissioned access.
  • Customizable Setup: Owners can establish permissions that fit their needs, from one-time transactions to recurring. It’s a streamlined approach to token automation.

Real-World Use Cases of the Safe Allowance Module

Recurring Transfers

For recurring transfers—such as stipends, or scheduled payments—the Safe Allowance Module allows users to define permissions for a delegate, who then handle the regular transactions. Once permissions are set, automation services can operate securely, automating processes without needing repeated approvals.

Subscription

Automating monthly subscription becomes seamless. Users can authorize automation services to make secure, consistent payments every cycle, ensuring funds are transferred reliably and securely.

Investment with Dollar-Cost Averaging (DCA)

For users managing investments through dollar-cost averaging, the Safe Allowance Module enables secure permissions for regular buys. By defining token allowance and schedule, users can allow automation services to handle scheduled buys safely.

Custom Contract Delegations

The module’s flexible permission system empowers developers to design tailored settings for specific use cases. Examples include automated debt repayment for lending platforms like AAVE, or any other custom smart contract operations.

Getting Started

Safe Allowance in AbstractionKit

Safe Allowance is integrated in AbstractionKit, simplifying the setup of permission-based token transfers within Safe Smart Accounts. AbstractionKit’s intuitive interface allows developers to configure delegate permissions effortlessly, unlocking secure automation with ease.

Visit the documentation page to access step-by-step setup guides, code examples, and best practices for integrating the Safe Allowance Module.

Candide Automation with Safe Allowance

Candide Automation is a new service that works seamlessly with the Safe Allowance Module, allowing developers to set up triggers that execute predefined actions within user-approved permissions. It integrates well with ERC-4337 transaction infrastructure, providing a straightforward, trust-minimized solution for account automation.

Coming Soon: Candide Automation will be self-served on the Dashboard. For early access, contact the team via Discord or at team@candidelabs.com for a same-day response.

· 3 min read

abstractionkit_poster

We have released a new version of AbstractionKit, now equipped with new features for designing Smart Wallets. This version aligns with the latest Account Abstraction upgrades in EntryPoint v0.7. It includes audited, battle-tested Safe Smart Accounts and new Modules not previously available in the latest stable release, providing end users with greater flexibility and ownership control without compromising on the user experience.

We highlight here the main features and the changelog for developers integrating with AbstractionKit. If you want to learn more about these features, see our blogpost on Introduction AbstractionKit V0.02.

New Features

  • EntryPoint v0.7 Support:

    • Added support for EntryPoint v0.7 in the Bundler class.
    • Added support for EntryPoint v0.7 in the CandidePaymaster class.
  • CandidePaymaster:

    • Integrated support for Candide Paymaster API V3, that introduces Gas Policies sponsorship.
  • SafeAccountV0.3.0:

    • Added support for SafeAccountV0_3_0, which includes compatibility with ERC-4337 EntryPoint v0.7.
  • New Modules:

    • Added support for the Safe Passkeys, enhancing security with WebAuthn authentication.
    • Added support for the Social Recovery, bringing the ability for onchain account recovery.

Breaking Changes

  1. CandidePaymaster:

    import { CandidePaymaster } from "abstractionkit";

    const paymasterRpc = "https://api.candide.dev/paymaster/$version/$network/$apikey";
    const paymaster: CandidePaymaster = new CandidePaymaster(paymasterRPC);

    // Construct user operation using createUserOperation()
    const userOperation = smartAccount.createUserOperation(..);

    // New return structure
    const [sponsoredUserOperation, sponsorMetadata] =
    await paymaster.createSponsorPaymasterUserOperation(
    userOperation,
    bundlerUrl
    );

    Ensure your implementation captures both values, as the sponsor metadata is now a necessary part of the returned operation.

  2. SafeAccountV0_2_0 Update:

    • The variable EIP712_SAFE_OPERATION has been removed from the SafeAccountV0_2_0 class. It is now imported as a constant from the library. Please update your imports:
    // EntryPoint V0.06
    import { EIP712_SAFE_OPERATION_V6_TYPE } from "abstractionkit";
    // or for EntryPoint V0.07
    import { EIP712_SAFE_OPERATION_V7_TYPE } from "abstractionkit";
  3. Some breaking changes to internal and advanced functions. Please see our updated docs for the specific updates.

Update Guides from v0.1.3

To update from v0.1.3 to v0.2.0, ensure the following changes are made in your code:

  1. Update any references to createSponsorPaymasterUserOperation to capture both the sponsoredUserOperation and the sponsorMetadata.
  2. For SafeAccount implementations, replace EIP712_SAFE_OPERATION with the correct imported constant from the updated library version.
  3. Review new module integrations (e.g., Safe Passkeys Module and Social Recovery Module) to determine if your application can leverage these enhanced features.
  4. Consider updating to the latest SafeAccountV0_3_0, so you can benefit your users from the latest Account Abstraction upgrades.

Dedicated Office Hours for Enterprises

To assist with this upgrades, we are offering dedicated office hours for enterprise customers on the Leader plan. Our team is be available to answer any questions, provide technical support, and ensure a smooth migration to v0.2.0.

Feel free to reach out directly to our private support channels schedule a session or ask about specific migration challenges.


· 3 min read

Voltaire ERC-4337 Bundler has undergone its largest upgrade since its first launch with the support of EntryPoint v0.7, combined with the groundbreaking performance that gives any application near-instant execution. This upgrade makes onboarding your new users more economically feasible, faster, and smoother to maintain.

EntryPoint v0.7 Support and Multi-EP Architecture

Voltaire v0.1.0a33 now supports multiple EntryPoints, including the newly released EP v0.7. The new EP version brings key upgrades for enhanced gas efficiency, flexibility, and security. On-chain simulation functions have been moved off-chain, and the new delegateAndRevert() helper supports networks without state overrides. A 10% penalty for unused gas limits optimizes bundler performance, while redundant postOp calls have been removed to simplify paymaster operations. Additional updates include ERC-165 support, improved gas limit validations, and a streamlined UserOperation structure to reduce calldata use.

Ethereum, L2s and Multichain Support

Voltaire is built with a deep understanding of the Ethereum Virtual Machine (EVM), making it highly adaptable for both Layer 1s, such as Ethereum and Polygon, as well as Layer 2 scaling solutions like Optimism, Base, and Arbitrum. Currently, Voltaire operates on over 10 different networks, and it continues to expand as demand for new scaling solutions grows.

Supported on AbstractionKit

While Voltaire Bundler is provided as JSON API for gas estimation, submission, and status tracking, AbstractionKit SDK simplifies this process further by offering pre-built tools and a standard Bundler class for TypeScript, enabling developers to quickly implement advanced features, including optimal gas management. Most importantly, AbstractionKit is agnostic of any Bundler that adheres to the ERC-4337 standard, avoiding vendor lock-in with Voltaire. With update to date docs and developer-friendly classes, developers can efficiently build, innovate, and scale their apps.

Fast execution

Voltaire v0.1.0a33 stands out as one of the fastest executors in the ERC-4337 ecosystem, with near-complete coverage of the official compatibility test suites developed by the ERC-4337 team. Impressively, Voltaire completed the test suite in just 1:51. As performance metrics evolve with each commit, staying updated on the latest results by following the repository is important. Voltaire's speed and robustness make it the leading choice for high-performance applications.

Accurate Gas Estimates

Voltaire’s advanced gas estimation ensures that users and developers alike can be trusted to provide precise gas predictions in a cost-sensitive environment during high block demands. By reducing the likelihood of overpaying for gas or encountering failed transactions due to underestimating, Voltaire delivers a significant advantage to developers focused on optimizing their applications for real-world use.

Getting Started with Voltaire

Getting started with Voltaire is completely easy and at no cost. Developers can begin by testing their applications with free testnet support across multiple networks. Once ready for mainnet deployment, Voltaire offers flexible subscription plans designed to meet the needs of solo developers, startups, and enterprises. These plans provide scalable access to advanced features such as higher API rate limits, a larger number of API requests, and dedicated support. Voltaire is open-source, so self-hosting is encouraged if desired.

Voltaire Bundler is coming soon as self-served on the Dashboard. In the meantime, you can reach out directly to get Mainnet Access via Discord, or by emailing team@candidelabs.com. The team guarantees a same-day response.