Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

agentid source pure

Package agentid is the Agent ID name standard.

Overview

Package agentid is the Agent ID name standard.

A registry realm stores which wallet owns a name. This package only decides which strings are names. The display suffix is not part of the on-chain key.

Constants 1

const MinLen, MaxLen, Suffix

1const (
2	// MinLen is the shortest claimable name.
3	MinLen = 3
4	// MaxLen is the longest claimable name.
5	MaxLen = 15
6	// Suffix is the label shown to people. Claim and Pay use the bare name.
7	Suffix = ".agent"
8)
source

Functions 2

func Reserved

1func Reserved(name string) bool
source

Reserved reports whether name is held back from claims.

func Valid

1func Valid(name string) bool
source

Valid reports whether name is 3–15 lowercase letters or digits.

Dependencies

Imports 0

Imports nothing.

/p/g1y0n2geu0rmdrm9u30c5fmk3ykkl2enw9n9yr2k/agentid

Imported by indexer

Source Files 2