util

package
v0.0.0-...-3598874 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PubKeyToAddress

func PubKeyToAddress(pubKey string) (*secp256k1.PubKey, string, error)

PubKeyToAddress converts a base64 encoded public key to a secp256k1 public key and its corresponding Cosmos address.

pubKey is the base64 encoded public key to be converted. Returns the converted secp256k1 public key, its corresponding Cosmos address, and an error if the conversion fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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