Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@snowfork/snowbridge-types

snowfork130.9kApache-2.00.2.7TypeScript support: included

Type definitions for the Snowbridge parachain

Ethereum, Polkadot, Snowbridge

readme

Snowbridge Types

Type definitions for the Snowbridge parachain

Development

yarn install
yarn build

Usage

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 });