GetPublicKey()
Get the public key from a private key
func GetPublicKey(privateKey string) stringName
Type
Description
package main
import (
"fmt"
"github.com/circular-protocol/circular-go/utils"
)
func main() {
var private_key = "0x40942ed2f05daf2a1b0a36453e5164755dd9ac4c79636f1a243eb21a16e0e4df"
result := utils.GetPublicKey(private_key)
fmt.Println(result)
}Last updated