Difference between Digital Asset (Token Objects) creation functions #49
-
From Discord user SoumalyaThecoder:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There are two standards for Aptos NFTs:
For the Digital asset standard there are a few ways to create tokens (with code):
|
Beta Was this translation helpful? Give feedback.
-
Hey @gregnazario im bit confused just , a small question i have collection::create_fixed_collection(
&resource_signer,
string::utf8(COLLECTION_DESCRIPTION),
SUPPLY,
string::utf8(COLLECTION_NAME),
option::some(royalty),
string::utf8(COLLECTION_URI)
); , how does it involved with |
Beta Was this translation helpful? Give feedback.
There are two standards for Aptos NFTs:
For the Digital asset standard there are a few ways to create tokens (with code):
0x4::token::create
- this creates an object with a randomized address. This NFT can be deleted to get storage cost back https://github.com/aptos-labs/aptos-core/blob/main/aptos-move/framework/aptos-token-objects/sources/token.move#L207-L2210x4::token::create_numbered_token
- this creates a token where each one is numbered in order, while staying fully parallel in minting (high throughput). This NFT can be deleted to get storage cost back https://github.com/aptos-labs/ap…