v1 package

Function

InviteMember

func InviteMember(_ realm, boardID BoardID, user std.Address, role Role)

InviteMember adds a member to the realm or to a boards. A role can optionally be specified to be assigned to the new member. Board ID is only required when inviting a member to a board.

Params

Command

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