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.

gnosplit/v1 package

Overview

Package gnosplit shares a group's expenses, like Tricount: who paid what, who owes whom, and the fewest transfers that settle everything.

A group has members, each a name with or without a wallet. Members with a wallet linked are the group's editors: they record expenses, incomes and transfers, and get a gnotif notification when one concerns them. Members without one are just names: a friend with no wallet still has a balance.

Amounts are cents of the group's currency, a label such as "€" or "CHF": no coin moves here, a transfer records a payment made elsewhere. Every balance is kept up to date on each write, so reading a group never adds up its history.

Function

Export

func Export(group string) string
Ask AI Claude ChatGPT

Export writes a group as CSV: its members, then every entry, oldest first. MoveOut hands it to the successor, and the /csv page shows it.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-alexiscolin000/gnosplit/v1.Export()"

Result