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.

commitrevealdemo/v1 package

Overview

Package commitrevealdemo is a small gnoweb demo of the commit-reveal scheme provided by the p/moul/x/daily/commitreveal(/p/moul/x/daily/commitreveal/v0) library: the two phases, and what the salt is for.

It contains no crypto of its own. Stateless, so Render is deterministic — which is precisely what the library is for.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/commitrevealdemo/v1.Render()"

Result