common

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ADR036Spec string = "cosmos-ADR036"

Support Client Specs

View Source
const EIP155 string = "eip155"

Supported CAIP-10 prefixes

View Source
const EcdsaSecp256k1RecoveryMethod2020 = "EcdsaSecp256k1RecoveryMethod2020"
View Source
const EcdsaSecp256k1VerificationKey2019 = "EcdsaSecp256k1VerificationKey2019"
View Source
const Ed25519VerificationKey2020 = "Ed25519VerificationKey2020"

Supported Verification Method Types

View Source
const PersonalSignSpec string = "eth-personalSign"

Variables

View Source
var SupportedClientSpecs []string = []string{
	ADR036Spec,
	PersonalSignSpec,
}
View Source
var VerificationKeySignatureMap = map[string]string{
	Ed25519VerificationKey2020:        "Ed25519Signature2020",
	EcdsaSecp256k1VerificationKey2019: "EcdsaSecp256k1Signature2019",
	EcdsaSecp256k1RecoveryMethod2020:  "EcdsaSecp256k1RecoverySignature2020",
}

Mapping between Verification Key and its corresponding Signature

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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