Build on Coalichain

Coalichain is a Polkadot SDK blockchain. Any app can record decisions, votes, trust and identity attestations on it.

ZOOZ SDK

v0.3 · testnet

The TypeScript SDK for Coalichain. Read decisions, sealed votes, trusts and results, verify vote receipts, and audit published results against the chain. Works in browsers and Node.js, open source (Apache-2.0).

  • Explorer client: stats, decisions, votes, trusts, accounts, blocks
  • Vote receipt verification, offline or against the chain
  • Result audit: rebuild the Merkle root of every published result
  • Live feed of finalized votes, trusts and results
  • Tokens and NFTs: create, send, allowlist, fixed supply, in one signature
  • Wallet connection in one line: SubWallet, Talisman, Polkadot.js

Install

npm install https://zooz.network/sdk/zooz-protocol-sdk-0.4.0.tgz

Next versions: sending votes and trusts from any app, identity (KYC) attestations, BSC bridge.

Quick start

import { ExplorerClient } from "@zooz-protocol/sdk";

const zooz = new ExplorerClient();          // public testnet
const stats = await zooz.stats();           // blocks, votes, trusts…
const [vote] = await zooz.votes({ limit: 1 });

// Check a vote receipt from the app
const r = await zooz.verifyVote({ decision, option, salt, voter });
console.log(r.match);                       // true

Live from the chain

This panel runs the SDK in your browser.

Loading…

Check a vote receipt

Paste the details from “My blockchain proofs” in Emunify.

On-chain modules

Coali Ledger — Decisions, sealed votes (commitments), trust edges and Merkle snapshots of results.

Proof of Trust — Identity attestations by approved apps, validator candidates, trust-based validator selection.

ZOOZ Economy — USD-pegged fees, 60/20/20 split, USD-pegged validator rewards from Fuel.

GitHub ↗

Wallets

SubWallet (mobile and Chrome) and Talisman (Chrome) support Coalichain: add a custom network with the RPC address above. Token ZOOZ, 9 decimals.

Verify a vote

Any voter can recompute the fingerprint of their vote from the decision, their choice and their secret, and compare it with the chain, in the browser.

Open the verifier ↗