keystone listen which forwards webhooks to your local server without ngrok or tunneling tools.
Installation
Login
Authenticate with your M2M credentials. Stored locally in~/.keystone/config.json.
Webhook Forwarding
Forward webhook events to your local development server. No ngrok needed.- Creates a temporary webhook endpoint on KeyStone
- Polls for new events
- Forwards each event to your local server via HTTP POST
- Shows events in your terminal with colored output
- Cleans up the temporary endpoint on exit (Ctrl+C)
Settlements
List settlements
Get settlement detail
Instructions
List instructions
Submit an instruction interactively
- Select your role (seller/buyer)
- Enter party details (name, reference, wallet)
- Enter leg details (instrument, quantity)
- Select template
- Optionally enter a trade reference to match
- Confirm and submit
Activity Logs
Tail your platform’s activity log:Scaffold a Project
Generate a working starter project:/api/keystone/session- Session token endpoint/api/webhooks/keystone- Webhook handler with signature verification/settlements- Settlement list page using@keystoneos/react/settlements/[id]- Settlement detail page.env.local.examplewith required environment variables
Configuration
Credentials are stored in~/.keystone/config.json:
| Environment | API URL |
|---|---|
production | https://api.keystoneos.xyz |
staging | https://api-staging.keystoneos.xyz |
development | https://api-dev.keystoneos.xyz |