Setup automated
buybacks for any token
Route revenue from your treasury to buy back and burn your token.
Route revenue from your treasury to buy back and burn your token.

Choose your buyback percentage, frequency, and burn or hold. Adjust anytime. Executes automatically.
Add billing and buybacks to your agent with a few lines of code.
$ npm install earnkit-sdkimport { EarnKit } from 'earnkit-sdk';
const agent = new EarnKit({
agentId: process.env.EARNKIT_AGENT_ID,
apiKey: process.env.EARNKIT_API_KEY,
});
// Charge users reliably — never bill for a failed response
async function run(prompt: string, walletAddress: string) {
const { eventId} = await agent.track({ walletAddress });
try {
const result = await yourAI(prompt);
await agent.capture({ eventId });
return result;
} catch (e) {
await agent.release({ eventId }); // refund on failure
throw e;
}
}Or drop this into Claude Code, Cursor, or any AI coding tool:

Read https://earnkit.com/llms.txt for full context about EarnKit. I want to add usage-based billing and automated buyback & burn to my AI agent using the earnkit-sdk package. Help me: 1. Install earnkit-sdk and initialize EarnKit with my agentId and apiKey 2. Wrap my AI calls with the track / capture / release pattern so users are never charged for failed responses 3. Explain how the Auto Buyback & Burn pipeline works and how to enable it from the dashboard Keep the integration minimal — just the billing layer on top of my existing code.
Projects that return value to holders last longer. Automated buybacks show your community the revenue is real and commitment is permanent. No manual buys. No trust-me promises. Just onchain execution, every time.
Backed by



















