Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article examines ERC7968, a proposal that allows third parties to securely submit token transfers and pay gas fees while users retain ownership of their tokens.

This article translates, summarizes, and adds context to the following proposal.

I also cover a range of EIPs, BIPs, SLIPs, CAIPs, ENSIPs, RFCs, and ACPs.

Overview

ERC7968 proposes a new token transfer processing model that allows third parties to use tokens issued on Ethereum (such as ERC20 tokens) securely and seamlessly. Under this model, even users who are unfamiliar with cryptocurrencies can transfer tokens through a third party (a payment processor). A distinctive feature is that users retain ownership of their tokens throughout the process, while a third party pays the transaction fees (gas fees) and submits transactions on their behalf.

Two-stage token transfer process

Token transfers in this model proceed in two stages.

  1. Initiation

The payment processor proposes a token transfer through a smart contract. The proposal is emitted as an on-chain event and includes the following information.

  • Transfer details, such as the sender, recipient, and amount
  • A unique hash identifying the transaction (the proposal hash)
  1. Approval

The token owner reviews the proposed transfer off-chain. If the owner agrees, they sign the proposal hash with their private key and send the signature to the payment processor. The processor submits the signature to the smart contract. Once the contract verifies the signature, it transfers the tokens on the user's behalf.

Expiration and security

Each proposal has an expiration time. If the signature is not submitted and verified within this period, the proposal becomes invalid. This prevents old proposals from being used or maliciously reused.

The model also provides user protection in situations such as the following.

  • The payment processor becomes unresponsive or acts maliciously.
  • External conditions, such as transaction fees, change abruptly.

Even in these situations, an emergency withdrawal mechanism allows users to withdraw their tokens directly to their own addresses.

Benefits

This model makes it easier for businesses and service providers to integrate blockchain payments into their operations. Users do not need to manage cryptocurrencies or wallets directly, and token movements always require explicit approval from the owner, preserving security and transparency. Meanwhile, the payment processor receives compensation off-chain and pays the gas fees. Compensation can be paid through existing financial systems, such as fiat currency payments, making the model compatible with established business models and accounting systems.

As a result, users are shielded from blockchain-related complexity, and businesses and organizations face fewer barriers to adoption.

Motivation

Two major obstacles to adopting blockchain payments and tokenized assets in conventional business environments are cryptocurrency management and paying on-chain fees. Requiring users and business partners to manage their own wallets and pay transaction fees creates technical, operational, and regulatory burdens for many businesses.

ERC7968 was designed to remove these barriers.

Objectives

A trusted third party (the payment processor) performs on-chain operations on users' behalf and pays transaction fees, allowing businesses to integrate token-based transactions into their business processes. Users nevertheless retain full ownership of their assets, and final authorization for transfers always comes from the owner's cryptographic signature.

Moreover, because payment processors receive compensation off-chain, the model is compatible with conventional banking and fiat payment systems. This removes blockchain-specific administrative complexity while maintaining security and compliance.

Security and reliability

The model provides a fail-safe mechanism that allows users to recover their assets directly if the payment processor becomes unavailable or external factors, such as extreme fluctuations in transaction fees, intervene. This protects assets even if the trust relationship breaks down.

Specification

In ERC7968, the smart contract holding the tokens (ITokenStorage.sol) plays a central role. It provides three principal functions.

  • Propose a token transfer (proposeTransaction) The payment processor proposes a transfer.
  • Complete a transfer (completeTransaction) The user's signature authorizes the transfer.
  • Safely withdraw assets (sendFundsToOwner) The user returns the tokens to their own address in an emergency, such as when the payment processor becomes unavailable.

A verifySignature function is also provided to verify the user's signature.

Events

TransactionProposed

javascript
event TransactionProposed(uint256 hash);

This event is emitted when a token transfer is proposed. It is emitted when the payment processor executes proposeTransaction. The event indicates that the proposal was successfully accepted and provides a unique hash associated with it.

Parameters

  • hash
    • A hash that uniquely identifies the proposed transaction.

