tejas0111/pharos/testnet-deployment

Claude Code and agent skill by tejas0111/pharos

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install tejas0111/pharos/testnet-deployment

SKILL.md

The same SKILL.md was published earlier as tejas0111/pharos/testnet-deployment.

Testnet Deployment

Overview

Deploy and verify contracts on Pharos Atlantic Testnet (chain ID 688689). Every deployment must follow the security gate → simulate → broadcast → verify workflow.

Network Details

ParameterValue
NetworkPharos Atlantic Testnet
Chain ID688689
CurrencyPHRS
RPChttps://atlantic.dplabs-internal.com
Explorerhttps://atlantic.pharosscan.xyz
Faucethttps://testnet.pharosnetwork.xyz
EntryPoint (v0.7)0x0000000071727De22E5E9d8BAf0edAc6f37da032

Deploy Scripts

All deploy scripts are in script/ and follow the Foundry Script pattern:

solidity
// script/DeployPharosLendingPool.s.sol
contract DeployPharosLendingPool is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
PharosLendingPool pool = new PharosLendingPool(
1_000_000e18, // maxCapacity
1000, // reserveFactor
15000, // collateralRatio
7500, // maxLTV
1000 // liquidationBonus
);
vm.stopBroadcast();
console.log("LendingPool deployed at:", address(pool));
}
}
Deployable Contracts
ContractScriptAtlantic Address
CounterDeploy.s.sol0x55ec...8e4e
StorageDeployStorage.s.sol0x2527...34f0
PharosERC20DeployERC20.s.sol0x3636...4CD
PharosLendingPoolDeployLendingPool.s.sol—
DEXPoolDeployDEXPool.s.sol—
StakingPoolDeployStakingPool.s.sol—
PharosPharosRWATokenDeployPharosRWAToken.s.sol—
CrossChainMessageDeployCrossChain.s.sol—
PharosSPNPaymasterDeploySPNPaymaster.s.sol—
PharosZkLoginDeployZkLogin.s.sol—
To deploy: forge script script/<SCRIPT> --rpc-url https://atlantic.dplabs-internal.com --broadcast -vvvv

Deployment Workflow

1. Pre-flight
bash
export PRIVATE_KEY=0x...
# Verify env is set (never print it!)
test -n "$PRIVATE_KEY" || { echo "PRIVATE_KEY not set"; exit 1; }
# Check balance
cast balance --rpc-url https://atlantic.dplabs-internal.com $(cast wallet address --private-key $PRIVATE_KEY)
2. Simulate
bash
forge script script/DeployLendingPool.s.sol \
--rpc-url https://atlantic.dplabs-internal.com \
-vvvv
3. Broadcast
bash
forge script script/DeployLendingPool.s.sol \
--rpc-url https://atlantic.dplabs-internal.com \
--broadcast \
--slow \
-vvvv
4. Verify
bash
forge verify-contract <CONTRACT_ADDRESS> \
contracts/PharosLendingPool.sol:PharosLendingPool \
--chain 688689 \
--verifier-url https://atlantic.pharosscan.xyz/api/ \
--verifier blockscout

Security Gates

  1. Slither check (optional): pip install slither-analyzer then slither contracts/PharosLendingPool.sol --json -
  2. Gas spike check: Monitor network gas >200 Gwei, avoid broadcasting during spikes
  3. .env security: Never commit .env, never print $PRIVATE_KEY
  4. Simulation first: Always simulate before broadcast

Post-Deployment

bash
# Verify on PharosScan
open https://atlantic.pharosscan.xyz/address/<CONTRACT_ADDRESS>
# Fund contract (if needed)
cast send --private-key $PRIVATE_KEY <CONTRACT_ADDRESS> --value 1ether
# Register in DEPLOYMENTS.md
echo "| ContractName | $(date +%Y-%m-%d) | <ADDRESS> | Atlantic |" >> DEPLOYMENTS.md

MCP Tools

  • pharos_deploy_contract — Deploy via MCP
  • pharos_verify_contract — Auto-verify
  • pharos_check_balance — Check deployer balance
  • pharos_contract_info — Get contract details
  • pharos_run_security_check — Run Slither gate

References

  • script/ — All deploy scripts
  • DEPLOYMENTS.md — Deployment records
  • contracts/ — All deployable contracts
  • MCP tool: pharos_deploy_contract

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tejas0111/pharos/testnet-deployment/badge)](https://verified-skill.com/skills/tejas0111/pharos/testnet-deployment)

Something wrong with this skill or its page? Tell us.