SDK
SDK officiels — cinq langages, zéro dépendance
Ancrez un document avec trois lignes de code. Chaque SDK inclut la vérification locale des preuves, l'ancrage de fichiers et les six produits — publié sur les registres officiels de paquets et développé sur GitHub.
Installation
pip install trustbeatDémarrage rapide
from trustbeat import TrustBeat
tb = TrustBeat(api_key="YOUR_API_KEY")
proof = tb.anchor_file_wait("contract.pdf")
print(proof.merkle_root)Installation
npm install trustbeatDémarrage rapide
import { TrustBeat } from "trustbeat";
const tb = new TrustBeat({ apiKey: "YOUR_API_KEY" });
const proof = await tb.anchorFileWait("contract.pdf");
console.log(proof.merkleRoot);Java
Installation
mvn dependency:get -Dartifact=eu.trustbeat:trustbeat-sdk:LATESTDémarrage rapide
TrustBeat tb = new TrustBeat.Builder().apiKey("YOUR_API_KEY").build();
AnchorProof proof = tb.anchorFileWait(Path.of("contract.pdf"));
System.out.println(proof.getMerkleRoot());Installation
dotnet add package TrustBeatDémarrage rapide
var tb = new TrustBeatClient("YOUR_API_KEY");
var proof = await tb.AnchorFileWaitAsync("contract.pdf");
Console.WriteLine(proof.MerkleRoot);Installation
go get github.com/TrustBeat/sdk-goDémarrage rapide
c, _ := trustbeat.NewClient("YOUR_API_KEY")
proof, _ := c.AnchorFileWait(ctx, "contract.pdf", nil, nil)
fmt.Println(proof.MerkleRoot)TB
Prêt à ancrer votre premier document ?
Commencez gratuitement. Sans carte de crédit. Les 100 premiers hashes sont offerts.
eIDAS Regulation (EU) No 910/2014 · Art. 41 legal presumption · EU Trusted List QTSP