nomad-xyz/monorepo

improve: Setting Token Details

Opened this issue · 0 comments

Problem

When tokens are first deployed, they receive default details which must be updated by an external party by providing the correct canonical details on-chain.

Staging:

  • we generally don't bother to update details in staging, because it's too time intensive; this leads to degraded experience for partners integrating in staging

Production

  • when a new chain is deployed
    • we have to manually transfer tokens over the bridge ourselves, then manually set details for each token one by one
  • when new tokens are added after an initial chain deploy
    • we are not alerted until the asset issuer or end user asks us
    • asset issuers are overwhelmed / confused about how to run the existing script, and rely on us to do it for them
    • we have no DRI on the engineering team for doing this

Every time / Every Env

  • setting details requires the engineer to collect all the information about a token manually (representation address, name, symbol and decimals) which is annoying

Solution

Design a solution for the above problems