0.0.3 • Published 2 years ago

@spanning/utils v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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