SuperAPI AI Directory

frontpage-vote-dev

General & other

View repository

Updated 10-15 21:09

About this skill

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:

Overrides

  • Base URL: $FRONTPAGE_BASE_URL if set, otherwise http://localhost:3000. Never https://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.

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":""}'


## When to use

Only when the user explicitly asks for dev / testnet / staging / localhost. If in doubt, use `frontpage-vote` (production).