ens

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLookupService

func NewLookupService(clientURL string) (nameservice.Lookup, error)

NewLookupService creates a new ethereum name service (ENS) lookup service.

Types

type LookupService

type LookupService struct {
	// contains filtered or unexported fields
}

LookupService for ethereum name service (ENS).

func (LookupService) ResolveAddress

func (s LookupService) ResolveAddress(ctx context.Context, protocol, network string, address []byte) (string, error)

ResolveAddress against the ethereum name service (ENS).

func (LookupService) ResolveName

func (s LookupService) ResolveName(ctx context.Context, protocol, network, domainName string) ([]byte, error)

ResolveName against the ethereum name service (ENS).

Jump to

Keyboard shortcuts

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