@spanning/utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Spanning Utilities

This package provides many common utilities for the Spanning Network. Currently, it includes:

  • Network Status
    • isBosUp: Check if the BOS relay is up
  • Spanning Addresses:
    • getSpanningAddress: Create Spanning Address from local address
    • parseSpanningAddress: Get local address and domain from Spanning Address
    • getShortSpanningAddress: Create Spanning Address for UI consumption
    • getShortLocalAddress: Create local address for UI consumption
  • Crypto converters
    • toAbi: Convert common input format into ABI-encoded payload

Spanning Network

The Spanning Network is a powerful cross-chain API that enables developers to build applications on chains that best suit their technical needs. These multi-home applications will become the basis for the future of the web; check out our demos of a multichain ERC20 and ERC721 here.

Complete Docs

Check out our complete docs here

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @spanning/utils

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    42.7 kB

    Total Files

    15

    Last publish

    Collaborators

    • drewbeller
    • pcshah1996