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 counterparty trade reference to confirm against
- 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:
Staging is the environment to integrate against today.
https://api-staging.keystoneos.xyz is live and serves testnet settlements. The production host is reserved and not yet serving; requests to it will fail. api-dev is for KeyStone-internal use and does not resolve publicly.