{"path":"scripts/README.md","size":991,"locked":false,"binary":false,"truncated":false,"content":"# Scripts\n\nDev-only utilities — not part of the CLI itself.\n\n## devnet-test.js\n\nVerifies the SNS record-write path (`lib/sns.js`) actually works, using\nSolana **devnet** (free, worthless SOL — safe to run repeatedly).\n\n```bash\nnode scripts/devnet-test.js\n```\n\nIt generates a throwaway wallet, requests a devnet airdrop, wraps some SOL\n(domain registration pays in wrapped SOL, not native SOL), registers a\ndisposable test domain, attempts to write a fake CID to its IPFS record,\nthen reads it back to confirm the write actually landed.\n\nIf the airdrop fails (devnet's faucet is rate-limited), fund the printed\naddress manually at https://faucet.solana.com and re-run.\n\nIf the write step fails or the readback doesn't match, check the\n`devnet.bindings` function list the script prints at the very top —\nthat's the real, live list of what's available, since the exact\ndevnet-specific write function isn't fully confirmed from docs alone (see\ncomments in the script and in `lib/sns.js`).\n"}