SuperAPI AI Directory

frontpage-vote-dev

General & other

View repository

Updated 10-16 05:05

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:

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_URL if set, otherwise http://localhost:3000. Never https://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.

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).