@nulink_network/nulink-ts-crosschain
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

nulink-ts

Communicate with nulink network from browser.

Disclaimer

This is a work in progress

  • SDK does not support policy revocation.
  • We expect breaking changes.

Supported networks

nulink-ts is available on the following networks:

  • horus

Usage

Run with:

1. Rename .env.example to .env
2. Modify config:
  // The create policy contract address. In the NuLink testnet, you can use the address: 0x525186799af91dd2EF1276c090309e50769DCD29
  # contract for testing domain envrionment V7
  REACT_APP_BSC_TESTNET_CONTRACT_SUBSCRIPTMANAGER_ADDRESS=xxxxx
3. yarn install
4. yarn test
5. yarn build

Development

Install git hooks

npx husky install

Generate contract typings

yarn typechain

Prepare a new release

yarn run prepare-release

Examples

See ./test directory for usage examples.

See ./examples directory for examples of browser integration.

See ./examples/api-example.ts for an abridged API example.

Readme

Keywords

Package Sidebar

Install

npm i @nulink_network/nulink-ts-crosschain

Weekly Downloads

0

Version

0.6.1

License

GPL-3.0-only

Unpacked Size

526 kB

Total Files

94

Last publish

Collaborators

  • asta199301
  • iandy2233