Documentation ¶
Index ¶
- type BitcoinBaseAdapter
- func (b *BitcoinBaseAdapter) CreateSignedTransaction(p string, backendLogger log.Logger) (string, error)
- func (b *BitcoinBaseAdapter) DeriveAddress(logger log.Logger) (string, error)
- func (b *BitcoinBaseAdapter) DerivePrivateKey(logger log.Logger) (string, error)
- func (b *BitcoinBaseAdapter) DerivePublicKey(logger log.Logger) (string, error)
- func (b *BitcoinBaseAdapter) GetBlockchainNetwork() string
- type BlockchainAdapter
- type IBlockchainAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitcoinBaseAdapter ¶
type BitcoinBaseAdapter struct {
BlockchainAdapter
}
func (*BitcoinBaseAdapter) CreateSignedTransaction ¶
func (*BitcoinBaseAdapter) DeriveAddress ¶
func (b *BitcoinBaseAdapter) DeriveAddress(logger log.Logger) (string, error)
func (*BitcoinBaseAdapter) DerivePrivateKey ¶
func (b *BitcoinBaseAdapter) DerivePrivateKey(logger log.Logger) (string, error)
func (*BitcoinBaseAdapter) DerivePublicKey ¶
func (b *BitcoinBaseAdapter) DerivePublicKey(logger log.Logger) (string, error)
func (*BitcoinBaseAdapter) GetBlockchainNetwork ¶
func (b *BitcoinBaseAdapter) GetBlockchainNetwork() string
type BlockchainAdapter ¶
type BlockchainAdapter struct { Seed []byte DerivationPath string PrivateKey string IsDev bool IBlockchainAdapter }
BlockchainAdapter contains common fields for all Blockchain Adapter variants
type IBlockchainAdapter ¶
type IBlockchainAdapter interface { DerivePrivateKey(log.Logger) (string, error) DerivePublicKey(log.Logger) (string, error) DeriveAddress(log.Logger) (string, error) GetBlockchainNetwork() string CreateSignedTransaction(string, log.Logger) (string, error) CreateSignature(string, log.Logger) (string, error) }
IBlockchainAdapter Blockchain Adapter Interface contains common methods for all Blockchain Adapter variants
Click to show internal directories.
Click to hide internal directories.