0.0.0-pre.1 • Published 20 days ago

@tableland/studio-chains v0.0.0-pre.1

Weekly downloads
-
License
MIT AND Apache-2....
Repository
github
Last release
20 days ago

@tableland/studio-chains

License: MIT AND Apache-2.0 Version standard-readme compliant

Info on Tableland supported chains and helpers to get node providers.

Background

This package is a single file that stitches wagmi and viem together to configure the Studio supported chains with RPC Providers like Alchemy and Infura.

Install

You can install via npm.

npm install @tableland/chains

Usage

The entire package is contained in src/index.ts. You might find it easiest to read through that file. There are two functions exported:

  • configuredChains: takes one optional boolean argument indicating if a localhost chain should be included, default is false. Returns the chains studio supports with provider urls configured
  • supportedChains: takes one optional boolean argument indicating if a localhost chain should be included, default is false. Returns the chains studio supports

Development

See the web package for how the chains are used in the context of Studio.

Contributing

PRs accepted. Studio is still under initial development, so if you are interested in helping out, feel free to connect on Discord: https://tableland.xyz/discord

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT AND Apache-2.0, © 2021-2024 Tableland Network Contributors