identity

package
v0.9.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRecipient

func CheckRecipient(recipient string) (string, error)

CheckRecipient validates the recipient format based on the criteria

func IsValidAddress

func IsValidAddress(address string) bool

IsValidAddress checks if the given address is a valid Ethereum address

func IsValidAlias

func IsValidAlias(alias string) bool

IsValidAlias checks if the alias is a valid alias format

Types

type Identity

type Identity struct {
	NormalAddress   string
	ChecksumAddress string
	SessionId       string
}

Identity contains all flavors of identifiers used across stream, api and client for a single agent.

Jump to

Keyboard shortcuts

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