DOCS / SDK
flipforge-sdk: trust the key, not the endpoint.
The SDK is a thin typed client over the API with one opinion: every response should be re-verified locally. It ships the published key, recomputes the digest and checks the signature — so your integration never has to trust FlipForge's infrastructure, only its key. Zero dependencies beyond noble crypto; works in Node 18+ and the browser.
Install
▌Usage
▌Methods
| METHOD | RETURNS | WHAT |
|---|---|---|
| status() | SignedResponse<{ clusters }> | ZK program probe, both clusters |
| mint(address, cluster?) | SignedResponse<MintInfo> | header + TLVs + confidential config |
| account(address, cluster?) | SignedResponse<AccountInfo> | public header + encrypted balances |
| transaction(sig, cluster?) | SignedResponse<TxInfo> | decoded proof instructions |
| registry() | SignedResponse<{ mints }> | known confidential mints, live |
| activity(cluster?) | SignedResponse<{ transactions }> | recent ZK-program txs |
| verify(signed) | VerifyResult | offline receipt verification |
What tampering looks like
▌