Add referrer to token attributes
Is your feature request related to a problem? Please describe. I want to see refer id in the token to understand who sells token to the user (marketing conversion rate calculation) We have a vast partner network and expect a thousand sales(minting tokens) per month. We want to know a partner conversion and display it on or partner's website for us and the partners themselves.
Describe the solution you'd like One of solution can be add refer to token attributes with new trait type refer
{
"name": "Unlock Key",
"description": "A Key to an Unlock lock. Unlock is a protocol for memberships. https://unlock-protocol.com/",
"image": "https://locksmith.unlock-protocol.com/lock/0xaf5c99Dd10f7A85FafBD1D4e0E7DEE31572808E4/icon?id=16",
"expiration": 1688583318,
"tokenId": "16",
"owner": "0xf56023803a4419136e94c044d16cc758db0452ce",
"attributes": [
{
"trait_type": "Expiration",
"display_type": "date",
"value": 1688583318
},
{
"trait_type": "refer",
"display_type": "string",
"value": "0xf56023803a4419136e94c044d16cc758db0452ce"
}
],
"keyId": "16",
"lockAddress": "0xaf5c99Dd10f7A85FafBD1D4e0E7DEE31572808E4",
"network": 137
}
Describe alternatives you've considered Any other options how to link token with refer (or checkout page) are welcome.
Adding a bounty to that so we can add it to the subgraphs!
@0xTxbi interested in that one? We can add a 100 USDC fee!
sure thing, lgtm!