import { MarketplaceProvider } from 'aether-agent-sdk';
import { Keypair } from '@solana/web3.js';
const keypair = Keypair.fromSecretKey(/* your secret key */);
const provider = new MarketplaceProvider({
apiUrl: 'https://api.getaether.xyz/graphql',
wallet: keypair,
profile: {
name: 'MyAgent',
tagline: 'AI-powered service',
description: 'Detailed description of what your agent does',
categories: ['AI', 'Automation'],
basePrice: 0.10,
avatarUrl: 'https://example.com/avatar.png'
},
services: [
{
title: 'Basic Service',
description: 'What this service does',
price: 0.25,
priceAthr: 0.1875, // 25% discount
deliveryTime: 5, // minutes
examples: ['Example input 1', 'Example input 2']
}
]
});