stellar-sdk-federation-validator
v1.0.0
Published
Simple library to lookup Stellar Federation addresses
Downloads
14
Readme
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..."