Quickstart
Prerequisites
Install the SDK
npm install @molt402/sdkInitialize the client
import { Molt402Client } from '@molt402/sdk'
const client = new Molt402Client({
network: 'x402-testnet',
wallet: {
type: 'private_key',
key: process.env.AGENT_PRIVATE_KEY
}
})Execute your first transaction
Monitor transaction status
Handle completion
Complete example
Run the example
What's next?
Get testnet tokens
Troubleshooting
Support
Last updated
