func Hatch
crossing ActionHatch hatches an incubated egg the caller owns.
Package eggling is an on-chain egg incubator and creature collector. Plant an egg, let it incubate for a minimum numb...
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.
Hatch hatches an incubated egg the caller owns.
PlantEgg starts incubating a new egg for the caller. Returns its ID.
Rename gives a hatched creature the caller owns a custom name.
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.
Train gives a hatched creature the caller owns some experience, leveling it up every 50 XP.