Skip to content

NFT minting capabilities (TBC) #38

@mattsmithies

Description

@mattsmithies

Overview

The aim of this feature is to add NFT creation and minting to the Trust Enterprises API, this is based on requests from the community as we'll as upcoming projects. Furthermore, the goal of having such a capability in an API will be:

  • Reduce the complexity for the creation of minting platforms or launchpads
  • Easier development experience for the creation of different kinds of tokens.
  • Ability for non/new-developers to configure a minting system for nocode platforms

Breaking down

I propose adding additional endpoints to the API, as dedicated NFT resources:

  • The creation of a NFT (with zero initial supply)
  • The minting of an NFT, to increase the supply until maximum supply
  • The update of the NFT -- to be considered dangerous
  • Potential: NFT permission revocation

There are a number of different areas that need to be correctly designed within the context of an API such as Custom Token Fees

In addition, items like higher-level permissions like admin and wipe keys need to be considered carefully as dangerous and would require explicit opt-in beyond default behaviour.

Specification

These are some items we are considering adding, please provide thoughts to what would be best for your usecase.

Creation of an NFT

A POST request to /api/nft

Minting of an NFT

A POST request to /api/nft/{token_id}/mint

Update of an NFT

A PUT request to /api/nft/{token_id}/update

NFT permission revocation (potential)

A PUT request to /api/nft/{token_id}/revoke

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions