Overview / Code samples
Code samples
The partner snippets the guides refer to, each served as plain text: copy them, or fetch them with your tooling. The verifiers are tested against the test vectors on every change to Borrou. The quick-start's Bruno collection comes with your sandbox credential.
TypeScript
A client (token cache, idempotent writes with retries, pagination), webhook verification, collateral-address verification and the quick-start.
Python
The same in Python, with their tests: the client, webhook and address verification, the quick-start.
borrou_addresses.pyborrou_client.pyborrou_webhooks.pyquickstart.pytest_borrou_addresses.pytest_borrou_webhooks.py
Java
The same in Java (java.net.http), with their tests.
BorrouAddresses.javaBorrouAddressesTest.javaBorrouClient.javaBorrouWebhooks.javaBorrouWebhooksTest.javaMiniJson.javaQuickstart.java
Test vectors
Webhook signatures and collateral-address attestations made by Borrou's own signing code, to test a verifier against. Test values only: they sign nothing real.