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.

fishbay package

Overview

Package fishbay is a small onyx trial sea. It keeps Mint, Register, Leave, and Bite. Damage is floor(bite * 100 / (hpMax + 100)), at least 1. A kill pays GNOT and FISH from the smaller stake. FISH is drawn from fishmark. This realm does not mint FISH. Lay, the market, cheer, and party are not in this bay. shoal/fish stays the live NFT collection. This package is not that collection. The trial mint is 1 GNOT and the stake floor is 1 GNOT.

Function

Bite

func Bite(cur realm, id, target int) int
Ask AI Claude ChatGPT

Bite deals flat damage. A kill pays the smaller stake and draws 1 FISH per 1 GNOT of that stake.

Params

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/g10ragdr3cjqkael8rslpw4y6rlelhev4h0fswcx/fishbay" -func "Bite" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g10ragdr3cjqkael8rslpw4y6rlelhev4h0fswcx/fishbay" -func "Bite" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx