Documentation
¶
Index ¶
- func DecodeInvoice(invoice string) (uint64, []byte, *decodepay.Bolt11, error)
- func GetArkAddress(bip21 string) string
- func GetBtcAddress(bip21 string) string
- func GetInvoice(bip21 string) string
- func GetNewPrivateKey() string
- func IsBip21(text string) bool
- func IsValidArkAddress(address string) bool
- func IsValidArkNote(text string) bool
- func IsValidBtcAddress(address string) bool
- func IsValidInvoice(invoice string) bool
- func IsValidLnUrl(str string) bool
- func IsValidMnemonic(mnemonic string) error
- func IsValidPassword(password string) error
- func IsValidPrivateKey(privateKey string) error
- func IsValidURL(str string) bool
- func NsecToSeed(nsec string) (string, error)
- func PrivateKeyFromMnemonic(mnemonic string) (string, error)
- func Retry(ctx context.Context, interval time.Duration, ...) error
- func SatsFromBip21(bip21 string) int
- func SatsFromInvoice(invoice string) int
- func SatsFromNote(text string) int
- func SeedToNsec(seed string) (string, error)
- func ValidateURL(s string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeInvoice ¶ added in v0.1.14
func GetArkAddress ¶
func GetBtcAddress ¶
func GetInvoice ¶ added in v0.1.14
func GetNewPrivateKey ¶
func GetNewPrivateKey() string
func IsValidArkAddress ¶
func IsValidArkNote ¶
func IsValidBtcAddress ¶
func IsValidInvoice ¶ added in v0.1.14
func IsValidLnUrl ¶ added in v0.1.7
func IsValidMnemonic ¶
func IsValidPassword ¶
func IsValidPrivateKey ¶
func IsValidURL ¶
func NsecToSeed ¶
func PrivateKeyFromMnemonic ¶
func SatsFromBip21 ¶ added in v0.1.14
func SatsFromInvoice ¶ added in v0.1.14
func SatsFromNote ¶
func SeedToNsec ¶
func ValidateURL ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.