Overview
Support uploading Soroban WASM contract code from a URL instead of requiring users to upload the binary file directly.
Motivation
Developers often host their compiled WASM contracts on GitHub releases, IPFS, or their own servers. Requiring direct file upload forces them to download the binary first, adding friction to the deployment workflow.
Proposed Design
- Extend the contract deploy endpoint to accept a
wasm_url field in addition to file upload
- Download the WASM binary from the URL with a size limit (e.g., 5MB)
- Validate the downloaded content is valid WASM before deployment
- Cache downloaded WASM by content hash to avoid re-downloading for duplicate deployments
- Support
ipfs:// and ar:// URL schemes via gateway resolution
Acceptance Criteria
Labels
enhancement, backend, Maybe Rewarded, GrantFox OSS, Official Campaign
Overview
Support uploading Soroban WASM contract code from a URL instead of requiring users to upload the binary file directly.
Motivation
Developers often host their compiled WASM contracts on GitHub releases, IPFS, or their own servers. Requiring direct file upload forces them to download the binary first, adding friction to the deployment workflow.
Proposed Design
wasm_urlfield in addition to file uploadipfs://andar://URL schemes via gateway resolutionAcceptance Criteria
wasm_urlparameterLabels
enhancement, backend, Maybe Rewarded, GrantFox OSS, Official Campaign