Skip to content

Possible improvement #35

Open
Open
@tien

Description

  • Expose simple REST endpoint accessible both via our internal ID or the chain genesis hash i.e. https://chaindata.talisman.xyz/0x70255b4d28de0fc4e1a193d7e175ad1ccef431598211c55538f1018651a0344e
  • REST endpoint for exposing static assets
  • Strongly typed TypeScript library similar to https://viem.sh/

Export

import rawChains from "./chain.json"

// Some TypeScript magic ...

Import

import {polkadot} from "@talismn/chaindata"

console.log(polkadot.name) // fully typed as string literal "Polkadot"

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions