Documentation Index
Fetch the complete documentation index at: https://docs.shadowfeed.app/llms.txt
Use this file to discover all available pages before exploring further.
Provider Onboarding
This guide walks you through registering as a ShadowFeed data provider. Estimated time: 5 minutes for sign-up, 30 minutes to wire up your HMAC verifier (Partner Bridge mode only).Prerequisites
- A Stacks wallet installed: Leather or Xverse
- For Partner Bridge mode: an HTTPS endpoint you control (e.g.
https://api.yourcompany.com) - For Hosted Mirror mode: a public JSON URL or willingness to push data via webhook
Step 1 — Sign in with your Stacks wallet
Visit shadowfeed.app
Open shadowfeed.app in a browser with Leather or Xverse extension installed.
Your wallet address becomes your provider account identity. You can link a different wallet for withdrawals later if revenue should go elsewhere (multisig, treasury, etc.).
Step 2 — Profile (wizard step 1)
| Field | Required | Notes |
|---|---|---|
| Handle | Yes | URL slug, 3-32 chars, lowercase + numbers + hyphens. Becomes /providers/handle. |
| Display name | Yes | Shown on your profile + agent UI |
| Description | No | One-sentence pitch |
| Website | No | Linked from profile |
| X (Twitter) | No | @handle for community attribution |
Step 3 — Integration mode (wizard step 2)
- Partner Bridge
- Hosted Mirror
Pick this if you already have a production API.Required: partner endpoint URL (e.g.
https://api.yourcompany.com). This is where ShadowFeed will send signed requests when an agent buys your feeds.The wizard will generate an HMAC secret in step 4. Save it immediately — it’s shown once.Step 4 — Add your first feed (wizard step 3)
| Field | Required | Notes |
|---|---|---|
| Feed slug | Yes | Unique per provider, e.g. whales, gas-prices |
| Display name | Yes | E.g. “Whale Alerts” |
| Description | No | Helps agents discover your feed |
| Price (STX) | Yes | Per-query cost. Suggested: 0.003 - 0.05 STX |
| Source path | Partner Bridge | Relative path on your API, e.g. /v1/whales |
| Source type | Hosted Mirror | github_raw, r2_url, webhook_push, manual_upload |
| Source URL | Hosted Mirror polling | HTTPS URL to fetch JSON from |
| Poll interval | Hosted Mirror polling | 60s, 5min, 15min, or 1 hour |
pending to active and the feed is live at /feeds/p/your-handle/feed-slug.
Step 5 — Save your HMAC secret
This step only applies to Partner Bridge mode. The wizard’s success screen shows the secret once. It looks like:Step 6 — Where to put the HMAC secret
This is the most common point of confusion: on which server does the secret live? Answer: on the same server that hosts yourpartner_endpoint. Whatever domain/runtime serves the URL ShadowFeed will call.
Your partner_endpoint runtime | How to set the secret |
|---|---|
| Cloudflare Workers | wrangler secret put SHADOWFEED_PARTNER_SECRET |
| Vercel | Dashboard → Settings → Environment Variables |
| Railway / Fly.io | Project → Variables → Add |
| Render | Service → Environment → Add Environment Variable |
| AWS Lambda | Console → Configuration → Environment variables |
| Docker / VPS | .env file loaded by your process, or systemd EnvironmentFile |
| Heroku | heroku config:set SHADOWFEED_PARTNER_SECRET=... |
The secret never gets put on ShadowFeed’s side as a user-facing config. We already store it as a hash for verification at signup time. You only manage it on your side.
- TypeScript / Node
- Cloudflare Workers
- Python
- Go
Step 7 — Link a withdrawal wallet
Before you can withdraw STX, you must link a destination wallet. This can be the same wallet you signed in with, or a different one (multisig, treasury).Open the warning banner
In the dashboard, click link one under the ”⚠ No linked withdrawal wallet” message.
Step 8 — Verify end-to-end
Once your verifier is deployed and the env var is set, trigger a paid request:What’s next
HMAC Integration Guide
Verifier code in TypeScript, Python, and Go — copy-paste ready.
Withdrawals & Revenue
Sign a withdrawal, link a wallet, view settlement history.
Troubleshooting
Common errors and how to fix them.
Provider dashboard
Live portal for managing feeds and revenue.