Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pharos-token-launcher

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.


What This Skill Does

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


Installation Guide (Beginner Friendly)

Step 1 — Install Foundry

curl -L https://foundry.paradigm.xyz | bash
source ~/.zshenv && foundryup
forge --version   # confirm it worked

Step 2 — Install jq

# Ubuntu/Debian/WSL
sudo apt-get install -y jq

# macOS
brew install jq

Step 3 — Fund Your Wallet

You need native tokens (PHRS/PROS) to pay gas.

Testnet faucet: https://testnet.pharosnetwork.xyz — claim up to 0.01 PHRS every 12 hours.

Step 4 — Set Your Private Key

export PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERE

Never share this with anyone. The skill uses it only as a command-line argument — it never logs or stores it.

Step 5 — Install the Skill

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

Codex 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.json

OpenClaw:

npx skills add https://github.com/DingiDinigi/pharos-token-launcher

Step 6 — Verify

Type /skills in a new session — you should see pharos-token-launcher listed.


How to Use

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 Details

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

Dependencies

  • Foundrycast + forge for deploy and interact
  • OpenZeppelin Contracts — ERC-20 base (installed automatically)
  • jq — JSON config parsing
  • Funded private key required for all write operations

Supported Frameworks

  • Claude Code
  • Codex CLI
  • OpenClaw

License

MIT — Free to use, modify, and redistribute.


Author

Built by DingiDinigi for the Pharos Agent Centre Skill Builder Campaign.

GitHub: https://github.com/DingiDinigi/pharos-token-launcher

About

A Pharos Agent Skill — deploy ERC-20 tokens, verify contracts, and run batch airdrops on Pharos Atlantic Testnet and Pacific Mainnet. Full token lifecycle in one natural language command.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors