ZilSBT / Zilliqa-Soulbound-Project

The Zil Soul-bound token project is one that realizes a non-transferable token that represents ones credentials and identity on chain. The project aims to provide features such as minting SBT for yourself or others , Viewing your own and other peoples SBTs.
https://zilsbt.netlify.app
0 stars 3 forks source link

Mint token transition should accept additional params #35

Closed ivan-ngchakming closed 2 years ago

ivan-ngchakming commented 2 years ago

Since contract calls consume gas fee, the mint function should accept more than just a to argument, namely picture_uri and data_uri, so these 2 fields can be set when minting the token in one single transaction.

https://github.com/ZilSBT/Zilliqa-Soulbound-Project/blob/f64556019d19e2e373146e2d2ac9587d88451f3c/contracts/SBTv3.scilla#L261-L278

ivan-ngchakming commented 2 years ago

nvm I am blind