small rust monitor for famous fox ding! transactions on solana.
it listens to helius enhanced websockets, decodes mpl core createv2 instruction data, fetches the token metadata uri for the image, resolves primary sns names when present, and sends a compact discord embed.
copy .env.example to .env and fill in the values.
HELIUS_RPC_URL=https://mainnet.helius-rpc.com/?api-key=<API_KEY>
HELIUS_WS_URL=wss://mainnet.helius-rpc.com/?api-key=<API_KEY>
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/<ID>/<TOKEN>before the first deploy, add the required service variables from .env.example:
HELIUS_RPC_URL=https://mainnet.helius-rpc.com/?api-key=<API_KEY>
HELIUS_WS_URL=wss://mainnet.helius-rpc.com/?api-key=<API_KEY>
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/<ID>/<TOKEN>railway uses railway.json to build with railpack and keep the monitor running as a long-lived worker.
cargo run --releasesend a test webhook from the default example tx:
cargo run -- -tsend a test webhook from a specific tx:
cargo run -- -t <signature>HELIUS_RPC_URL is used for test tx fetches and sns account lookups.
HELIUS_WS_URL is used for enhanced websocket transaction subscriptions.
DISCORD_WEBHOOK_URL is where ding embeds are sent.
DING_TEST_SIGNATURE optionally overrides the default test tx.
