Get Started
Install pay
Install the pay CLI, verify the binary, and update agent integrations.
Install the CLI before running client, agent, or server flows.
| Resource | Link |
|---|---|
| Source code | solana-foundation/pay |
| Services | solana-foundation/pay-skills |
| x402 docs | Coinbase x402 docs |
| MPP docs | Stripe MPP docs |
Agent summary
- Prefer Homebrew for normal local setup.
- Use
pay setup --updatewhen pay is installed but agent MCP config needs refreshing. - Do not create or replace a mainnet account unless the user asked for account setup.
- Use sandbox mode when the user only needs local testing.
Install
brew install pay
pay --versionFrom source
git clone https://github.com/solana-foundation/pay.git
cd pay
just install pay
pay --versionWallet setup
pay setup
pay topuppay setup creates a wallet in supported local secure storage where available, including macOS Keychain, GNOME Keyring, Windows Hello, and 1Password.
Sandbox mode creates and funds an ephemeral local sandbox wallet automatically, so do not run mainnet account setup for a test-only flow.
Update agent config
pay setup --updatepay setup --update reinstalls MCP configuration and the agent skill without creating a new account.