How to use QuestMaster
Note
QuestMaster runs on the Onyx test network (onyx-1) and uses test GNOT from the faucet, not real money.
Every action is a transaction on this realm. Use either:
- gnoweb: the action links on each quest page open a form for the function, with the quest number filled in. Sign it with a browser wallet such as Adena, or copy the gnokey command the form shows.
- gnokey: the commands below, already set for Onyx. Replace
KEYwith your key name andIDwith the quest number.
Only direct calls from a wallet are accepted (not calls from other realms or maketx run scripts). Only PostQuest takes coins; every other call must send none.
Warning
Posters: check your quest. If you do not approve or reject a submission within the review window (about 7 days), the builder is paid automatically.
Post a quest
Send the reward with the call: exactly one coin, in ugnot, at least 1 GNOT (1 GNOT = 1000000 ugnot). Arguments: title (up to 80 characters, one line), details (up to 1000 characters), work window in blocks (1,000 to 2,200,000). Anyone except you can claim your quest while it is open; once it is claimed, closing it (below) stops new claims. Posting also stores the quest on chain. The chain charges a storage deposit for that, paid by the poster on top of the reward: about 0.65 to 0.8 GNOT for a new quest at 100 ugnot per byte, the price on Onyx (measured on a local node). It is held by the chain, not by this realm, and is not part of the escrow; when a later call makes the stored data smaller, the chain returns that share to whoever made the call.
With gnoweb, pick a reward: 1 GNOT · 5 GNOT · 10 GNOT. The form shows the amount and asks you to confirm adding the coins. For another amount, change .send= in the link's address or use gnokey.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "PostQuest" -args "Fix a typo in the docs" -args "Details of the task" -args "20000" -send "5000000ugnot" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Claim a quest
Anyone except the poster. The work window starts now.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "ClaimQuest" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Submit work
The builder only, until the work deadline. The link must start with https://.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "SubmitWork" -args "ID" -args "https://link-to-your-work" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Approve work
The poster only. The builder is paid at once.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "ApproveWork" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Reject work
The poster only, until the review deadline. The quest opens again (or, if you closed it, ends with a refund to you); the reason and the reject count are public.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "RejectWork" -args "ID" -args "What is missing" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Cancel or close a quest
The poster only. An open quest is cancelled at once and the reward is refunded. A claimed or submitted quest is closed instead: no coins move now, the builder keeps their turn, and the reward goes back to you when that turn ends without approval (the builder unclaims, the work deadline passes and anyone releases it, or you reject the work). Nobody can claim it again. Closing cannot be undone.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "CancelQuest" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Unclaim a quest
The builder only, before submitting. The quest opens again (or, if the poster closed it, ends with a refund to the poster).
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "UnclaimQuest" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Release a quest
Anyone, once the work deadline has passed without a submission. The quest opens again (or, if the poster closed it, ends with a refund to the poster).
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "ReleaseQuest" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Claim a timeout payout
The builder only, once the review deadline has passed without an answer from the poster.
gnokey maketx call -pkgpath "gno.land/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster" -func "ClaimPayout" -args "ID" -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 KEY
Reading the board
/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster:quest/ID: one quest/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster:poster/ADDRESSand/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster:builder/ADDRESS: one address's quests/r/g1llc3lq3zmjtjdk29dk52munrzxt5ne746cl7r8/questmaster:paid: paid quests- Lists take
?page=2and so on, 20 quests per page.
Times are approximate, at about 3.5 seconds per block; deadlines are exact block heights.