githubEdit

Token V2

What is Token V2?

The Aptos token v2 standard was developed with the following as an improvement on the Aptos Token standard. It has these ideas in mind:

  • Flexibility - NFTs are flexible and can be customised to accommodate any creative designs.

  • Composability - Multiple NFTs can be easily composed together, such that the final object is greater than the sum of its parts

  • Scalability - Greater parallelism between tokens

Key Difference between Token V2 and other Aptos token standard:

  • Token V2 is an object based token.

  • Decoupled token ownership from token data

  • Explicit data model for token metadata via adjacent resources

  • Extensible framework for tokens

Comparison between Token V1 and Token V2:

  • Token can be easily extended with custom data and functionalities without requiring any changes in the framework

  • Transfers simply a reference update

  • Direct transfer is allowed without an opt in

  • NFTs can own other NFTs adding easy composability

  • Soul bound tokens can be easily supported

Lets understand Token V2 using a simple example for creating a token

circle-info

For more details follow thisarrow-up-right.

Last updated