Default Initialization
InitializeGlamClient by setting the ANCHOR_PROVIDER_URL and ANCHOR_WALLET environment variables:
Keypair Wallet
Alternatively, initializeGlamClient with an RPC URL and wallet keypair:
Custom Wallet Implementation
Any custom wallet that implements theWallet interface can be used with GlamClient.