Documentation ¶
Index ¶
Constants ¶
View Source
const ( AndroidPlatform = "android" IOSPlatform = "ios" WindowsPlatform = "windows" )
Variables ¶
View Source
var DISPLAY_NAME_EXT = []string{"_eth", ".eth", "-eth"}
View Source
var ErrInvalidDisplayNameEthSuffix = errors.New(`usernames ending with "eth" are not allowed`)
View Source
var ErrInvalidDisplayNameNotAllowed = errors.New("name is not allowed")
View Source
var ErrInvalidDisplayNameRegExp = errors.New("only letters, numbers, underscores and hyphens allowed")
View Source
var IsMobilePlatform = func() bool { return OperatingSystemIs(AndroidPlatform) || OperatingSystemIs(IOSPlatform) }
Functions ¶
func IsENSName ¶ added in v0.179.18
implementation referenced from https://github.com/embarklabs/embark/blob/master/packages/plugins/ens/src/index.js
func OperatingSystemIs ¶ added in v0.171.1
func RecoverKey ¶ added in v0.171.21
func RecoverKey(m *protobuf.ApplicationMetadataMessage) (*ecdsa.PublicKey, error)
func ValidateDisplayName ¶ added in v0.178.1
Types ¶
Click to show internal directories.
Click to hide internal directories.