network

package
v0.0.0-...-07d62d3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainNetwork

type BlockchainNetwork string

BlockchainNetwork backend that we currently support

const (
	NetworkEthereum             BlockchainNetwork = `ethereum`
	NetworkArbitrum             BlockchainNetwork = `arbitrum`
	NetworkSolana               BlockchainNetwork = `solana`
	NetworkSui                  BlockchainNetwork = `sui`
	NetworkSuperpositionTestnet BlockchainNetwork = `superposition_testnet`
	NetworkSuperpositionMainnet BlockchainNetwork = `superposition_mainnet`
)

func ParseEthereumNetwork

func ParseEthereumNetwork(network_ string) (network BlockchainNetwork, err error)

ParseEthereumNetwork takes a network name as a string and tries to convert it to an ethereum BlockchainNetwork

Jump to

Keyboard shortcuts

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