SDK
Official SDKs — five languages, zero dependencies
Anchor a document with three lines of code. Every SDK includes local proof verification, file anchoring and all six products — published on the official package registries and developed on GitHub.
Install
pip install trustbeatQuickstart
from trustbeat import TrustBeat
tb = TrustBeat(api_key="YOUR_API_KEY")
proof = tb.anchor_file_wait("contract.pdf")
print(proof.merkle_root)Install
npm install trustbeatQuickstart
import { TrustBeat } from "trustbeat";
const tb = new TrustBeat({ apiKey: "YOUR_API_KEY" });
const proof = await tb.anchorFileWait("contract.pdf");
console.log(proof.merkleRoot);Java
Install
mvn dependency:get -Dartifact=eu.trustbeat:trustbeat-sdk:LATESTQuickstart
TrustBeat tb = new TrustBeat.Builder().apiKey("YOUR_API_KEY").build();
AnchorProof proof = tb.anchorFileWait(Path.of("contract.pdf"));
System.out.println(proof.getMerkleRoot());Install
dotnet add package TrustBeatQuickstart
var tb = new TrustBeatClient("YOUR_API_KEY");
var proof = await tb.AnchorFileWaitAsync("contract.pdf");
Console.WriteLine(proof.MerkleRoot);Install
go get github.com/TrustBeat/sdk-goQuickstart
c, _ := trustbeat.NewClient("YOUR_API_KEY")
proof, _ := c.AnchorFileWait(ctx, "contract.pdf", nil, nil)
fmt.Println(proof.MerkleRoot)Or work from the terminal
A single static binary — no runtime, no dependencies. Anchor files from a shell script or CI job, and verify proofs offline: verification makes no network calls and needs no API key.
TB
Ready to anchor your first document?
Start free. No credit card required. Your first 100 hashes are on us.
eIDAS Regulation (EU) No 910/2014 · Art. 41 legal presumption · EU Trusted List QTSP