PublicKeyFromPrivate
func PublicKeyFromPrivate(privateKey []byte) ([]byte, error)
PublicKeyFromPrivate derives a compressed secp256k1 public key.
Parameters
| Name | Type | Description |
|---|---|---|
privateKey | []byte | Parameter privateKey of PublicKeyFromPrivate. |
Returns
([]byte, error)
Source
This page is generated from SDK source metadata and the translation catalog.