nip19

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(bech32string string) ([]byte, string, error)

func EncodeNote

func EncodeNote(eventIdHex string) (string, error)

func EncodePrivateKey

func EncodePrivateKey(privateKeyHex string) (string, error)

func EncodePublicKey

func EncodePublicKey(publicKeyHex string) (string, error)

func TranslatePublicKey

func TranslatePublicKey(bech32orHexKey string) string

TranslatePublicKey turns a hex or bech32 public key into always hex

Types

This section is empty.

Jump to

Keyboard shortcuts

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