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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

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.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/b58demo/v0.Render()"

Result