Repository navigation
fix: require --uri on launch, drop the dead metadata upload (0.5.0) - #53
Conversation
pump.fun removed its anonymous upload route and the new one needs a logged-in session, so launch without --uri could only fail. --uri is now required; --desc, --image and the upload code are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pump.fun removed its anonymous metadata upload (
pump.fun/api/ipfs), and the new upload route needs a logged-in session, solaunchwithout--uricould only fail.--uriis now required.Fix:
launchrequires--uriand rejects a blank one;--desc,--imageandupload_metadata()are removed.launch_token()takesuriin place ofdescription/image_path.launchwithout--uriexits as a usage error before anything runs.Verification:
uv run pytest tests/passes; surfpool tests collect with the new signature. No mainnet launch was run: with--urithe transaction path is unchanged.Makes
--urirequired forlaunchand rejects blank values in the CLI. Removes--desc,--image, andupload_metadata().launch_token()now takesuri: str.Transaction path:
launch_tokenstill builds and sends the create_v2 transaction. The diff changes only the URI source and removes the upload branch. Instruction construction, wallet handling, and keypair code are not changed in the diff.Review points:
launch_tokendoes not validateuri.uv run pytest tests/passes.