Render
Render renders the demo for gnoweb.
Command
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/bech32demo/v0.Render()"
Result
Package bech32demo is a 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 side, and reproduces the length-extension weakness that is the whole reason the second variant exists.
It contains no codec logic of its own. Stateless, so Render is deterministic.
Render renders the demo for gnoweb.
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/bech32demo/v0.Render()"
Evaluate any read-only Gno expression against gno.land/r/moul/x/daily/bech32demo/v0, for example a function call with arguments.
// Enter an expression above