Verifiable Contributions. Transparent History.
ProofTrail is an on-chain contribution verification platform that helps communities record, review, and verify contributions with transparent audit history. It is a testnet prototype on Gno.land (Onyx), built for a hackathon. It has not been audited; do not use it for real value.
- Web app: https://prooftrail-web.vercel.app
- Realm on Onyx:
gno.land/r/g1nnfdg26xumukuxjevxtfz2wv09dt6x0zwmjmpr/prooftrail
Contribution records are scattered across GitHub, chat, and spreadsheets. ProofTrail keeps one public record of who submitted what, who reviewed it, the decision and its reason, and the evidence hash, with rules enforced by a Gno realm rather than by a web server.
One contribution model, used three ways. These are ways to use the current model; there are no audience-specific features yet.
- Open-source development: a community is a project, reviewers are maintainers, evidence is a pull request link.
- Web3 communities and DAOs: tasks, reviewers acting as stewards, a public decision history.
- Freelancers and clients: a community is the client's workspace, its admin acts as the client, a task is an assignment. Tasks are currently open to any wallet (no assignee), and there is no payment or escrow.
- Communities with an admin and reviewers (add, remove).
- Tasks: create, update (until the first submission), close.
- Submissions with an
https://evidence link, a SHA-256 hash, and notes; duplicate protection. - Review: accept or reject with a reason; no second decision; no self-review; reviewers only act within their own community.
- Append-only audit log.
- Public reads through the realm's
Render("api/...")JSON. - Public verification page for one submission (
#/verify/<id>): record details, reviewer decision, audit history, a local evidence-hash check, and instructions to verify independently. The realm has no single-record endpoint, so the page reads the full lists and selects the record in the browser. Tested against mocks, and read from the real Onyx realm in Node (see the verification table); also observed in an Android browser, on a preview deployment and on the production site (see the verification table). - Web app with eleven views (Home, Dashboard, Tasks, Task, Submit, Review, Profile, History, Community, About, Verify), an on-device evidence hash check, transaction-state display, Adena connection, and a
gnokeycommand under every action. - Contributor profile page (
#/u/<address>; the older#/builder/<address>still works): per-community records, counts of accepted, pending and rejected records (not a score), and a timeline. The address is validated before any query. Tested against mocks, and observed in an Android browser, on a preview deployment and on the production site, for one real contributor address (see the verification table). - New layout and colours: a tab bar on phones, a top bar on wide screens, light and dark colour tokens checked for text contrast, new layouts for Home, Task and Verify. Reject and Close task ask for confirmation first (a page-level guard; the wallet and realm are unchanged). Tested against mocks, and partly observed in an Android browser, on a preview deployment and on the production site (see the verification table).
- A read-only RPC proxy (
web/api/rpc.js).
- Repository and documentation quality (this phase).
- Redesign of the remaining screens (Home, Task and Verify have the new layout; the others only use the new colours and type).
- Categories, assignees, pagination (these would need a new realm version; compatibility with existing records is unverified); optional multi-reviewer approval.
- Payments and escrow are not planned.
A single Gno realm holds the state and enforces the rules. A static web app reads it through the node's vm/qrender query and sends transactions through the user's wallet. No backend holds keys. See docs/ARCHITECTURE.md.
- Chain ID:
onyx-1; RPC:https://rpc.onyx.testnets.gno.land:443; faucet: https://faucet.gno.land - Deployed at block 1605709 (deploy tx hash
ifoclGMWtYzvv1PmqX25mt5sGro6D5kV+G9pa0+eVV8=). - The chain holds several test communities created while testing; chain records cannot be deleted.
| Item | Status |
|---|---|
| Realm deployed to Onyx | Done (block above) |
| Gno tests | 19 passed, 0 failed as recorded in docs/TEST_RESULTS.md, generated by scripts/run-tests.sh |
| RPC proxy tests | 14 pass (node scripts/test-proxy.js), stubbed upstream; output in docs/JS_TEST_RESULTS.md |
| Transaction-state tests | 8 pass (node scripts/test-tx-flow.js) against a mocked wallet and mocked RPC; output in docs/JS_TEST_RESULTS.md. The real tx RPC response for a successful transaction and for an unknown hash was checked against Onyx on 2026-12-04 (scripts/verify-tx-poll.sh); the response for a transaction that failed on-chain has not been observed |
| Public verification page | 24 mock tests pass (node scripts/test-verify.js): valid, missing, invalid ID, RPC failure, accepted, rejected, missing evidence, missing audit. Observed 2026-12-05 in Node (not a browser) against the real Onyx realm: record #1 was read correctly, #99 was reported as missing, an invalid ID was rejected, and the hash check matched the recorded hash for the original evidence text and did not match for a changed text. One earlier run could not reach the RPC for an unknown reason (curl to the same RPC succeeded); a repeat worked. Also observed 2026-12-05 in an Android browser on a Vercel preview deployment of this branch: the page read the realm with direct RPC, showed record #1 as found and accepted with its audit history, the hash check matched the original evidence text, Copy link worked, and a missing ID and an invalid ID showed the expected messages. A changed text also produced a no-match result in the browser, and the production site was confirmed to be unchanged (no verification page) before any merge. The verification page was also observed on the production site (prooftrail-web.vercel.app/#/verify/1) in the same browser: record #1 found and accepted, read with direct RPC. Not observed on production: the hash check and Copy link (seen only on the preview), other browsers or devices |
| Contributor profile page | 18 mock tests pass (node scripts/test-profile.js): counts, grouping, invalid addresses (no RPC call), RPC failure, escaping. Observed 2026-12-06 in an Android browser on a Vercel preview deployment, against the real Onyx realm: the profile of the contributor of submission #1 showed 1 accepted, 0 pending, 0 rejected, with its community and record. The same profile and counts were also observed on the production site (prooftrail-web.vercel.app) in the same browser. Not observed: the invalid-address page, a profile with pending or rejected records, dark mode, other devices |
| Navigation, confirmations, colours | 15 mock tests pass (node scripts/test-ui.js); text contrast of the colour tokens checked in both themes by node scripts/check-contrast.js. Observed 2026-12-06 on the same preview deployment: the tab bar (Home, Tasks, Review, History, More), the More menu, the new Home layout, and the Close task confirmation dialog appearing before anything is sent. The tab bar was also seen on the production site. Not observed: the Reject dialog (no pending submission exists), pressing Cancel or Confirm, the confirmation dialog on production, dark mode, other devices |
| End-to-end flow on Onyx | Done with gnokey and two keys: create community, create task, submit, accept. The History page showed the accepted record |
| Reads come from the deployed realm | The app checks the node reports onyx-1, shows the block height, then queries the realm. scripts/verify-live.sh reads the same data straight from the chain |
| Adena on an Android browser | See below |
Observed (owner's phone, 2026-12-04):
- Connecting works: the Adena address was shown in the app.
- Submitting from the web app worked in effect: the Adena popup showed "Transaction Submitted" and the chain recorded the actions (communities created with the Adena address as admin; audit event
community_created). - In every attempt the owner reported (at least three), Adena's response to the page was a non-success message, "The transaction has been rejected by the user." The app checks the chain's audit log for a new event by the same address and displayed "It went through". Why Adena reports this is not known.
Not verified: Adena's success response (TRANSACTION_SENT with a hash) was never observed, so the Broadcast, then Confirmed path has only been tested against mocks; whether the gas values passed by the app or Adena's own defaults were used; other browsers, wallet versions, and iOS. The gnokey command shown under each action works regardless.
Adena's documentation states that a success response only means the transaction entered the mempool. The app shows Broadcast (not confirmed), then polls the chain's tx result: Confirmed, Failed on-chain, or Unknown after 45 seconds (never shown as success). If the wallet reports a non-success, the app looks for the user's own new audit event before saying anything.
The realm checks only that evidenceHash is 64 lowercase hex characters. The contributor supplies it; the chain cannot fetch the link or recompute it. A hash does not prove authenticity, authorship, that the link shows the evidence, or that the work is good. A wallet address is not proof of real-world identity. Anyone holding the exact evidence can use "Verify evidence on this device" to check it against the recorded hash. Reviewers judge quality; their decisions are human judgement, not independent verification.
Requirements: Git, Go, Node.js (tested with Node 24; the proxy uses the built-in fetch).
Build the Gno tools (this worked in Termux on Android; the official guide is https://docs.gno.land/builders/install):
git clone --depth 1 https://github.com/gnolang/gno.git
cd gno && make install.gnokey && make install.gno
export PATH="$PATH:$(go env GOPATH)/bin"
On a weak connection the clone failed until git config --global http.postBuffer 524288000 was set.
Run the web app locally: web/ is static, so any static file server works (for example cd web && python -m http.server 8000). Not verified: whether the public RPC accepts browser requests from a local page. The /api/rpc proxy exists only on Vercel.
sh scripts/run-tests.sh # Gno tests -> docs/TEST_RESULTS.md (needs gno)
node scripts/test-proxy.js # 14 proxy tests
node scripts/test-tx-flow.js # 8 transaction-state tests (mocked)
node scripts/test-verify.js # 24 verification-page tests (mocked)
node scripts/test-profile.js # 18 profile-page tests (mocked)
node scripts/test-ui.js # 15 navigation and confirmation tests (mocked)
node scripts/check-contrast.js # colour contrast of the tokens in web/style.css
sh scripts/verify-live.sh # read the deployed realm from Onyx
sh scripts/verify-tx-poll.sh # check the real tx RPC response shape
sh scripts/check-docs.sh # documentation consistency, includes the link checker
node scripts/check-links.js # local Markdown links only
- Choose your own realm path
gno.land/r/<your-address>/prooftrail. Editmoduleinrealm/gnomod.tomlandREALMinweb/config.js. (scripts/set-realm.shonly replaces a placeholder that no longer exists in this repository's files, so it does nothing here.) - Fund the address from the faucet, then:
cd realm && gnokey maketx addpkg -pkgpath "gno.land/r/<your-address>/prooftrail" -pkgdir . \
-gas-fee 40000ugnot -gas-wanted 35000000 -max-deposit 10000000ugnot \
-chainid onyx-1 -remote https://rpc.onyx.testnets.gno.land:443 <key-name>
- Web: import the repository in Vercel, set Root Directory to
web, no build step. Optional environment variableGNO_RPC.
Redeploying to a path that is already used: according to third-party Gno projects, adding a package to an existing path is refused with package already exists, and some packages can opt in to being re-added, which resets their state. This has not been verified against the official Gno documentation, and it has not been tested on Onyx for this realm. Treat any redeploy as destructive and plan for a new path.
What the realm enforces and what it does not guarantee are in docs/SECURITY-MODEL.md. To report a vulnerability, see SECURITY.md.
- No pagination; reads scan all records.
- No way to withdraw a pending submission; it blocks the same builder from resubmitting to that task until reviewed.
- Pending submissions can still be reviewed after a task closes.
- Reviewer collusion and sybil accounts are out of scope; the admin chooses the reviewers.
- Testnet only; relies on a public RPC.
- "Disconnect" only forgets the address in the page; remove site access in Adena's settings.
See CONTRIBUTING.md.
Architecture · Security model · Demo script · Gno test results · JS test results · Security policy · Contributing
Apache License 2.0. See LICENSE. Copyright 2026 muhammad884.