Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchains ¶
type Blockchains struct {
// Tron
Tron *tron.Tron
// EVM blockchains
Ethereum *evm.EVM
BinanceSmartChain *evm.EVM
Polygon *evm.EVM
Arbitrum *evm.EVM
Optimism *evm.EVM
Linea *evm.EVM
// BTC Like blockchains
Bitcoin *btc.BTC
Litecoin *ltc.LTC
BitcoinCash *bch.BCH
Dogecoin *doge.Doge
}
func New ¶
func New(ctx context.Context, conf config.Blockchain, sdk *walletsdk.SDK) (*Blockchains, error)
func (*Blockchains) GetEVMByBlockchain ¶
func (b *Blockchains) GetEVMByBlockchain(blockchainType wconstants.BlockchainType) (*evm.EVM, error)
Click to show internal directories.
Click to hide internal directories.