Search Apps Documentation Source Content File Folder Download Copy Actions Download

OpenDiscussions: Invite Member

Both open and invite only boards can have multiple members with different roles within a board, where members can have a single role at a time.

Boards are independent communities which could apply different permissions per role than other boards, but generally Boards2 supports four roles, owner, admin, moderator and guest.

Member will be added to OpenDiscussions board.

/r/gnoland/boards2/v1 Exec: Invitemember
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnoland/boards2/v1" -func "InviteMember" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast -chainid "gnoland1" -remote "http://rpc.betanet.testnets.gno.land" ADDRESSgnokey query -remote "http://rpc.betanet.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoland/boards2/v1" -func "InviteMember" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "http://rpc.betanet.testnets.gno.land" call.tx