Documentation ¶
Overview ¶
Copyright 2024 Tabi Foundation This file is part of the Tabi Network packages.
Tabi is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The Tabi packages are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Index ¶
Constants ¶
const ( // EthSecp256k1Type defines the ECDSA secp256k1 used on Ethereum EthSecp256k1Type = hd.PubKeyType(ethsecp256k1.KeyType) )
Variables ¶
var ( // SupportedAlgorithms defines the list of signing algorithms used on Tabi: // - eth_secp256k1 (Ethereum) // - secp256k1 (Tendermint) SupportedAlgorithms = keyring.SigningAlgoList{EthSecp256k1, hd.Secp256k1} // SupportedAlgorithmsLedger defines the list of signing algorithms used on Tabi for the Ledger device: // - eth_secp256k1 (Ethereum) // - secp256k1 (Tendermint) SupportedAlgorithmsLedger = keyring.SigningAlgoList{EthSecp256k1, hd.Secp256k1} )
var (
// EthSecp256k1 uses the Bitcoin secp256k1 ECDSA parameters.
EthSecp256k1 = ethSecp256k1Algo{}
)
Functions ¶
func EthSecp256k1Option ¶
EthSecp256k1Option defines a function keys options for the ethereum Secp256k1 curve. It supports eth_secp256k1 and secp256k1 keys for accounts.
Types ¶
This section is empty.