stellar-sdk-federation-validator

1.0.0 • Public • Published

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..."

/stellar-sdk-federation-validator/

    Package Sidebar

    Install

    npm i stellar-sdk-federation-validator

    Weekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    3.11 kB

    Total Files

    3

    Last publish

    Collaborators

    • spxc