UNPKG

@spanning/utils

Version:

Javascript utility functions for the Spanning Network

18 lines (15 loc) 1.01 kB
# 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](https://demo.spanning.network). ## Complete Docs Check out our complete docs [here](https://docs.spanning.network/)