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.

gauntlet package

Overview

Package gauntlet is a bounty board where the chain grades the answers.

Post a coding challenge with a GNOT reward. Solvers commit a hash, deploy a realm with a Solve function, and reveal it. This realm runs the tests itself and pays the earliest commit that passes. No reviewer, no disputes.

Function

HashFor

func HashFor(pkgPath, salt string) string
Ask AI Claude ChatGPT

HashFor computes the commit hash for a solution realm path and a salt. Keep the salt secret until you reveal.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g188c5k6v0tmfyevfzj962jkajjqt4ddtml8zw0x/gauntlet.HashFor(,)"

Result

Gno Expression Evaluator

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