Prerequisites
- Node.js 18+
- Stellar testnet account with XLM (Friendbot)
- Basic TypeScript knowledge
Installation
Client Setup
1. Create a Schema
Schemas define the structure of your attestations.string- Text valuesbool- True/falseu32,u64,i32,i64- Integersbytes- Binary data
2. Create an Attestation
3. Query Attestations
4. Revoke an Attestation
Only works if schema hasrevocable: true.
BLS Delegation (Gas-less)
Allow third parties to submit attestations on your behalf.Error Handling
Contract Addresses
| Network | Protocol Contract |
|---|---|
| Testnet | CBFE5YSUHCRYEYEOLNN2RJAWMQ2PW525KTJ6TPWPNS5XLIREZQ3NA4KP |
| Mainnet | CBUUI7WKGOTPCLXBPCHTKB5GNATWM4WAH4KMADY6GFCXOCNVF5OCW2WI |