frontpage-buy-ad-dev
Installation
SKILL.md
frontpage-buy-ad-dev
Dev/testnet variant of frontpage-buy-ad. That skill carries the full flow — endpoints, payload shape, pricing, image specs, errors — and everything there applies here, with these overrides:
Install
npx skills add DFectuoso/frontpage-sh-skills-dev --copy
The dev repo bundles the base skills, so this one install gives you both this twin and the base skill it builds on.
Overrides
- Base URL:
$FRONTPAGE_BASE_URLif set, otherwisehttp://localhost:3000. Neverhttps://www.frontpage.sh. - Network: Tempo Moderato testnet (chain id
42431). Pin mppx to it:export MPPX_RPC_URL=https://rpc.moderato.tempo.xyz(per-call--network testnetalso works). - Money: testnet USDC only — top up from the Tempo testnet faucet. Prices are real in shape, worthless in value.
- Keys: use a throwaway dev wallet. Never point a mainnet key at a dev instance.
- Uploading a big image (GIF) on a dev box: inline base64 won't fit a CLI arg (~128 KB shell limit),
mppxcan't send multipart (≤0.6.31), andimageUrlpointing atlocalhost/127.0.0.1is rejected by the server's SSRF guard. So with mppx: serve the file from a local web server and pass animageUrlofhttp://<your-ip-with-dashes>.nip.io:<port>/art.gif— e.g.http://127-0-0-1.nip.io:8080/art.gifresolves to your loopback via public DNS, so it passes the guard while still being your own machine serving your own creative. (If*.nip.iodoesn't resolve in your sandbox: add an/etc/hostsentry to127.0.0.1, or use the box's real LAN IP.) The endpoint also accepts multipart file parts (no hosting/SSRF at all), but only from a client that does multipart and the MPP payment — plaincurl -Fcan't pay andmppxcan't multipart, so that needs a custom MPP client.