1.0.0 • Published 2 years ago

stellar-sdk-federation-validator v1.0.0

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

StellarSDK Federation Validator

Simple npm library to use with Stellar Federation addresses.

Getting started

Start by importing the library into your project import { * } from 'stellar-sdk-federation-validator'

Validate federation address

validateFederationAddress(string: @federationAddress) ex: "github*stashapp.cloud"

Validate multiple addresses

validateFederationAddresses(array: [..., @federationAddress]) ex: "github*stashapp.cloud"

Fetch federation address from G-address

fetchFederationAddress(string: @stellarAddress) ex: "GAB..."