@tableland/studio-chains
v0.2.0
Published
Supported chain definitions for Tableland Studio
Downloads
50
Readme
@tableland/studio-chains
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 isfalse
. Returns the chains studio supports with provider urls configuredsupportedChains
: takes one optional boolean argument indicating if a localhost chain should be included, default isfalse
. 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