Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

builders/v2 package

Overview

Package builders is a public directory of people with proven, paid work.

v2 reads the work record from gild/v1, which counts paid work on both Gild boards, so people who only worked on the newer board can join too.

v1 adds full profiles: a display name, a headline, a short bio, skills, links and an "open to work" switch. Each builder edits their own profile and nobody else can. Work stats are never stored here: they are read from the Gild realm every time, so they cannot be edited or faked.

Anyone can list themselves, but only after finishing at least one paid task on Gild. No oracle, no admin, no off-chain list.

Functions

BuildersJSON

func BuildersJSON(offset, limit int) string
Ask AI Claude ChatGPT

BuildersJSON lists builders with their live Gild stats.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2.BuildersJSON(,)"

Result

IsListed

func IsListed(addr address) bool
Ask AI Claude ChatGPT

IsListed reports whether addr is in the directory.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2.IsListed()"

Result

Leave

func Leave(cur realm)
Ask AI Claude ChatGPT

Leave removes the caller from the directory. Their Gild record stays.

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "Leave" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "Leave" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

ProfileJSON

func ProfileJSON(addr address) string
Ask AI Claude ChatGPT

ProfileJSON returns one builder with live Gild stats, or null.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2.ProfileJSON()"

Result

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render shows the directory, or one profile at u/<address>.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2.Render()"

Result

SetOpen

func SetOpen(cur realm, open bool)
Ask AI Claude ChatGPT

SetOpen flips only the "open to work" switch.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "SetOpen" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "SetOpen" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

SetProfile

func SetProfile(cur realm, name, headline, bio, skills, website, github, x string, open bool)
Ask AI Claude ChatGPT

SetProfile creates or updates the caller's profile. Skills is a comma-separated list. Empty links are allowed. It fails unless the caller has finished at least MinTasks paid Gild tasks.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "SetProfile" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2" -func "SetProfile" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

Size

func Size() int
Ask AI Claude ChatGPT

Size returns how many people are listed.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2.Size()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2, for example a function call with arguments.