Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

Vouch

A web of trust other realms gate on. One address vouches for another, in writing, optionally with GNOT locked behind it.

vouches people vouched for bonded awaiting withdrawal
0 0 0 GNOT 0 GNOT

Most vouched for

Nobody has been vouched for yet.

The gate

One line in the realm that wants it, and it costs no transaction:

1import "gno.land/r/moul/x/social/vouch/v0"
2
3if !vouch.IsTrusted(addr, 2) {
4	panic("get two people to vouch for you first")
5}

A score counts distinct vouchers, so restating a vouch does not raise it and revoking lowers it. It does not count distinct people: a pair vouching for each other both reach one, which is why a real gate asks for more.

Take part

🤝 Vouch · 💰 Withdraw a refunded bond

Coins sent with Vouch are locked as a bond on that vouch and come back when you revoke it. There is no slashing: deciding that a vouch was a lie needs an arbiter, and choosing one is the whole design question.