Global Democracy InitiativeGDI

How Gloki works, and what is open

This page is for engineers and researchers. It says exactly what the code does today, so you can decide whether to help.

How other tools decide who counts

Democracy software has to decide who may take part. Tools made for one city, country or organisation use one of these answers:

Each answer fits the job it was made for. None of them lets people everywhere take part, one vote each, without depending on a government, an organiser or money. That is the gap we are building toward.

The node

Gloki runs on ibc, Ouri Poupko's open-source node (GPL-3.0). It puts his research on self-sovereign digital agents into practice: software that holds one person's data and acts only for them. Repository.

In this design each person keeps a personal ledger: their own record. A contract runs only among the people who are part of it, and is copied only between them. The design paper calls this subsidiarity. It is capital-free, and it is not a blockchain in the crypto sense: no coins, no mining. If you know Solid, it is in that family.

The vouching rule in the code

Before: members A and B are linked, and C and D are linked. After: the newcomer sits between all four, and both old links are gone.
Before and after a newcomer joins. Each member keeps exactly four links.

Ouri's community contract picks two existing links in the trust graph at random, which gives four members. All four must approve the newcomer, and the newcomer takes a place between them, so every member keeps exactly four links. Random choice matters: people making fake accounts cannot pick each other. The design comes from Poupko, Shahaf, Shapiro and Talmon, "Building a Sybil-Resilient Digital Community Utilizing Trust-Graph Connectivity", IEEE/ACM Transactions on Networking, 2021 (free version on arXiv).

The Gloki beta tests a different version: four people who know you vouch for you. The network does not enforce that version yet. Until we settle on one rule, we make no claim about keeping out fake accounts.

Known gaps

Open problems

Closing these gaps is the core of the work, and it needs more builders than we have. The gaps above are where we would start: signed requests, signature checks in agreement, randomness no single node can steer, encryption, a safer contract language, and testing across machines.

The protections we plan

The research

Ouri's papers, all with Ehud Shapiro and colleagues (full list on dblp):

BrightID and GDI

BrightID also uses vouching. It lets people prove to other apps that they use only one account. Gloki is meant to be the whole foundation a democracy needs, on one network its members carry: who counts, where the record lives and, later, how votes are counted. The protections that would set it apart technically are still being built.

Licence and how we decide

The node is GPL-3.0. The Gloki app's licence is not set yet. For now Ouri and Eston make the decisions. Contributors are welcome in that discussion.

Get in touch: hello@globaldemocracyinitiative.org, or join the waitlist with "Build digital democracy" and we will send you technical notes as we build.