OpenViSTAI · Agents · Blockchain · Crypto
Menu
Smart Contracts

ERC-1363 Payable Token

ERC-1363 Payable Token is an MIT-licensed Solidity reference implementation of the ERC-1363 standard, which extends ERC-20 with callbacks after token transfers and approvals.

Independent OpenViST project profile, based on linked sources.

ERC-1363 Payable Token — OpenViST project profile in Smart Contracts.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when developing Solidity contracts that need token transfers or approvals to trigger a recipient or spender contract callback in the same transaction.

Who it is for

  • Smart-contract developers implementing ERC-1363 token behavior
  • Developers building recipient or spender contracts that respond to token transfers or approvals

Documented uses

  • Use reference code when implementing an ERC-1363-compatible token contract.
  • Add same-transaction callbacks after transfers, delegated transfers, or approvals.
  • Implement receiver and spender callback interfaces for contracts that interact with ERC-1363 tokens.
Before you choose

Requirements & limits

  • The README documents Hardhat installation with npm and Foundry installation with OpenZeppelin contracts plus remappings.
  • The usage example specifies Solidity pragma ^0.8.20.
  • Callback methods revert when the target is an EOA; use ERC-20 transfer, transferFrom, or approve methods for EOAs.
  • The repository documents interfaces for the token, receiver, and spender, plus an ERC-1363 utility library.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install and map the library with Foundry

Fetch the listed OpenZeppelin dependency and ERC-1363 repository, then add the documented import remappings.

Before you start

  • A Foundry project

Steps

  1. Run forge install OpenZeppelin/openzeppelin-contracts.

  2. Run forge install vittominacori/erc1363-payable-token.

  3. Add @openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/ and erc-payable-token/contracts/=lib/erc1363-payable-token/contracts/ to remappings.txt.

Expected outcome

The dependencies and import remappings are set up as shown in the README.

Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
9 October 2026
Original website title
vittominacori/erc1363-payable-token · Official homepage title · retained in its source language