oh cool, looks a bit complicated though, but more expandable, I was aiming for a simpler approach, just having the address association. Where do you use the tokens?
@vikisecrets modified this reply with more context!
In the Ecency wallet, on web and mobile:
Your own wallet: the list decides which tokens you see. External chain addresses (BTC, ETH, SOL and others) sit next to the Hive Engine tokens you picked and you can hide any of them without unlinking.
Sending to someone: when you transfer or tip, we read the recipient's profile.tokens and offer their external addresses as destinations. On the website the transfer itself goes through MetaMask; the mobile app shows the balances.
So it backs a full wallet, which is why each entry carries a type and a meta object and not only an address.
Then let's take the ecency approach even though its a but complicated, ok? Then we have 3 apps following one format. I would see the social media links on the same level as tokens.
@vikisecrets modified this reply with more context!
In the Ecency wallet, on web and mobile:
profile.tokensand offer their external addresses as destinations. On the website the transfer itself goes through MetaMask; the mobile app shows the balances.So it backs a full wallet, which is why each entry carries a
typeand ametaobject and not only an address.The format, a read snippet and the write rules are documented here: https://docs.ecency.com/developers/wallets/#profile-tokens-format
Then let's take the ecency approach even though its a but complicated, ok? Then we have 3 apps following one format. I would see the social media links on the same level as tokens.
View more