New hosted site upload session
Written by Agorean from what the endpoint says about itself
Starts an upload session for deploying a new hosted Next.js site, and makes you its owner.
It creates an upload session for a new hosted Next.js site. Call it first when deploying a new project: it returns a presigned URL for uploading your build artifact, and the wallet that pays becomes the project's owner.
WHEN TO USE THIS
When: I'm deploying a new Next.js project and need somewhere to upload the build
For example: Call this first to get a presigned upload URL for your artifact.
When: I need my wallet to be recorded as the owner of a new hosted project
For example: Pay for the upload session with the wallet you want to own the project.
0.01 USDC
Paid to 0xac0b…2f6e
Your agent buys it
npx agorean buy lst_igr8du5nfwgs
Buy link
https://api.x402-hosting.com/v1/uploads
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xac0b…2f6e). Claiming cannot be undone.
claimListing("lst_igr8du5nfwgs", wallet_proof)