Get your API key and DID
If you haven’t already, get your DID, download your API key, and request test tokens from the claim page.
Install Rust + WASM toolchain
TEE contracts are compiled to WebAssembly (WASM) binaries. We suggest using the Rust toolchain to build them:
Set up the SDK
Set up a
T3nClient from @terminal3/t3n-sdk — it handles the encrypted session, SIWE auth, and the low-level execute transport. You build it once here and reuse it through the rest of the walkthrough.Authenticate to T3N testnet
Your tenant DID is an opaque, random Build the
did:t3n:<40 hex>, minted when you first signed in (Step 1). It is not derived from your wallet or any key material — your sign-in credential (and any key you later link) is just an authenticator on that DID. Authenticate, then read your DID straight off the session:TenantClient around that DID — never construct it yourself: