guestbook package

Overview

Realm guestbook contains an implementation of a simple guestbook. Come and sign yourself up!

Function

AdminDelete

func AdminDelete(cur realm, signatureID string)

AdminDelete removes the guestbook message with the given ID. The user will still be marked as having submitted a message, so they won't be able to re-submit a new message.

Param

Command

gnokey query -remote "https://rpc.gno.land:443" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/morgan/guestbook" -func "AdminDelete"  -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "staging" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land:443" call.tx