PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/moul/x/daily/base32demo/v0

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v0
Namespace
moul / x / daily / base32demo
Files
3 (README)(gnomod.toml)
Exported functions
1
Module
gno.land/r/moul/x/daily/base32demo/v0
gno
0.9

Files (3)

  • README.mdmarkdown
  • gnomod.tomltoml
  • base32demo.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • Render(path string) string

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

Rendered

RenderedRawgnoweb ↗
# Base32

RFC 4648 and Crockford, demoing the [`p/moul/x/daily/base32`](/p/moul/x/daily/base32/v0) library.

| input | RFC 4648 | Crockford |
|---|---|---|
| _(empty)_ | `` | `` |
| `f` | `MY======` | `CR` |
| `fo` | `MZXQ====` | `CSQG` |
| `foo` | `MZXW6===` | `CSQPY` |
| `foob` | `MZXW6YQ=` | `CSQPYRG` |
| `fooba` | `MZXW6YTB` | `CSQPYRK1` |
| `foobar` | `MZXW6YTBOI======` | `CSQPYRK1E8` |

## Crockford forgives

`hello` encodes to `D1JPRV3F`, and all of these decode back to it:

- `D1JPRV3F` → `hello` ✅
- `d1jprv3f` → `hello` ✅
- `D1-JPRV3F` → `hello` ✅

> Crockford folds case, reads `I`/`L` as `1` and `O` as `0`, and ignores hyphens — so an identifier survives being read aloud and typed back. `U` is left out of the alphabet on purpose.

vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.