Dynamic NFT
Last updated
Was this helpful?
Last updated
Was this helpful?
Each Resident is a unique dynamic NFT, with all attributes of the Resident recorded on the blockchain.(even the animated images!)
Every Resident has a determined rarity
, rating
, identity
, appearance
, and other attributes at the time of creation,
(for details on the generation process, see here: How we ensure that each Resident's appearance is unique)
and these data are recorded in the on-chain metadata, meaning they cannot be arbitrarily modified.
Since a Resident is essentially an NFT, it is tradable and not bound to a player's address (a Resident marketplace will be launched in the future).
When a Resident is upgraded, the level
and rating
attributes in the metadata will be updated accordingly.
// Example of resident on-chain metadata
{
"contrast_color": "6cab23",
"id": {
"id": "0xResidentObjectId"
},
"identity": "Arcane Trickster",
"identity_metadata": {
"fields": {
"dummy_field": false
},
"type": "0xpackageObject::dungeon_resident::MerrySeer"
},
"level": "1",
"main_color": "9354dc",
"rarity": "UR",
"rarity_color": "e50c0c",
"rating": "9999",
"sec_color": "6433c1"
}