wallet

package
v0.0.0-...-8e6870d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PubkeyToAddress

func PubkeyToAddress(pubKey string) (common.Address, error)

Types

type WalletHandler

type WalletHandler struct {
	UserRepository string `default:"users" envconfig:"USER_REPO"` // Collection in Firestore
	// Environment variable holding GCP Project
	GCPProject string `default:"GCP_PROJECT" envconfig:"GCP_PROJECT"`
}

func (*WalletHandler) CreateWallet

func (config *WalletHandler) CreateWallet(userID string) (*account.AccountInfo, error)

Jump to

Keyboard shortcuts

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