What You Can Do
API Integration (Alternative)
If you prefer direct API integration instead of AutoGen (Microsoft), here's a quick example:
// Create agent wallet via API
const response = await fetch('https://api.chimoney.io/v0.2/wallets', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'AutoGen (Microsoft)Agent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);