Attempts
Attempts returns one bounded page of the public record, starting at a 1-based ID.
Command
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Attempts(,)"
Result
Package advent is Gnoël, an on-chain advent calendar with sealed guesses.
Attempts returns one bounded page of the public record, starting at a 1-based ID.
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Attempts(,)"
Calendar returns tab-separated rows for open doors, with title and clue in base64.
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Calendar()"
CarryOver records a pending seal from the first deployment on Onyx.
# 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/moul/advent/v1" -func "CarryOver" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "CarryOver" -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 "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
FinishCarryOver closes imports and opens regular submissions and reviews.
# 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/moul/advent/v1" -func "FinishCarryOver" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "FinishCarryOver" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
Leaders returns the top 24 addresses with their confirmed solves.
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Leaders()"
Progress lists the latest status of an address across all 24 doors.
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Progress()"
Publish opens a case. The RSA-2048 SPKI public key is pinned for that case so that rotating the key for a new door leaves old doors playable.
# 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/moul/advent/v1" -func "Publish" -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "Publish" -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 "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
gnokey query vm/qeval -remote "https://gno-staging.moul.p2p.team" -data "gno.land/r/moul/advent/v1.Render()"
ReplaceGuess reseals the caller's current guess while it awaits review.
# 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/moul/advent/v1" -func "ReplaceGuess" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "ReplaceGuess" -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 "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
Review records one verdict per consecutive attempt, starting at the first pending ID. A stale batch fails before it can apply verdicts to other guesses.
# 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/moul/advent/v1" -func "Review" -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "Review" -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 "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
# 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/moul/advent/v1" -func "SetOracle" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "SetOracle" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
SetPublisher delegates publishing and clue corrections to another account.
# 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/moul/advent/v1" -func "SetPublisher" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "SetPublisher" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
Submit publicly records the commitment and its encrypted random salt.
# 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/moul/advent/v1" -func "Submit" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "Submit" -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 "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx
UpdateClue corrects the text of an open door while keeping its review schedule, oracle key and submissions intact.
# 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/moul/advent/v1" -func "UpdateClue" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "moulstaging-1" -remote "https://gno-staging.moul.p2p.team" ADDRESSgnokey query -remote "https://gno-staging.moul.p2p.team" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/moul/advent/v1" -func "UpdateClue" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "moulstaging-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://gno-staging.moul.p2p.team" call.tx