/r/moul/advent/v0
Gnoël, an on-chain advent calendar with sealed guesses.
Gnoël, an on-chain advent calendar with sealed guesses.
Gnoël, an on-chain advent calendar with sealed guesses.
Gnoël, an on-chain advent calendar with sealed guesses.
issues narrow, bounded, revocable capabilities to agents — instead of handing an agent a wallet key and hoping its prompt stays safe. The demo makes three ideas that are usually conflated stand apart:
shared, contestable memory for multiple agents. Most "agent memory" products store text and retrieve similar chunks. That works for one agent talking to itself.
commit-reveal adversarial review protocol for disputes over agent work. The hard part of an agent economy is not paying agents — it is deciding what happens when an agent's output is disputed.
models an AI agent stewarding a versioned on-chain package — without ever letting it deploy on its own authority.
on-chain identity and lifecycle registry for autonomous (AI) agents. The premise: a long-lived agent identity is *weak* evidence.
append-only log of agent execution receipts. The thesis: provenance is not correctness.
bounded message bus for autonomous (AI) agents. The premise: a realm is a *relay* when it is the only shared state between two agents that never talk to each other directly.
moul's personal blog on gno.land: one realm, one author, posts that live in chain storage rather than in the code.
one realm moul's other realms read their settings from: a key/value store plus the manager list that decides who may write it.
shows a realm importing and composing packages from ANOTHER namespace — the whole point of the demo.
demonstrates a minimal time-locked token vault built on top of the grc20 token package.
based on Wikipedia's Solidity example: https://en.wikipedia.org/wiki/Solidity
hands a small amount of GNOT to someone who has none, on the record, in two calls that are meant to travel in one transaction.
hands a small amount of GNOT to someone who has none, on the record, in two calls that are meant to travel in one transaction.
on-chain software forge: repos, an append-only reference log, issues, change requests and reviews, browsable through gnoweb and writable only through signed transactions.
curated index of art on gno.land, in whichever form the reader can actually consume. It stores no art.
open, on-chain map from a deployed gno package path back to the source that produced it: repository, commit, directory.
implements GNS (Gno Name Service): an ENS-equivalent naming system expressed as a single Gno-native realm. The design goal is NOT byte-for-byte ENS compatibility.
moul's personal grant board. It is small on purpose.
canary realm: it proves the end-to-end pipeline (workspace resolution of a versioned local dependency, gno test, gno lint, and CI) works from the very first commit. It has no external dependencies.
realm behind https://gno.land/u/moul.
untrusted-render: this realm stores no string of its own.
reaction block any realm can embed, keyed on the page it appears on rather than on the realm that stores it.
registry every version of a project asks "am I the latest, and if not, what am I allowed to do?".
directory of moul's small gno.land utilities: one page listing every tool, each tool a realm of its own at `r/moul/toolbox/<slug>`. It holds no logic.
toolbox tool for gno.land identities: it turns a username into an address, an address into a username, and tells you which of the two you are actually holding. It is the page form of
Realm vesting answers one question for a gno.land account: of the coins it holds, how many can actually move right now.
reads one address across fifteen other realms that are already live, and renders everything they will say about it on one page. It is a composability demo with a working product hiding inside it.
worked example of wiring moul's developer packages into one realm: what a new realm should copy. Everything here is a COMBINATION.
runs every string algorithm in p/moul over one input at once, so they can be compared rather than read about one at a time. Each of these has its own demo realm showing it alone.
minimal constant-product automated market maker for GRC20 token pairs, in a single file. It holds many pools in one realm.
makes fragmentation a number you can act on. A soft delete does not free anything. It clears the element and leaves the tree node behind, so the bytes stay locked and every read still walks past them.
small gnoweb demo of the p/moul/x/daily/ahocorasick(/p/moul/x/daily/ahocorasick/v0) library: it runs one automaton over a text once and shows the overlapping matches a k-pass scan would have to pay k passes for.
small on-chain ASCII art generator. Instead of a hand-authored font table, each pattern is produced by a short, pure, deterministic algorithm -- e.g.
small on-chain ASCII art generator. Instead of a hand-authored font table, each pattern is produced by a short, pure, deterministic algorithm -- e.g.
small gnoweb demo of the Base58 codec provided by the p/moul/x/daily/b58(/p/moul/x/daily/b58/v0) library: it renders the alphabet, a gallery of worked examples, and an interactive hex → Base58 round-tripper.
Gno port of the classic Solidity "Ballot" voting contract from the Solidity docs.
small gnoweb demo of the base32 codec provided by the p/moul/x/daily/base32(/p/moul/x/daily/base32/v0) library: it shows the RFC 4648 vectors alongside Crockford, and the forgiving decodes Crockford allows.
small gnoweb demo of the base32 codec provided by the p/moul/x/daily/base32(/p/moul/x/daily/base32/v0) library: it shows the RFC 4648 vectors alongside Crockford, and the forgiving decodes Crockford allows.
small gnoweb demo of the Bech32 and Bech32m codec provided by the p/moul/x/daily/bech32(/p/moul/x/daily/bech32/v0) library: it takes a real gno.land address apart, shows the BIP-173 and BIP-350 test vectors side by…
small gnoweb demo of the shortest-path search provided by the p/moul/x/daily/bellmanford(/p/moul/x/daily/bellmanford/v0) library: cheapest routes across a network where one hop pays a rebate, and the answer a…
small gnoweb demo of the bencode codec provided by the p/moul/x/daily/bencode(/p/moul/x/daily/bencode/v0) library: the four types, the round trip that makes an infohash reproducible, and the non-canonical inputs…
small gnoweb demo of the bidirectional map provided by the p/moul/x/daily/bidimap(/p/moul/x/daily/bidimap/v0) library: it shows the reverse lookup and what happens when a binding is displaced.
small gnoweb demo of the dense bit vector provided by the p/moul/x/daily/bitset(/p/moul/x/daily/bitset/v0) library: it sieves the primes under 100 into a bit set and shows the set algebra on two small sets.
multi-author on-chain blog realm for gno.land. Any caller can Publish a post; posts are stored persistently and rendered newest-first.
multi-author on-chain blog realm for gno.land. Any caller can Publish a post; posts are stored persistently and rendered newest-first.
ports the classic Bloom filter data structure to gno.land: a fixed-size bit array plus k independent hash functions that let you test set membership with zero false negatives and a small, bounded false-positive rate —…
shared on-chain Bulls & Cows puzzle: one secret 4-digit code (distinct digits) per round, guessed cooperatively/competitively by anyone who calls Guess. Bulls = right digit, right spot. Cows = right digit, wrong spot.
shared on-chain Bulls & Cows puzzle: one secret 4-digit code (distinct digits) per round, guessed cooperatively/competitively by anyone who calls Guess. Bulls = right digit, right spot. Cows = right digit, wrong spot.
small gnoweb demo of the vesting calculator provided by the p/moul/x/daily/cliffvesting(/p/moul/x/daily/cliffvesting/v0) library: the cliff step, the linear ramp, and integer rounding.
small gnoweb demo of the vesting calculator provided by the p/moul/x/daily/cliffvesting(/p/moul/x/daily/cliffvesting/v1) library: the cliff step, the linear ramp, integer rounding, and the two arithmetic bugs…
blind, multiplayer number-guessing puzzle. Unlike a classic higher/lower guessing game, closestguess gives NO feedback per guess.
blind, multiplayer number-guessing puzzle. Unlike a classic higher/lower guessing game, closestguess gives NO feedback per guess.
one-on-one coin-flip duel: challenge another address, they call heads or tails, and the block settles it. No stakes, just bragging rights tracked in an on-chain win/loss record.
one-on-one coin-flip duel: challenge another address, they call heads or tails, and the block settles it. No stakes, just bragging rights tracked in an on-chain win/loss record.
small gnoweb demo of the commit-reveal scheme provided by the p/moul/x/daily/commitreveal(/p/moul/x/daily/commitreveal/v0) library: the two phases, and what the salt is for. It contains no crypto of its own.
small gnoweb demo of the commit-reveal scheme provided by the p/moul/x/daily/commitreveal(/p/moul/x/daily/commitreveal/v0) library: the two phases, and what the salt is for. It contains no crypto of its own.
implements "Counter Club": a single shared integer counter with a rolling history of the last 20 mutations.
small gnoweb demo of the frequency sketch provided by the p/moul/x/daily/countminsketch(/p/moul/x/daily/countminsketch/v0) library: fixed storage, one-sided error, and what a collision looks like.
small gnoweb demo of the cowsay renderer provided by the p/moul/x/daily/cowsay(/p/moul/x/daily/cowsay/v0) library: it makes the ASCII cow say whatever you put in the path.
small gnoweb demo of the cowsay renderer provided by the p/moul/x/daily/cowsay(/p/moul/x/daily/cowsay/v0) library: it makes the ASCII cow say whatever you put in the path.
small gnoweb demo of the CRC-32 checksum provided by the p/moul/x/daily/crc32(/p/moul/x/daily/crc32/v0) library: it checksums a few strings and shows that a one-character change moves the result completely.
small gnoweb demo of the CRC-32 checksum provided by the p/moul/x/daily/crc32(/p/moul/x/daily/crc32/v0) library: it checksums a few strings and shows that a one-character change moves the result completely.
small gnoweb demo of the cron expression parser provided by the p/moul/x/daily/cron(/p/moul/x/daily/cron/v0) library: the grammar, the next firing times of a handful of schedules, the union rule that governs the two…
accounting-only port of the classic Solidity Kickstarter-style crowdfunding contract to a gno.land realm. A creator Launches a campaign with a funding goal and a duration (in blocks).
accounting-only port of the classic Solidity Kickstarter-style crowdfunding contract to a gno.land realm. A creator Launches a campaign with a funding goal and a duration (in blocks).
implements a provably-fair on-chain dice game for gno.land. There is no true randomness on-chain: every node must reach the same result deterministically.
small gnoweb demo of the shortest-path search provided by the p/moul/x/daily/dijkstra(/p/moul/x/daily/dijkstra/v0) library: the cheapest route to every node, the order the search settles them in, and the tie-break…
small gnoweb demo of the union-find structure provided by the p/moul/x/daily/disjointset(/p/moul/x/daily/disjointset/v0) library: it merges a fixed list of pairs and shows the resulting partition.
ports the classic Solidity Dutch-auction pattern to gno.land: a seller lists an item at a high starting price that decays linearly, block by block, down to a floor price.
on-chain egg incubator and creature collector.
on-chain egg incubator and creature collector.
Magic 8-Ball realm: ask a yes/no question and the block height decides your fate. Deterministic (no real randomness on-chain).
Magic 8-Ball realm: ask a yes/no question and the block height decides your fate. Deterministic (no real randomness on-chain).
idiomatic gno.land port of the classic Solidity English (ascending-bid) auction. Anyone can Start an auction for a named item with a duration in blocks; bidders call Bid with a strictly increasing amount.
idiomatic gno.land port of the classic Solidity English (ascending-bid) auction. Anyone can Start an auction for a named item with a duration in blocks; bidders call Bid with a strictly increasing amount.
idiomatic gno.land port of the Solidity ERC-1155 multi-token standard. A single realm tracks many distinct token ids, each with its own fungible balances.
implements MiniToken, a minimal fungible token modeled on the Solidity ERC-20 idea, ported to gno.land (gno 0.9 / sapphire). State is package-level and persistent.
idiomatic gno.land port of the Solidity ERC-721 non-fungible token standard. Each token has a unique integer id owned by exactly one address; ids are minted sequentially.
idiomatic gno.land port of the Solidity ERC-721 non-fungible token standard. Each token has a unique integer id owned by exactly one address; ids are minted sequentially.
toy points faucet realm for the gno.land sapphire testnet. Any caller may Claim() 100 points, but only once per cooldown window of 100 blocks.
small gnoweb demo of the Binary Indexed Tree provided by the p/moul/x/daily/fenwick(/p/moul/x/daily/fenwick/v0) library: prefix sums, range queries, the internal ranges that make the structure legible, and the…
small gnoweb demo of the sorted-vector map provided by the p/moul/x/daily/flatmap(/p/moul/x/daily/flatmap/v0) library: sorted storage, indexed access and range queries. It contains no map logic of its own.
small gnoweb demo of the exact rational arithmetic provided by the p/moul/x/daily/fraction(/p/moul/x/daily/fraction/v0) library: it shows thirds summing to exactly one, and a comparison that a decimal detour would…
small gnoweb demo of the p/moul/x/daily/geohash(/p/moul/x/daily/geohash/v0) library: it shows a point encoded at growing precision, the box a hash actually names, and the eight cells around one, including the wrap…
gnoweb demo of the shell-pattern matcher provided by the p/moul/x/daily/glob(/p/moul/x/daily/glob/v0) library: the grammar, the two matching modes, and the allowlist the package exists for.
simplified on-chain governance realm inspired by OpenZeppelin's Governor.
simplified on-chain governance realm inspired by OpenZeppelin's Governor.
public, on-chain guestbook realm for gno.land. Anyone can sign the guestbook with a short message via the Sign crossing function.
public, on-chain guestbook realm for gno.land. Anyone can sign the guestbook with a short message via the Sign crossing function.
tiny on-chain nickname registry.
tiny on-chain nickname registry.
classic hangman game for gno.land. The secret word rotates every ~"day" (a fixed span of blocks) and is chosen deterministically from a built-in word list using runtime.ChainHeight().
small gnoweb demo of the binary heap / priority queue provided by the p/moul/x/daily/heap(/p/moul/x/daily/heap/v0) library: it shows min- and max-ordering and the deterministic tiebreak.
small gnoweb demo of the xxd-style byte dump provided by the p/moul/x/daily/hexdump(/p/moul/x/daily/hexdump/v0) library: it shows what a rendered string hides. It contains no formatting logic of its own.
small gnoweb demo of the canonical Huffman codec provided by the p/moul/x/daily/huffman(/p/moul/x/daily/huffman/v0) library: the code table for a worked example, what the packed stream looks like, what the skew is…
small gnoweb demo of the human-facing formatters provided by the p/moul/x/daily/humanize(/p/moul/x/daily/humanize/v0) library: byte sizes, thousands separators, ordinals and block counts.
"king of the hill" dice game. Anyone can Roll a pseudo-random 1-100 die; beat the reigning king's roll and you dethrone them, becoming king yourself.
"king of the hill" dice game. Anyone can Roll a pseudo-random 1-100 die; beat the reigning king's roll and you dethrone them, becoming king yourself.
small gnoweb demo of the Knuth–Morris–Pratt substring search provided by the p/moul/x/daily/kmp(/p/moul/x/daily/kmp/v0) library: it shows the failure table and overlapping matches.
on-chain score leaderboard realm. Any account can accumulate points via AddPoints and (optionally) attach a display name with SetName.
on-chain score leaderboard realm. Any account can accumulate points via AddPoints and (optionally) attach a display name with SetName.
small gnoweb demo of the Levenshtein edit-distance library provided by p/moul/x/daily/levenshtein(/p/moul/x/daily/levenshtein/v0): it renders an explanation, worked examples, and an interactive distance…
small gnoweb demo of the Levenshtein edit-distance library provided by p/moul/x/daily/levenshtein(/p/moul/x/daily/levenshtein/v0): it renders an explanation, worked examples, and an interactive distance…
Conway's Game of Life on Gno — the entire board lives on-chain. Anyone can call Step() to tick the simulation forward, load classic patterns, or sculpt cells one by one.
idiomatic gno.land port of the classic Solidity Lottery contract. Players Enter the current round (one entry per address per round).
small gnoweb demo of the Luhn mod-10 checksum provided by the p/moul/x/daily/luhn(/p/moul/x/daily/luhn/v0) library: put a number in the path and it tells you whether the check digit is right, and what it should have…
small gnoweb demo of the Luhn mod-10 checksum provided by the p/moul/x/daily/luhn(/p/moul/x/daily/luhn/v0) library: put a number in the path and it tells you whether the check digit is right, and what it should have…
small on-chain demo of the Markov-chain text generator provided by the p/moul/x/daily/markov(/p/moul/x/daily/markov/v0) library.
implements "Memory Match", a concentration game on a 4x4 grid of 8 emoji pairs.
idiomatic gno.land port of the classic Solidity MerkleDistributor airdrop (Uniswap's contract, OpenZeppelin's MerkleProof). A fixed merkleRoot commits to a set of (address, amount) allocations.
Merkle-gated airdrop that actually moves GNOT. It is the successor to r/moul/x/daily/merkledrop/v0, which was generated by the daily pipeline and is deployed on mainnet.
public microblog wall for gno.land. Anyone can Post a short message (<= maxMsgLen chars). Every post records the caller address, the message, and the block height at which it was made.
public microblog wall for gno.land. Anyone can Post a short message (<= maxMsgLen chars). Every post records the caller address, the message, and the block height at which it was made.
small gnoweb demo of the bag / frequency counter provided by the p/moul/x/daily/multiset(/p/moul/x/daily/multiset/v0) library: word frequencies, ranking, and multiset algebra.
implements an M-of-N approval multisig realm.
small gnoweb demo of the MurmurHash3 x86_32 hash provided by the p/moul/x/daily/murmur3(/p/moul/x/daily/murmur3/v0) library: it hashes a few strings, runs the SMHasher self-test on chain, and shows a thousand keys…
small gnoweb demo of the p/moul/x/daily/myersdiff(/p/moul/x/daily/myersdiff/v0) library: four fixed document pairs, each showing one behaviour worth knowing before using it in a realm.
Number Guessing Game realm. A hidden target in 1..100 is derived deterministically from the block height at which the round started. Players call Guess(n) to receive "higher", "lower" or "correct".
small gnoweb demo of the insertion-ordered map provided by the p/moul/x/daily/orderedmap(/p/moul/x/daily/orderedmap/v0) library: it shows that order survives updates and deletes.
small gnoweb demo of the Pig Latin translator provided by the p/moul/x/daily/piglatin(/p/moul/x/daily/piglatin/v0) library: it renders the rules, a gallery of worked examples, and an interactive sentence…
small gnoweb demo of the Pig Latin translator provided by the p/moul/x/daily/piglatin(/p/moul/x/daily/piglatin/v0) library: it renders the rules, a gallery of worked examples, and an interactive sentence…
shared 16x16 pixel canvas: anyone can paint one cell at a time from a fixed 9-colour palette, and the canvas renders in gnoweb as a grid of coloured blocks.
on-chain poll / voting realm for gno.land. Anyone can create a poll with a question and a comma-separated list of options. Each caller address may cast exactly one vote per poll.
on-chain poll / voting realm for gno.land. Anyone can create a poll with a question and a comma-separated list of options. Each caller address may cast exactly one vote per poll.
small gnoweb demo of the escrow ledger provided by the p/moul/x/daily/pullpayment(/p/moul/x/daily/pullpayment/v0) library: crediting a split, claiming it, and why a reentrant claim gets nothing.
small gnoweb demo of the escrow ledger provided by the p/moul/x/daily/pullpayment(/p/moul/x/daily/pullpayment/v0) library: crediting a split, claiming it, and why a reentrant claim gets nothing.
multiple-choice trivia quiz where every player runs their own independent streak instead of racing others for a single shared question.
multiple-choice trivia quiz where every player runs their own independent streak instead of racing others for a single shared question.
community "Quote of the Moment" board realm. Anyone can submit a quote via the exported crossing function AddQuote.
quadratic-voting poll board, a Gno take on the classic Solidity "Ballot" voting contract with one twist borrowed from mechanism design instead of one-address-one-vote: every voter gets a fixed voice- credit budget per…
quadratic-voting poll board, a Gno take on the classic Solidity "Ballot" voting contract with one twist borrowed from mechanism design instead of one-address-one-vote: every voter gets a fixed voice- credit budget per…
small on-chain demo of the token-bucket rate limiter provided by the p/moul/x/daily/ratelimit(/p/moul/x/daily/ratelimit/v0) library.
small on-chain demo of the token-bucket rate limiter provided by the p/moul/x/daily/ratelimit(/p/moul/x/daily/ratelimit/v0) library.
emoji reaction board. Each topic collects emoji reactions. A caller may register at most one reaction per topic; the emoji they picked increments a per-topic per-emoji tally.
small gnoweb demo of the fixed-capacity FIFO provided by the p/moul/x/daily/ringbuffer(/p/moul/x/daily/ringbuffer/v0) library: it pushes more entries than the buffer can hold and shows what survives, plus what…
on-chain port of Go's container/ring: a fixed-capacity circular message board where new posts overwrite the oldest entries once full.
small gnoweb demo of the run-length codec provided by the p/moul/x/daily/rle(/p/moul/x/daily/rle/v0) library: it encodes a few sample strings, round-trips them, and reports the size ratio — including the case where the…
small gnoweb demo of the run-length codec provided by the p/moul/x/daily/rle(/p/moul/x/daily/rle/v0) library: it encodes a few sample strings, round-trips them, and reports the size ratio — including the case where the…
small gnoweb demo of the Roman-numeral converter provided by the p/moul/x/daily/romannum(/p/moul/x/daily/romannum/v0) library: it renders a table of worked examples and interactive integer→Roman and Roman→integer…
small gnoweb demo of the ROT13 / Caesar cipher provided by the p/moul/x/daily/rot13(/p/moul/x/daily/rot13/v0) library: it renders an explanation, a worked ROT13 example, and interactive path-driven ROT13 and Caesar…
tiny single-room on-chain RPG. There is exactly one monster in the room at a time.
asynchronous, two-player rock-paper-scissors duel with a commit-reveal handshake.
asynchronous, two-player rock-paper-scissors duel with a commit-reveal handshake.
best-of-three rock-paper-scissors arena against the house.
best-of-three rock-paper-scissors arena against the house.
rock-paper-scissors opponent that doesn't roll dice: it studies each player's move history and always throws the counter to whichever move that player has favored most.
rock-paper-scissors opponent that doesn't roll dice: it studies each player's move history and always throws the counter to whichever move that player has favored most.
small on-chain demo of the semantic-versioning parser/comparator provided by the p/moul/x/daily/semver(/p/moul/x/daily/semver/v0) library.
small gnoweb demo of the SHA-1 implementation provided by the p/moul/x/daily/sha1(/p/moul/x/daily/sha1/v0) library: the published test vectors, the git object ids anyone can check with `git hash-object`, HMAC answers…
small gnoweb demo of the p/moul/x/daily/shuntingyard(/p/moul/x/daily/shuntingyard/v0) library: it shows the three stages of the algorithm (tokens, reverse Polish notation, value) and the refusals that make it…
small gnoweb demo of the Sieve of Eratosthenes provided by the p/moul/x/daily/sieve(/p/moul/x/daily/sieve/v0) library: it renders the primes up to MaxN, the first 100 primes, and an interactive "primes up to n" grid.
small gnoweb demo of the Soundex phonetic algorithm provided by the p/moul/x/daily/soundex(/p/moul/x/daily/soundex/v0) library: it groups a small name list by phonetic key so the "sounds alike" clusters are visible.
small gnoweb demo of the Soundex phonetic algorithm provided by the p/moul/x/daily/soundex(/p/moul/x/daily/soundex/v0) library: it groups a small name list by phonetic key so the "sounds alike" clusters are visible.
small gnoweb demo of the block-character series renderer provided by the p/moul/x/daily/sparkline(/p/moul/x/daily/sparkline/v0) library: it sparks a few fixed series and shows the three behaviours worth knowing…
share-based payment splitter for gno.land. It is an accounting-only port of the Solidity PaymentSplitter pattern: no real coins move. A group is registered with a list of payees and a matching list of integer shares.
share-based payment splitter for gno.land. It is an accounting-only port of the Solidity PaymentSplitter pattern: no real coins move. A group is registered with a list of payees and a matching list of integer shares.
educational data-structure playground that keeps BOTH a LIFO stack and a FIFO queue of ints, so you can compare how the two behave.
simplified, accounting-only port of Synthetix StakingRewards to gno.land. Users stake a fungible amount; rewards accrue every block, proportional to each staker's share of the total staked, at a fixed rewardPerBlock.
on-chain check-in streak tracker: call CheckIn once per "day" to keep a streak alive, miss one and it resets to 1.
on-chain check-in streak tracker: call CheckIn once per "day" to keep a streak alive, miss one and it resets to 1.
on-chain habit-streak tracker. Call CheckIn() again within graceBlocks of your last check-in and the streak keeps growing; let the gap run past that and it resets to zero on your next check-in.
on-chain habit-streak tracker. Call CheckIn() again within graceBlocks of your last check-in and the streak keeps growing; let the gap run past that and it resets to zero on your next check-in.
on-chain virtual pet. Hatch one, then keep it alive by Feeding, Playing and letting it Sleep — hunger, happiness and energy all decay with block height, and neglect too long kills the pet.
on-chain virtual pet. Hatch one, then keep it alive by Feeding, Playing and letting it Sleep — hunger, happiness and energy all decay with block height, and neglect too long kills the pet.
public guestbook where every message is sealed until a future block height, then permanently unlocked for anyone to read.
public guestbook where every message is sealed until a future block height, then permanently unlocked for anyone to read.
simplified port of OpenZeppelin's TimelockController. Operations are scheduled with a delay (measured in blocks).
public tip jar. Anyone can send real ugnot with an optional message via Tip; the realm keeps a running leaderboard of the most generous tippers and a feed of the most recent tips, both shown in Render.
public tip jar. Anyone can send real ugnot with an optional message via Tip; the realm keeps a running leaderboard of the most generous tippers and a feed of the most recent tips, both shown in Render.
shared, on-chain to-do board realm. Anyone can add an item; the caller's address is recorded as the author. Items can be toggled (open/done) or removed.
shared, on-chain to-do board realm. Anyone can add an item; the caller's address is recorded as the author. Items can be toggled (open/done) or removed.
small gnoweb demo of the dependency ordering provided by the p/moul/x/daily/toposort(/p/moul/x/daily/toposort/v0) library: it shows a build graph resolved into a safe install order, and a deliberately broken graph…
small gnoweb demo of the dependency ordering provided by the p/moul/x/daily/toposort(/p/moul/x/daily/toposort/v0) library: it shows a build graph resolved into a safe install order, and a deliberately broken graph…
small gnoweb demo of the prefix tree provided by the p/moul/x/daily/trie(/p/moul/x/daily/trie/v0) library: type a prefix in the URL and it lists every dictionary word that completes it.
small gnoweb demo of the prefix tree provided by the p/moul/x/daily/trie(/p/moul/x/daily/trie/v0) library: type a prefix in the URL and it lists every dictionary word that completes it.
rotating multiple-choice trivia quiz realm. One question is live at a time. Anyone can call Answer with a choice index; the first caller to answer correctly scores a point and the quiz advances to the next question.
simple on-chain URL alias registry. Callers register an `alias -> url` mapping they own.
simple on-chain URL alias registry. Callers register an `alias -> url` mapping they own.
small gnoweb demo of the p/moul/x/daily/varint(/p/moul/x/daily/varint/v0) library: it shows what the group boundaries cost, what zigzag buys on negative numbers, and which encodings the decoder refuses.
fungible token where new supply is never handed out instantly — it ports the idea behind Solidity's VestingWallet / linear token-streaming contracts (e.g. Sablier) into a single gno.land realm.
daily five-letter word puzzle realm for gno.land. The day's secret word is picked deterministically from the current block height (a "day index"), so every player faces the same word for the same span of blocks.
accounting-only port of Wrapped Ether (WETH). The canonical WETH contract lets anyone lock native ETH and mint a 1:1 ERC-20 representation (and burn it back).
Realm probe is shaped exactly like a generated instance realm: it owns the state, and every exported function is a one-line re-export that forwards `cur` into the shared pure package.
mine that keeps working while you are not looking at it. Ore accrues at a rate set by your level.
one string, on chain, forever. There is a single message slot. Pay more than the last writer paid and the slot is yours; when the clock finally runs out, whatever is in it stays there permanently.
issues two free GRC20 tokens, RED and BLUE, and gives them away on request. It exists so that anything needing a token to experiment on has one that is worthless, unlimited and shared.
permissionless wrapper factory for GRC20 tokens. Point it at any token registered in gno.land/r/nt/grc20reg/v0 and it issues a new one backed by it, with a personality you pick from a list.
renders one address's whole GnoSwap footprint on chain, with no indexer and no off-chain query: balances, liquidity positions, what each one is worth right now, and what it has earned but not collected.
notes board whose only job is to show gno.land/p/moul/kit/index doing the thing a realm with a store always ends up needing: answering "every note tagged gno" as cheaply as it answers "note 7".
issues `moultest`, a NATIVE coin, and gives it away. Native here means the chain's own bank holds it, exactly as it holds GNOT.
turns a GRC20 into a native coin, which is wugnot run backwards. wugnot takes GNOT, a coin the bank holds, and issues a GRC20 receipt for it, because a GRC20 can be pulled by a contract and a native coin cannot.
metadata a native coin does not have. A realm-issued coin is a string and a balance.
registry every AMM pair instance announces itself to, and the unified frontend over all of them.
throwaway GRC20 with an open faucet, used to exercise the pair instances in this repo. It has no value and no owner controls.
Realm aaabbb is ONE AMM pair, AAA/BBB, and nothing else.
throwaway GRC20 with an open faucet, used to exercise the pair instances in this repo. It has no value and no owner controls.
power for a realm-driven account: a payout module installed into gno.land/p/moul/pilot/v0 after the account was deployed. It shows both delegation modes side by side:
chain as a Plan 9 device tree. In Plan 9 a device is not storage, it is code behind a name: reading /dev/time runs a function.
chain as a Plan 9 device tree. In Plan 9 a device is not storage, it is code behind a name: reading /dev/time runs a function.
chain as a Plan 9 device tree. In Plan 9 a device is not storage, it is code behind a name: reading /dev/time runs a function.
Plan 9 namespace server for gno.land. Every account gets a private, persistent namespace: its own RAM root plus a mount table it alone controls.
Plan 9 namespace server for gno.land. Every account gets a private, persistent namespace: its own RAM root plus a mount table it alone controls.
Plan 9 namespace server for gno.land. Every account gets a private, persistent namespace: its own RAM root plus a mount table it alone controls.
honest demonstration of what gno.land can and cannot prove about itself. It keeps a small append-only log in a Merkle mountain range and hands out inclusion proofs against the log's root.
noticeboard whose garbage is a standing bounty. Anyone can post a note with an expiry. Posting locks a storage deposit, paid by the poster.
noticeboard whose garbage is a standing bounty. Anyone can post a note with an expiry. Posting locks a storage deposit, paid by the poster.
small-group coordination you can create in one transaction: three to fifteen people with a shared pot, a way to decide, and a way to leave with their share.
list anyone can get onto by locking a deposit, and anyone can try to get somebody else off by matching that deposit with a bond. The loser of the challenge pays the winner.
recurring support for a builder, on chain. A creator opens a plan with a price per period and a period measured in blocks. A supporter attaches ugnot to Subscribe and buys whole periods of it.
discussion block any realm can embed, keyed on the page it appears on rather than on the realm that stores it.
web of trust other realms can gate on: one address vouches for another, in writing, optionally with GNOT locked behind it. The one call that matters is a plain read:
web of trust other realms can gate on: one address vouches for another, in writing, optionally with GNOT locked behind it. The one call that matters is a plain read:
permanent entry point of the "propose and accept" upgrade pattern (pattern F of the exploration; see ../../README.md). Pattern E lets a deploy take the realm over on the spot.
version 0 of the implementation realm of the "propose and accept" upgrade pattern (pattern F; see ../../README.md). Deploying it only nominates it. It serves nothing until the facade's owner accepts this path.
version 1 of the implementation realm of the "propose and accept" upgrade pattern (pattern F; see ../../README.md). Deploying it only nominates it. It serves nothing until the facade owner accepts this path.
version 0 of the "lazy migration" upgrade pattern (pattern D of the exploration; see ../README.md). This version is an ordinary record store.
version 1 of the "lazy migration" upgrade pattern (pattern D of the exploration; see ../README.md).
version 0 of the "retire the predecessor" upgrade pattern (pattern B of the exploration; see ../README.md). Unlike pattern A, this version knows it can be superseded.
version 1 of the "retire the predecessor" upgrade pattern (pattern B of the exploration; see ../README.md). v1 refuses every write until v0 has been retired.
permanent entry point of the "API as data" upgrade pattern (pattern G of the exploration; see ../../README.md).
handler realm that exists to be refused (pattern G; see ../../README.md). It satisfies facade.Handler exactly as well as the others do: same methods, same signatures, compiles and proposes itself without complaint.
version 0 of the handler realm of the "API as data" upgrade pattern (pattern G; see ../../README.md). Two verbs, declared as text rather than as a method set. Deploying nominates it; the facade owner accepts it by path.
version 1 of the handler realm of the "API as data" upgrade pattern (pattern G; see ../../README.md). Three verbs: it ADDS one and keeps both of v0's untouched, which is what lets the facade accept it.
permanent entry point of the "self-registering implementation" upgrade pattern (pattern E of the exploration; see ../../README.md).
version 0 of the implementation realm of the "self-registering implementation" upgrade pattern (pattern E; see ../../README.md). Deploying this realm is the whole upgrade: init registers it with the facade.
version 1 of the implementation realm of the "self-registering implementation" upgrade pattern (pattern E; see ../../README.md). Identical wiring to v0, different behaviour.
version 0 of the logic realm of the "state realm + swappable logic" upgrade pattern (pattern C of the exploration; see ../../README.md). It owns no state at all.
version 1 of the logic realm of the "state realm + swappable logic" upgrade pattern (pattern C of the exploration; see ../../README.md). Same shape as v0, different rule.
data realm of the "state realm + swappable logic" upgrade pattern (pattern C of the exploration; see ../../README.md).
version 0 of the "wrapping versions" upgrade pattern (pattern A of the exploration; see ../README.md). Nothing here knows that a successor exists.
version 1 of the "wrapping versions" upgrade pattern (pattern A of the exploration; see ../README.md). v1 owns a counter of its own and ADDS v0's on read.
playground for the guest-VM work: a realm that runs Brainfuck programs on chain, a slice at a time.
runs real compiled machine code on chain, a slice at a time.
on-chain directory and device sigchain for Wesh protocol (weshnet / Berty) identities. It exists to give weshnet the three things a peer-to-peer network cannot give itself, and which a chain is uniquely good at:
open, on-chain encyclopedia: anyone can create and edit a page, every edit is a signed revision, and the whole history is public. It is a thin realm over gno.land/p/moul/x/wiki/v0.
curated registry of gno.land networks: mainnet, the testnets, staging chains, anybody's gnodev.