A Pharos Agent Skill — built for the Pharos Skill Builder Campaign by DingiDinigi
Launch, verify, and distribute ERC-20 tokens on Pharos Network — from idea to airdrop in one conversation with your AI agent.
| Capability | Example Prompt |
|---|---|
| Deploy ERC-20 token | "Deploy a token called PharosGold, symbol PGD, 1M supply on Pharos testnet" |
| Verify contract | "Verify my contract 0xABC... on Pharos testnet" |
| Airdrop to wallets | "Airdrop 50 PGD each to these 10 wallets..." |
| Batch airdrop (CSV) | "Distribute tokens to all addresses in this CSV file" |
| Post-deploy check | Automatically runs after every deploy |
Supports Atlantic Testnet (Chain ID: 688688) and Pacific Mainnet (Chain ID: 1672).
curl -L https://foundry.paradigm.xyz | bash
source ~/.zshenv && foundryup
forge --version # confirm it worked# Ubuntu/Debian/WSL
sudo apt-get install -y jq
# macOS
brew install jqYou need native tokens (PHRS/PROS) to pay gas.
Testnet faucet: https://testnet.pharosnetwork.xyz — claim up to 0.01 PHRS every 12 hours.
export PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERENever share this with anyone. The skill uses it only as a command-line argument — it never logs or stores it.
Claude Code:
mkdir -p ~/.claude/skills/assets
curl -L https://raw.githubusercontent.com/DingiDinigi/pharos-token-launcher/main/SKILL.md \
-o ~/.claude/skills/pharos-token-launcher.md
curl -L https://raw.githubusercontent.com/DingiDinigi/pharos-token-launcher/main/assets/networks.json \
-o ~/.claude/skills/assets/networks.jsonCodex CLI:
mkdir -p ~/.codex/skills/assets
curl -L https://raw.githubusercontent.com/DingiDinigi/pharos-token-launcher/main/SKILL.md \
-o ~/.codex/skills/pharos-token-launcher.md
curl -L https://raw.githubusercontent.com/DingiDinigi/pharos-token-launcher/main/assets/networks.json \
-o ~/.codex/skills/assets/networks.jsonOpenClaw:
npx skills add https://github.com/DingiDinigi/pharos-token-launcherType /skills in a new session — you should see pharos-token-launcher listed.
You: Deploy a token called PharosGold with symbol PGD, 1 million supply, on Pharos testnet
Agent: Using pharos-token-launcher...
Deploying from: 0xYOUR_WALLET...
Balance: 0.8 PHRS ✓
Network: Atlantic Testnet ✓
Compiling MyToken.sol...
Deploying...
=====================================
TOKEN LAUNCH CONFIRMED
=====================================
Name: PharosGold
Symbol: PGD
Supply: 1,000,000.00
Decimals: 18
Address: 0xNEW_CONTRACT_ADDRESS
Explorer: https://testnet.pharosscan.xyz/address/0xNEW...
=====================================
You: Airdrop 100 PGD to 0xA..., 0xB..., 0xC...
Agent: Sending 100 PGD to 0xA... | tx: 0x111...
Sending 100 PGD to 0xB... | tx: 0x222...
Sending 100 PGD to 0xC... | tx: 0x333...
Airdrop complete. 3/3 successful.
| Network | Chain ID | RPC | Explorer |
|---|---|---|---|
| Atlantic Testnet | 688688 | https://atlantic.dplabs-internal.com | https://testnet.pharosscan.xyz |
| Pacific Mainnet | 1672 | https://rpc.pharos.xyz | https://pharosscan.xyz |
- Foundry —
cast+forgefor deploy and interact - OpenZeppelin Contracts — ERC-20 base (installed automatically)
- jq — JSON config parsing
- Funded private key required for all write operations
- Claude Code
- Codex CLI
- OpenClaw
MIT — Free to use, modify, and redistribute.
Built by DingiDinigi for the Pharos Agent Centre Skill Builder Campaign.
GitHub: https://github.com/DingiDinigi/pharos-token-launcher