Introducing Fee Abstraction with Comet!

Say goodbye to managing multiple tokens when using blockchain applications. Comet’s groundbreaking new feature, Fee Abstraction, lets users pay transaction fees in any token they hold.

Most blockchains require a specific token for paying transaction fees, often referred to as a gas token. Additionally, many decentralized applications use a separate token to interact with their smart contracts. While both of these tokens are necessary to support secure protocols, it creates a complicated experience for the user as they are now forced to manage multiple assets just to interact with a single application. To solve this, we use fee abstraction.

Fee abstraction is the concept of allowing users to pay transaction fees in any token they hold.

With Totient Lab’s VIP-191 now active on Vechain’s mainnet, a party other than the transaction sender may pay for the transaction’s gas costs. This addition to the core protocol opens up many new possibilities, like fee abstraction, for creating usable blockchain-based applications.

Fee Abstraction in Comet

Comet implements fee abstraction by allowing users to pay transaction fees in any currency held in their wallet. If the required gas balance is not present, Comet’s delegation service will attach an additional fee clause to the transaction in exchange for sponsoring the transaction via VIP-191.

This whole process happens behind the scenes; users are simply shown the final computed transaction fee in whichever token they hold.

A New Paradigm for Developers

With fee abstraction readily available in Comet, dApp developers no longer need to write code to check if the user has enough of the required gas token in their wallet before initiating a transaction for signature. Comet will automatically figure out how the user will pay for the transaction on behalf of the application. By doing this, we allow developers to focus on the logic specific to their dApps without having to worry about the complexities of a multi-token environment.