2021-04-17 10:00:07 +00:00
|
|
|
package codec
|
|
|
|
|
|
|
|
import (
|
|
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
|
|
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
|
|
|
|
2022-09-07 06:36:11 +00:00
|
|
|
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
|
2021-04-17 10:00:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// RegisterInterfaces register the Ethermint key concrete types.
|
|
|
|
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
|
|
|
|
registry.RegisterImplementations((*cryptotypes.PubKey)(nil), ðsecp256k1.PubKey{})
|
2022-04-11 10:20:05 +00:00
|
|
|
registry.RegisterImplementations((*cryptotypes.PrivKey)(nil), ðsecp256k1.PrivKey{})
|
2021-04-17 10:00:07 +00:00
|
|
|
}
|