hor package

Overview

Package hor is the hall of realms. The Hall of Realms is an exhibition that holds items. Users can add their realms to the Hall of Realms by importing the Hall of Realms package and calling hor.Register() from their init function.

Function

Register

func Register(cur realm, title, description string)

Register registers your realm to the Hall of Fame Should be called from within code

Params

Command

gnokey query -remote "https://rpc.gno.land:443" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/leon/hor" -func "Register"  -args "" -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