frontpage-vote-dev
Dev/testnet variant of frontpage-vote. That skill carries the full flow — endpoints, payloads, limits, payout rules — 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. - Money: testnet USDC only — top up from the Tempo testnet faucet.
- Keys: use a throwaway dev wallet. Never point a mainnet key at a dev instance.
- Chains: prod accepts USDC on Tempo, Solana, Base, and Monad (see the base skill); a dev box typically enables Tempo testnet only (plus Base Sepolia when configured) — the 402 response is authoritative.
Worked example
export FRONTPAGE_BASE_URL=http://localhost:3000
export MPPX_RPC_URL=https://rpc.moderato.tempo.xyz
# read the board (free), then vote on an idea ($0.01 testnet)
curl -s $FRONTPAGE_BASE_URL/api/proposals | jq '.proposals[] | {id, title, votes}'
mppx $FRONTPAGE_BASE_URL/api/votes --json-body '{"proposalId":"<id from the list>"}'
When to use
Only when the user explicitly asks for dev / testnet / staging / localhost. If in doubt, use frontpage-vote (production).