Skip to content

support arc testnet#163

Open
koo-virtuals wants to merge 4 commits into
mainfrom
feat/vp-2276
Open

support arc testnet#163
koo-virtuals wants to merge 4 commits into
mainfrom
feat/vp-2276

Conversation

@koo-virtuals
Copy link
Copy Markdown
Contributor

@koo-virtuals koo-virtuals commented May 11, 2026

Note

Medium Risk
Records on-chain proxy deployments for bonding/tax/factory contracts and extends deploy tooling to new chains; no contract source changes in the diff, but wrong manifest or network selection could affect upgrades/ops.

Overview
Adds Arc Network (testnet chain 5042002, mainnet 5042) to Hardhat: dedicated RPC env vars (ARC_*_RPC_URL, no generic RPC_URL fallback), and Blockscout-style explorer entries on hardhat.config.js for contract verification.

Checks in OpenZeppelin upgrade manifests for Arc (unknown-5042002.json) and BSC testnet (bsc-testnet.json) with transparent proxy addresses, deployment tx hashes, and storage layouts for launchpad/tax/persona contracts (BondingV5, AgentFactoryV7, AgentTaxV2, etc.).

Wires launchpadv5 ops to Arc: run_local_deploy.sh network switches (mainnet deploy warning), arc_testnet in the Uniswap V2 testnet liquidity path, handle_buy_sell.ts usage + default agent token, and smaller default liquidity/buy amounts in helper scripts. Base Sepolia default token in handle_buy_sell is updated to a different address.

Reviewed by Cursor Bugbot for commit a6e2682. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a6e2682. Configure here.

Comment thread hardhat.config.js
arc_testnet: {
url:
process.env.ARC_TESTNET_RPC_URL ||
"https://rpc.arc-testnet.network",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong Arc testnet RPC default

High Severity

The arc_testnet configuration's default RPC URL (https://rpc.arc-testnet.network) differs from Arc's documented testnet endpoint (https://rpc.testnet.arc.network). Without ARC_TESTNET_RPC_URL set, Hardhat may connect to the wrong network or fail to connect, impacting deploys and scripts.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a6e2682. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant