isvalid

package module
v0.0.0-...-a37b927 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

go-stellar-validate

Version License Document

Dependencies

Install

go get -u github.com/aanupam23/go-stellar-validate

Getting Started

go-stellar-validate is a handy package for id validation in building Stellar applications. This package that helps in validating Stellar id's such as Public Key, Private Key, Valid Asset Length, Transactions id before using them in your application.

❓ WIP - This Library is work in progress.

Contribute

go-stellar-validate is open source and all contributions are welcome.

Please refer CONTRIBUTING.md for information.

Licence

License

Stellar is trademark of Stellar Development Foundation.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PubKey

func PubKey(pubkey string, nnetwork string) bool

PubKey checks if it is a valid public key Use nnetwork as "Public" for horizonclient.DefaultPublicNetClient Use nnetwork as "Testnet" for horizonclient.DefaultTestNetClient

func SecKey

func SecKey(seckey string) bool

SecKey checks if it is a valid secret key

func TLen

func TLen(assetcode string) bool

TLen checks if it is a valid secret length

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL