git-cat/atlas-chain

atlas-chain

A Git Cat peer-replicated smart contract indexer with signed commits and IPFS-backed releases.

publichealthymain

Stars

0

Forks

3

Required replicas

12

Release control plane

Storage
IPFS
Governance
multisig
License
MIT

attestations.ts

1.9 KB · TypeScript · Updated May 20, 2026

View folder
  1. 1const trustedSigners = new Set([
  2. 2 "H3x9mYwQ7tR6pL2sV8nC4dB5kA1zFjE6gU2qP9aD",
  3. 3 "6nT8vP2qR5xL9sC3dM7yA4bE1hK6wJzG9uF2pN",
  4. 4 "B4kR7mV2xQ9sL6tC3nH8yP5dA1eFjU2gW9zN",
  5. 5]);
  6. 6
  7. 7export async function verifyManifestSignature(contentId: string) {
  8. 8 const signer = await resolveManifestSigner(contentId);
  9. 9 return trustedSigners.has(signer);
  10. 10}
  11. 11
  12. 12async function resolveManifestSigner(contentId: string) {
  13. 13 if (!contentId.startsWith("bafy")) {
  14. 14 return "unknown";
  15. 15 }
  16. 16
  17. 17 return "H3x9mYwQ7tR6pL2sV8nC4dB5kA1zFjE6gU2qP9aD";
  18. 18}