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 explains ERC-5484, which allows burn authorization to be assigned when a soulbound token (SBT) is minted.

This explanation translates, summarizes, and expands on the following specification.

An SBT is an NFT that cannot be transferred between accounts.

The abbreviation SBT is used throughout the remainder of this article.

For an introduction to ERC-721 NFTs, see the following article.

https://chaldene.net/erc721

Abstract

This proposal defines an interface extending ERC-721 to create SBTs.

For an explanation of interfaces, see the following reference.

https://chaldene.net/erc721#st-toc-h-5

Before minting an NFT, the issuer and recipient must agree on who is authorized to burn it. Once determined, burn authorization is immutable. After minting, the SBT cannot be transferred to another address, but an authorized party can burn it.

Motivation

SBTs attracted considerable attention after the concept was proposed. Without a standard interface, however, implementations are not interoperable, making it difficult to build general-purpose services for SBTs.

The proposal treats SBTs as specialized NFTs representing information such as credentials, credit records, loan histories, and memberships. For flexibility, they need application-specific burn authorization and a way to distinguish them from ordinary ERC-721 NFTs.

Specification

The proposed ERC-721 extension requires the following behavior.

  • Support ERC-165 (0x01ffc9a7).
  • Support ERC-721 (0x80ac58cd).
  • Present burnAuth to the recipient before minting.
  • Make burnAuth immutable after minting.
  • Determine burn authorization solely from burnAuth.
  • Present NFT metadata to the recipient and obtain their signature before minting.
  • Do not allow the issuer to change the metadata after minting.

Interface

javascript
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

interface IERC5484 {
    enum BurnAuth {
        IssuerOnly,
        OwnerOnly,
        Both,
        Neither
    }

    event Issued (
        address indexed from,
        address indexed to,
        uint256 indexed tokenId,
        BurnAuth burnAuth
    );

    function burnAuth(uint256 tokenId) external view returns (BurnAuth);
}

BurnAuth

An enumeration of burn authorization types.

  • IssuerOnly: only the issuer can burn the NFT.
  • OwnerOnly: only the NFT owner can burn it.
  • Both: both the issuer and owner can burn it.
  • Neither: neither party is authorized to burn it.

Issued

An event emitted when an SBT is minted, in addition to the ERC-721 Transfer event.

  • from: the issuer address.
  • to: the recipient address.
  • tokenId: the ID of the issued NFT.
  • burnAuth: its burn authorization.

burnAuth

This function retrieves the burn authorization associated with the specified tokenId.

Additional Considerations

SBTs form a specialized subset of ERC-721 NFTs. The design facilitates compatibility with existing NFT services, which can handle SBTs as NFTs without substantially rewriting their existing code.

Non-transferability

One difficulty in implementing ERC-721-based SBTs is that transfer functions revert. A better approach for applications is to detect whether the contract implements the SBT interface before attempting a transfer. Transfers still revert, but applications can avoid calling them.

Burn Authorization

The interface aims to maximize flexibility, making predefined burn rules important. Examples include:

  • IssuerOnly: loan history.
  • OwnerOnly (called ReceiverOnly in the original example): paid membership.
  • Both: credentials.
  • Neither: credit history.

Burn authorization is associated with an individual token and cannot change after minting. The recipient must therefore be informed and consent before minting.

Mint Event

When an SBT is minted, the Issued event is emitted alongside the ERC-721 Transfer event. This preserves backward compatibility while explicitly identifying SBT issuance.

Key Rotation

A burnable SBT can facilitate key rotation even though the token itself is non-transferable.

Here, key rotation means associating an equivalent credential with another address despite the original NFT's non-transferability.

The holder may notify the issuer, an authorized party can burn the original NFT, and the issuer can mint a replica to another address.

Backward Compatibility

The proposal is backward-compatible with ERC-721.

Conclusion

ERC-5484 defines an SBT whose burn authorization is agreed upon before minting and remains immutable afterward.

Implementation details will be added separately.

Further reading and author links: