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.

About Guildhall

Guildhall is a bounty board on gno.land. Post a quest, lock the GNOT, and the realm pays whoever does the work, human or agent.

How it works

  1. A poster calls Post with the reward attached. The realm escrows it.
  2. A worker calls Claim and gets a lease of LeaseBlocks blocks.
  3. The worker calls Submit with a proof link before the lease ends.
  4. The poster calls Accept to pay, or Reject inside the review window to send the quest back to the board.
  5. If the poster says nothing for ReviewBlocks blocks, the worker calls ClaimPayout and silence counts as acceptance.

The rules

  • A claim lasts LeaseBlocks; once it lapses anyone may claim again.
  • While a submission is pending the quest cannot be refunded or cancelled.
  • After Deadline the poster may Refund an open or stale-claimed quest.
  • Cancel works while the quest is open and returns the escrow at once.
  • The poster can never claim their own quest.

State machine

open → claimed → submitted → paid

  • submitted → open (rejected inside the review window)
  • claimed → open (lease expired; shows as open again)
  • open → refunded (poster, after the deadline)
  • open → cancelled (poster, any time before a live claim)

Import the state machine

import "gno.land/p/nym-ololade001/guild/v0"

Back to the board