Type definitions for the Snowbridge parachain
yarn install
yarn build
Import the types in your JS or TS app:
import { ApiPromise } from '@polkadot/api';
import { bundle } from "@snowfork/snowbridge-types";
const makeAPI = (provider) =>
ApiPromise.create({ provider, typesBundle: bundle });