Gno Examples Documentation
Welcome to the Gno examples documentation index. Explore various examples to learn more about Gno functionality and usage.
Examples
- Hello World - A simple introductory example.
- Adder - An interactive example to update a number with transactions.
- Source - View realm source code.
- Buttons - Add buttons to your realm's render.
- Optional Render - Render() is optional in realms.
- Routing for Render paths - Route Render paths with the
p/demo/mux
package. - Embed images - Demonstrates how to embed an image in a realm render.
- Markdown - Documentation for Gno Flavored Markdown syntax and features.
- Emitting Gno Events - Emit Gno Events to make life off-chain easier.
- AVL Pager - Paginate through AVL tree items.
- AVL Pager + Render paths - Handle render arguments with pagination.
- Safe Objects - A Gno-specific pattern allowing you to expose objects with admin privileges preserved.
- Calling non-primitive argument functions - Learn how to call functions that take in complex arguments.
- MiniSocial - Minimalistic social media app for learning purposes.
- Resolving usernames and addresses - How to resolve usernames and addresses via the
r/sys/users
realm. - More coming soon!