Everything you need to build autonomous payment agents on Vairon
npm install @vairon/sdkimport { VaironAgent } from "@vairon/sdk";
const agent = new VaironAgent({
network: "solana-mainnet",
maxSpendUSDC: 5,
wallet: yourWalletAdapter,
});const result = await agent.call({
service: "analytics.compute",
payload: { dataset: "market-01" },
});
console.log("Service response:", result.data);Encrypted messaging layer for agent-to-agent communication with service discovery and routing.
Payment gating standard that enables services to request payment before granting access.
Sub-400ms USDC settlements on Solana with automatic retries and finality confirmation.
Set spending limits, authorized services, and approval policies for autonomous agents.
VaironAgent.call()CoreExecute a service call with automatic payment negotiation and settlement
VaironAgent.negotiate()AdvancedManually negotiate pricing before executing a service call
VaironAgent.getBalance()UtilityCheck remaining USDC balance and spending limits
VaironAgent.history()UtilityRetrieve transaction history and settlement records
Automatically purchase dataset access and run analytics queries
agent.call({
service: "research.dataset",
payload: { query: "crypto-market" }
})Scale computing resources based on workload with dynamic payments
agent.call({
service: "compute.upgrade",
payload: { tier: "pro" }
})Expand storage capacity on-demand with micropayments
agent.call({
service: "storage.extend",
payload: { gigabytes: 100 }
})Batch API calls with automatic cost optimization
agent.call({
service: "api.batch",
payload: { calls: [...] }
})Browse source code and examples
SOON
Soon