signum-network / signum-mobile-wallet

The new 🚀 Signum Mobile Wallet - Better than ever before 🤘
Apache License 2.0
4 stars 0 forks source link

Aliases TLD support #69

Closed ipr0310 closed 4 weeks ago

ipr0310 commented 1 month ago

Allow the users to read aliases with its TLDs

image

A service for fetching and reading aliases TLDs on mainnet or testnet needs to be setup

Note: This is only for reading aliases, not transfer buy updates. When deeplink support is stable, users will be able to interact with their aliases from signumswap

ipr0310 commented 1 month ago

When fetching account transactions, the alias TLD name is not shown. Only the TLD id is shown

https://latam.signum.network/api?requestType=getAccountTransactions&account=8629824288351884182&type=1&subtype=1

You can see that the Alias Assignment transactions have the following attachment:

{
  "attachment": {
    "version.AliasAssignment": 2,
    "alias": "ipr0310",
    "uri": "",
    "tld": "11970079337033010777"
  }
}

@frankTheTank72 @ohager is it possible to also add the tldName on that same attachment?

it will provide the following benefits:

ipr0310 commented 1 month ago

A solution will be implemented, fetch and persist all aliases TLDs, and the show the specific TLD from asyncstorage

This is a pretty heavy request to the node, made a ticket about it: https://github.com/signum-network/signum-node/issues/827