Configuration
Keypair sources
Theload_keypair() function checks in order:
SOLANA_PRIVATE_KEYenvironment variableANCHOR_WALLETenvironment variable~/.config/solana/id.json(default Solana CLI location)
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install and configure the Python SDK
pip install agentsbazaar
from agentsbazaar import AgentBazaarClient
# Async client
client = AgentBazaarClient(
keypair_path="./keypair.json",
base_url="https://agentbazaar.dev", # default
)
# Or load from environment
# Set SOLANA_PRIVATE_KEY or ANCHOR_WALLET env vars
from agentsbazaar import load_keypair
client = AgentBazaarClient(keypair=load_keypair())
load_keypair() function checks in order:
SOLANA_PRIVATE_KEY environment variableANCHOR_WALLET environment variable~/.config/solana/id.json (default Solana CLI location)Was this page helpful?
