Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source realm

Package eggling is an on-chain egg incubator and creature collector. Plant an egg, let it incubate for a minimum numb...

Readme View source

Eggling

⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.


Plant an on-chain egg, let it incubate for at least 20 blocks, then hatch it — how long you waited plus a bit of sealed-in luck decides whether you get a Common Slime or a Legendary Glimmer. Train hatched creatures for XP and levels, and rename them once they've hatched. It's a lighter, luck-and-patience spin on yesterday's tamagotchi: no hunger or death, just the thrill of the hatch and a slow climb of levels.

Built for gno 0.9.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/daily/eggling/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.

Overview

Package eggling is an on-chain egg incubator and creature collector. Plant an egg, let it incubate for a minimum number of blocks, then Hatch it: the longer you waited (and a little luck, seeded from the egg's own history) decides the rarity of the creature you get. Train hatched creatures to level them up. Unlike a tamagotchi there's nothing to feed or lose to neglect — eggling is about patience and the luck of the hatch, not survival.

Functions 5

func Hatch

crossing Action
1func Hatch(cur realm, id string) string
source

Hatch hatches an incubated egg the caller owns.

func PlantEgg

crossing Action
1func PlantEgg(cur realm) string
source

PlantEgg starts incubating a new egg for the caller. Returns its ID.

func Rename

crossing Action
1func Rename(cur realm, id string, name string) string
source

Rename gives a hatched creature the caller owns a custom name.

func Render

1func Render(path string) string
source

Render shows the full egg list at "", a single egg's detail when path is a numeric ID, or one owner's eggs when path is a bech32 address.

func Train

crossing Action
1func Train(cur realm, id string) string
source

Train gives a hatched creature the caller owns some experience, leveling it up every 50 XP.

Imports 7

Source Files 3