Documentation ¶
Index ¶
Constants ¶
View Source
const ( Sepolia = "11155111" Goerli = "5" )
Variables ¶
This section is empty.
Functions ¶
func PlayConfig ¶ added in v0.9.1
func PlayConfig() (*ENSConfig, *SubscriptionConfig)
PlayConfig defines the configuration for fdp-play
func TestnetConfig ¶ added in v0.9.1
func TestnetConfig(chainId string) (*ENSConfig, *SubscriptionConfig)
TestnetConfig defines the configuration for goerli/sepolia testnet
Types ¶
type ENSConfig ¶ added in v0.9.3
type ENSConfig struct { ChainID string ENSRegistryAddress string FDSRegistrarAddress string PublicResolverAddress string ProviderDomain string ProviderBackend string }
ENSConfig handles the ENS configuration
type SubscriptionConfig ¶ added in v0.9.3
SubscriptionConfig handles the Subscription Management
Click to show internal directories.
Click to hide internal directories.