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