Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create @bitsongjs/fantoken package #49

Open
DavideSegullo opened this issue Sep 29, 2022 · 0 comments
Open

Create @bitsongjs/fantoken package #49

DavideSegullo opened this issue Sep 29, 2022 · 0 comments
Assignees
Labels
@bitsongjs/fantoken Issues related to the package in question enhancement New feature or request

Comments

@DavideSegullo
Copy link
Contributor

We should create a package to generate the fantoken metadata. Currently on sinfonia-ui we use files saved on github for configurations related to fantokens, I would suggest moving them to IPFS.

This would allow different applications to easily access the fantoken information.

For example we can move this piece of data from assetlists to IPFS:

{
  "logos": {
    "png": "https://raw.githubusercontent.com/bitsongofficial/assetlists/main/logos/adam.jpeg"
  },
  "name": "Adam Clay",
  "symbol": "CLAY",
  "coinLookup": [
    {
      "viewDenom": "CLAY",
      "chainDenom": "clay",
      "fantokenDenom": "ft2D8E7041556CE93E1EFD66C07C45D551A6AAAE09",
      "chainToViewConversionFactor": 0.000001
    }
  ],
  "ibc": {
    "osmosis": {
      "sourceChannelId": "channel-73",
      "destChannelId": "channel-0",
      "destDenom": "ibc/7ABF696369EFB3387DF22B6A24204459FE5EFD010220E8E5618DC49DB877047B",
      "sourceDenom": "ubtsg"
    }
  },
  "routes": {
    "poolID": "751"
  },
  "ibcEnabled": true,
  "fantoken": true,
  "socials": {
    "mailchimpID": "deaadbfbd5",
    "links": [
      {
        "type": "facebook",
        "url": "https://www.facebook.com/adamclaymusic"
      },
      {
        "type": "instagram",
        "url": "https://www.instagram.com/adamclayreal"
      },
      {
        "type": "twitter",
        "url": "https://twitter.com/adamclaymusic"
      },
      {
        "type": "spotify",
        "url": "https://open.spotify.com/artist/19jXtZ3WctjL00MMVqYrv8?si=Q_TJsXqORs6WSkQIV4F9DQ&nd=1"
      },
      {
        "type": "website",
        "url": "https://www.adamclay.com/"
      },
      {
        "type": "youtube",
        "url": "https://www.youtube.com/channel/UCwnnlm9IXX6L4YjFSJN2GLA"
      }
    ]
  },
  "media": {
    "hero": "https://raw.githubusercontent.com/bitsongofficial/assetlists/main/fantokens/adam-clay/media/adam-clay-hero.png"
  },
  "airdrop": {
    "url": "https://bitsong.io/airdrop/"
  },
  "whitepaper": {
    "url": "https://bitsong.io/fantokens/adam-clay"
  },
  "metadata": {
    "tags": [
      "artist"
    ]
  }
}
@DavideSegullo DavideSegullo added the enhancement New feature or request label Sep 29, 2022
@DavideSegullo DavideSegullo self-assigned this Sep 29, 2022
@DavideSegullo DavideSegullo added the @bitsongjs/fantoken Issues related to the package in question label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@bitsongjs/fantoken Issues related to the package in question enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant