Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

b58demo/v0 package

Overview

Package b58demo is a small gnoweb demo of the Base58 codec provided by the p/moul/x/daily/b58(/p/moul/x/daily/b58/v0) library: it renders the alphabet, a gallery of worked examples, and an interactive hex → Base58 round-tripper.

It contains no codec logic of its own — everything comes from `b58.Encode`, `b58.Decode` and `b58.Alphabet`.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render produces the gnoweb Markdown view.

  • "/" → the alphabet + a small gallery of worked examples.
  • "/<hex>" → decode the hex input to bytes, show its Base58, and the hex-encoded decoded round-trip to prove Encode/Decode are inverse.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/b58demo/v0.Render()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/moul/x/daily/b58demo/v0, for example a function call with arguments.