blockchains

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 14 Imported by: 0

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)

Jump to

Keyboard shortcuts

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