Implementation Guide
ERC 5725: Transferable Vesting NFTs is an EIP created to offer a standardized Non-Fungible Token (NFT) API to enable vesting ERC-20 tokens over a vesting release curve. Read on to learn more about how to implement EIP-5725 for your own use cases
Following the Specification
After reading through ERC-5725, the main section you will focus on during integration will be the ERC-5725 specification.
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.
During the integration process, take some time to read carefully through the natspec comments of the ERC-5725 specification to ensure you are implementing the functions the correct way. The key words above help define how the functions should work, given different inputs.
IERC5725.sol on GitHub
A usable IERC5725.sol is stored publicly on the GitHub ERC-5725 reference implementation. This can be used as the base for ERC-5725 NFTs.
Follow along below for how to use this interface to create your own ERC-5725 NFTs.
Resources
Last updated