ensm

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ensm stands for ENS Manager for fairOS. It initialises an eth client and only exposes the essential functionalities for fairOS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENSManager

type ENSManager interface {
	GetOwner(username string) (common.Address, error)
	RegisterSubdomain(username string, owner common.Address, key *ecdsa.PrivateKey) error
	SetResolver(username string, owner common.Address, key *ecdsa.PrivateKey) (string, error)
	SetAll(username string, owner common.Address, key *ecdsa.PrivateKey) error
	GetInfo(username string) (*ecdsa.PublicKey, string, error)
	GetInfoFromNameHash(node [32]byte) (common.Address, *ecdsa.PublicKey, string, error)
	GetNameHash(username string) ([32]byte, error)
}

ENSManager interface takes care of the ens based account management

Directories

Path Synopsis
eth

Jump to

Keyboard shortcuts

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