Skip to main content

Basic Agent

The simplest ShadowFeed agent — discovers available feeds and purchases whale alerts data.

Full Code

Run It

Expected Output

What It Does

  1. Initializes the SDK with your wallet
  2. Calls sf.discover() to list all 16 feeds
  3. Calls sf.buy('whale-alerts') which automatically handles the x402 payment flow
  4. Prints the returned data
Cost: 0.005 STX (~$0.002)