TransactionCompleted

javascript
event TransactionCompleted(uint256 hash);

This event is emitted when a token transfer is completed. It is emitted when the owner's signature has been successfully verified and the proposed transaction has completed. The event provides on-chain confirmation that the transfer is complete.

Parameters

  • hash
    • The hash of the completed transaction.

FallbackScenarioExecuted

javascript
event FallbackScenarioExecuted(address tokenAddress);

This event is emitted when a user recovers their tokens in an emergency. It is emitted when the user executes sendFundsToOwner to return assets to their own wallet, for example when the payment processor is unavailable or transaction fees have changed significantly.

Parameters

  • tokenAddress
    • The contract address of the token being recovered.

Functions

proposeTransaction

javascript
function proposeTransaction(address tokenAddress, uint256 amountToSent, address destinationAddress) external;

This function proposes a token transfer. The payment processor (paymentProcessor) calls it to create a proposal to send a specified token to a specified address. The proposal is stored in the contract, and a unique hash (the proposal hash) is generated. This hash is used later in the signature approval process. When a proposal is created, the TransactionProposed event is emitted.

Arguments

  • tokenAddress
    • The address of the token to transfer.
  • amountToSent
    • The amount of tokens to transfer.
  • destinationAddress
    • The recipient address for the tokens.

completeTransaction

javascript
function completeTransaction(uint256 hash, bytes memory signature) external;

This function completes a token transfer. The payment processor calls it to complete a previously proposed transaction. Using the supplied hash and signature, the contract verifies that the user (owner) actually approved the transaction. The contract transfers the tokens only if the signature is valid. On success, the TransactionCompleted event is emitted.

Arguments

  • hash
    • The hash identifying the proposal.
  • signature
    • The owner's signed message, containing only the hash.

sendFundsToOwner

javascript
function sendFundsToOwner(address tokenAddress) external;

This function allows the owner to return all tokens to their own address in an emergency. The owner uses it to protect their assets if the payment processor becomes unresponsive or acts maliciously. Calling the function sends the entire balance of the specified token to the owner's address. The FallbackScenarioExecuted event is emitted when the function executes.

Arguments

  • tokenAddress
    • The address of the token to transfer.

verifySignature

javascript
function verifySignature(
    address _signer,
    address tokenAddress,
    uint256 amountToSent,
    address destinationAddress,
    bytes memory signature
) public pure returns (bool);

This function verifies the owner's signature. It checks whether the signature supplied by the owner is valid and matches the proposal. It can be used outside the contract for advance verification by the user, but it is also always called within completeTransaction to check the signature before the token transfer is executed. This prevents transfers based on invalid signatures.

Arguments

  • _signer
    • The address of the owner who signed the proposal.
  • tokenAddress
    • The address of the relevant token.
  • amountToSent
    • The transfer amount.
  • destinationAddress
    • The recipient address.
  • signature
    • Signature data containing the proposal hash.

Return value

  • bool
    • Returns true if the signature is valid and false otherwise.

ITokenStorage

javascript
interface ITokenStorage {
    event TransactionProposed(uint256 hash);
    event TransactionCompleted(uint256 hash);
    event FallbackScenarioExecuted(address tokenAddress);

    function proposeTransaction(address tokenAddress, uint256 amountToSent, address destinationAddress) external;
    function completeTransaction(uint256 hash, bytes memory signature) external;
    function sendFundsToOwner(address tokenAddress) external;
}

References

Julius Lauterbach (@Julius278), "ERC-7968: Owner-Authorized Token Transfer Protocol [DRAFT]," Ethereum Improvement Proposals, no. 7968, June 2025. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-7968.

Conclusion

This article covered ERC7968, a proposal that allows users to retain ownership of their tokens while a third party securely submits transfers and pays the gas fees. How did you find it?

If you have any questions, feel free to send me a direct message on Twitter.

Twitter @cardene777

I also publish on other platforms. Feel free to explore them.

https://chaldene.net/