moonpay-fund-polymarket
Install the Polymarket CLI and fund its wallet with USDC.e and POL on Polygon via MoonPay.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- moonpay-fund-polymarket
- tags
- [ "trading", "setup", "polymarket", "polygon" ]
- description
- Install the Polymarket CLI and fund its wallet with USDC.e and POL on Polygon via MoonPay.
03 SKILL.md 正文
Fund Polymarket
Goal
Install the Polymarket CLI and fund its wallet with POL (gas) and USDC.e (trading) via MoonPay so it's ready to trade on Polymarket.
Polymarket runs on Polygon. To trade, the user needs:
- POL — native gas token for transaction fees
- USDC.e (
0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) — the token Polymarket uses for bets
Key addresses
| Token | Chain | Address |
|---|---|---|
| POL (native) | Polygon | 0x0000000000000000000000000000000000000000 |
| USDC.e | Polygon | 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 |
| ETH (native) | Ethereum | 0x0000000000000000000000000000000000000000 |
Workflow
1. Install Polymarket CLI
Check if the Polymarket CLI is already installed:
polymarket --version
If not installed, download and install:
curl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh
This downloads the binary for your platform, verifies the SHA-256 checksum, and installs to /usr/local/bin. If that fails due to sudo permissions, install to a user-writable location:
mkdir -p ~/.local/bin
# Download and extract the binary for your platform, then:
cp polymarket ~/.local/bin/polymarket && chmod +x ~/.local/bin/polymarket
2. Set up Polymarket wallet
Run the guided setup if no wallet exists:
polymarket setup
This creates a wallet, sets up a proxy wallet, and approves Polymarket contracts on Polygon.
Then get the wallet address:
polymarket wallet address
Use this address as the --wallet for all MoonPay funding commands below. EVM addresses are the same across all chains, so the Polymarket address works directly with MoonPay.
3. Check existing Polygon balances
mp token balance list --wallet <polymarket-address> --chain polygon
If the wallet already has POL and USDC.e, they're set.
4. Get POL for gas
Buy POL directly with fiat — easiest way to get gas on Polygon:
mp buy --token pol_polygon --amount 5 --wallet <polymarket-address> --email <email>
Alternatively, bridge ETH → POL if the user already has ETH:
mp token bridge \
--from-wallet <wallet-name> --from-chain ethereum \
--from-token 0x0000000000000000000000000000000000000000 \
--from-amount 0.001 \
--to-chain polygon \
--to-token 0x0000000000000000000000000000000000000000
~$2-5 worth of POL covers hundreds of transactions.
5. Get USDC.e for trading
Bridge ETH on Ethereum to USDC.e on Polygon in one step:
mp token bridge \
--from-wallet <wallet-name> --from-chain ethereum \
--from-token 0x0000000000000000000000000000000000000000 \
--from-amount 0.005 \
--to-chain polygon \
--to-token 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
Alternatively, if the user already has USDC on Ethereum, bridge it directly:
mp token bridge \
--from-wallet <wallet-name> --from-chain ethereum \
--from-token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 \
--from-amount 10 \
--to-chain polygon \
--to-token 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
6. Verify
mp token balance list --wallet <polymarket-address> --chain polygon
Confirm both POL and USDC.e are present.
7. Trade on Polymarket
Once funded, trade directly via MoonPay CLI:
# Search markets
mp prediction-market market search --provider polymarket --query "bitcoin"
# Get trending markets
mp prediction-market market trending list --provider polymarket
# Register wallet (one-time)
mp prediction-market user create --provider polymarket --wallet <evm-address>
# Buy shares
mp prediction-market position buy --wallet main --provider polymarket --tokenId <token-id> --price 0.65 --size 100
# Check positions
mp prediction-market position list --provider polymarket --wallet <evm-address>
# Check PnL
mp prediction-market pnl retrieve --provider polymarket --wallet <evm-address>
Or use the Polymarket CLI for advanced order types:
polymarket markets search "query" # find markets
polymarket clob price <token_id> # check prices
polymarket clob market-order ... # place orders
polymarket clob balance # check trading balance
Tips
polymarket wallet addressgives you the address to fund — use it as--walletin all MoonPay commands- EVM addresses are shared across chains, so one address works for Polygon, Ethereum, Base, etc.
- Bridge times from Ethereum → Polygon are typically 5-20 seconds
- POL is very cheap for gas — a few dollars covers hundreds of transactions
- The fiat buy option (
mp buy) is the fastest path if the user has no crypto yet
Related skills
- moonpay-prediction-market — Full prediction market trading guide
- moonpay-swap-tokens — Bridge commands and supported chains
- moonpay-check-wallet — Check Polygon balances
- moonpay-buy-crypto — Buy POL or ETH with fiat
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.