@snowfork/snowbridge-types

Type definitions for the Snowbridge parachain

Usage no npm install needed!

<script type="module">
  import snowforkSnowbridgeTypes from 'https://cdn.skypack.dev/@snowfork/snowbridge-types';
</script>

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