NFT's the level up?

2
0

Hi! I'm going to be creating a soul-bound token using Hey Mint, and I want to make it upgradable. โ€‹ I'm going to be holding weekly educational live sessions for my community, and I want them to earn points for attending and upgrade based on how many sessions they attend. I've seen other projects that have done this, like InPeak, and It seems like it would just require modifying a property on the contract, but I have no clue how to do that.


To post an answer, please !

1 answer

22 views

That sounds like a great use-case for soulbound tokens! You can do this with Heymint Launchpad. The upgradable aspect is easiest to implement by updating the token metadata and images as users complete tasks or sessions. This way you actually don't need to make any changes on the blockchain whenever you upgrade a token. It's enough to update the metadata file and image. โ€‹ Metadata files and images are most commonly stored in IPFS, but for a use-case like this it probably makes more sense to store those files on your own servers. You can store them anywhere and use this option in Launchpad to provide the URL to the metadata files so that marketplaces like OpenSea will find them: โ€‹ Screenshot from 2023-01-02 19-52-11.pngโ€‹ If you decide to host metadata and images yourself then you only need to set this "token base URI" once. After that it's enough to simply change the metadata wherever you've stored it and refresh metadata on OpenSea, to see the changes to the token. This will appear as "evolving" tokens to the users. โ€‹ One note of caution though: Hosting metadata and images on your own server is considered risky and some users might wonder why it's not stored in IPFS. The risk comes from the fact that your servers need to stay online for the marketplaces and wallets to be able to fetch metadata and images. If your servers ever go down (because of an unpaid bill, for example) then the tokens become empty shells with no attributes and no images. So if you decide to go this route, make sure that the hosting you choose is solid, has automatic backups and that you can commit to keeping it running for a long long time. โ€‹ If you get to a point in the future where your metadata and images no longer are going to change any more, then it's possible to upload it to IPFS at that point. By updating the "token base URI" again to point to the IPFS location you'll secure the tokens for the future. At least as long as you keep paying services like Pinata for pinning the IPFS files.

2
0

Fantastic! THANK YOU! This is exactly what I was looking for. โ€‹ Are there any hosting solutions that are well regarded in the community?

1
0

Happy to hear it is useful! Regarding hosting solutions it usually depends on what features you need and what you have experience with. I've seen providers like Vercel, Render or AWS be used for deploying apps and serving NFT metadata for use-cases where metadata needs to change over time.

0
0

Not the answer you're looking for? Browse other questions taggedย #NFTsย #Smart Contractsย orย ask your own question.