How long should your entity live?1 week
Entity Expiration: when its block deadline passes, Arkiv drops it. No cleanup job.
See the code this runs
// Signed by the booth's demo key, on our serverconst nonce = await publicClient .getTransactionCount({ address, blockTag: "latest" });const gasPrice = await publicClient .request({ method: "eth_gasPrice" });const gas = max(1_000_000n, 2n * estimate);const { entityKey, txHash } = await walletClient.createEntity( Member, // the schema { name: "Your name", country: "your country", }, { expiration: ExpirationTime.fromWeeks(1) }, { nonce, gas, gasPrice }, );const receipt = await publicClient .getTransactionReceipt({ hash: txHash });// receipt.status === "success"