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

Forms

Publish a form, collect responses on chain, read them back here. Respondents fill it in on this page and pay their own storage deposit; withdrawing a response refunds it.

Form Status Responses Fields Owner
Boss Donkey open 1 1 g1eyr3hf…x2v0
ss expired 1 1 g1lyj99a…6u5q
dwefewfw closed 0 2 g1eyr3hf…x2v0
The big bad donkey open 2 5 g1eyr3hf…x2v0

Create a form

Up to 8 fields. Blank rows are skipped. Submitting opens your wallet with the call already filled in.

/r/nym-encapsulate001/test2 Exec: Createform
URL name — lowercase letters, digits, hyphens
Title
Field 1
Field 1 type
Field 1 required
Field 1 options
Field 2
Field 2 type
Field 2 required
Field 2 options
Field 3
Field 3 type
Field 3 required
Field 3 options
Field 4
Field 4 type
Field 4 required
Field 4 options
Field 5
Field 5 type
Field 5 required
Field 5 options
Field 6
Field 6 type
Field 6 required
Field 6 options
Field 7
Field 7 type
Field 7 required
Field 7 options
Field 8
Field 8 type
Field 8 required
Field 8 options
One response per address
Close at chain height (0 = never)
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/nym-encapsulate001/test2" -func "CreateForm" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "pearl-1" -remote "https://rpc.pearl.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.pearl.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/nym-encapsulate001/test2" -func "CreateForm" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -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 "pearl-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.pearl.testnets.gno.land" call.tx
  

From a terminal, Create takes the same thing as pipe-separated field specs — see the realm source.