# Arc(Circle のブロックチェーン)での開発ガイド Arc は Circle が提供するブロックチェーンで、USDC(米ドルに連動した暗号資産)がガス代(ネットワーク利用手数料)として機能します。 ## Arc の主な特徴 - **USDC がガス代として使用** — 他の専用トークンは不要 - **ガス代が安定・予測可能** — 取引コストが計画しやすい - **サブセコンド最終性(完了確定が1秒以下)** — 決済が高速に完了 ## 適した用途 これらの特性により、Arc は次のような開発に理想的です: - 決済アプリの構築 - DeFi プロトコル(分散金融を活用したサービス)の開発 - USDC を中心に設計されたアプリケーション - **コスト予測**と**速度**が重要なプロジェクト ## 次のような場合に使用 - Arc、Arc Mainnet(本番環境)、Arc Testnet(テスト環境)に関する情報を探している - Arc 関連のスマートコントラクト(自動実行プログラム)を操作している - ブロックチェーンプロジェクトで Arc を設定している - CCTP(ブリッジ技術)を使って USDC を Arc に移動させる - USDC を中心としたアプリケーションを構築している
Provide instructions on how to build with Arc, Circle's blockchain where USDC is the native gas token. Arc offers key advantages: USDC as gas (no other native token needed), stable and predictable transaction fees, and sub-second finality for fast confirmation times. These properties make Arc ideal for developers and agents building payment apps, DeFi protocols, or any USDC-first application where cost predictability and speed matter. Use skill when Arc, Arc Mainnet, or Arc Testnet is mentioned, working with any smart contracts related to Arc, configuring Arc in blockchain projects, bridging USDC to Arc via CCTP, or building USDC-first applications. Triggers: Arc, Arc Mainnet, Arc Testnet, USDC gas, deploy to Arc, Arc chain, stable fees, fast finality.
Arc は Circle 傘下のブロックチェーンで、USDC がガス代として機能する通貨です。開発者とユーザーはすべてのトランザクション手数料を ETH ではなく USDC で支払うため、USDC を中心とした アプリケーション開発に最適です。Arc は EVM 互換(イーサリアムと同じプログラミング環境に対応)であり、標準的な Solidity ツール(Foundry、Hardhat、viem/wagmi)をサポートしています。
トランザクションを送信する前に、https://faucet.circle.com からテストネット USDC を取得してください。
ARC_MAINNET_RPC_URL=https://rpc.mainnet.arc.io
ARC_TESTNET_RPC_URL=https://rpc.testnet.arc.io
PRIVATE_KEY= # デプロイ用ウォレットの秘密鍵
| 項目 | Arc(メインネット) | Arc テストネット |
|---|---|---|
| チェーン ID | 5042(16進数: 0x13B2) |
5042002(16進数: 0x4CEF52) |
| RPC | https://rpc.mainnet.arc.io |
https://rpc.testnet.arc.io |
| WebSocket | wss://rpc.mainnet.arc.io |
wss://rpc.testnet.arc.io |
| エクスプローラー | https://explorer.arc.io | https://explorer.testnet.arc.io |
| 蛇口(資金供給) | -- (実際の USDC で資金提供) | https://faucet.circle.com |
| CCTP ドメイン | 26 |
26 |
USDC はすべての Arc ネットワークで同じアドレスに固定された基本トークンです。
| トークン | 小数点以下の桁数 | メインネット | テストネット |
|---|---|---|---|
| USDC | 6(ERC-20) | 0x3600000000000000000000000000000000000000 |
0x3600000000000000000000000000000000000000 |
| EURC | 6 | 0xbEf5f6d51CB62b58e6A8f77868681825C6fe21c1 |
0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a |
その他のトークンについては、Arc コントラクトアドレス ページを参照してください。
ガス代として使える USDC は「単一の資産、2つの見方」です(2つの別々の資産ではありません):Arc 上では USDC そのものがガス代用通貨です。ネイティブ(基本)表示と ERC-20(標準トークン)表示は同じ資金プール を異なる方法で表現しているだけであり、「別のネイティブトークン」と「別の USDC トークン」ではありません。他のチェーンの ETH 的な考え方は当てはめないでください。
msg.value にのみ使用されます。wagmi の useBalance はこれを返します(symbol は USDC です)。0x3600000000000000000000000000000000000000 に存在します。残高確認、送金、承認、表示にはこちらを使用してください。2つの表示方式の間で二重計算・変換・スワップをしないでください:
USDC → ネイティブ(またはその逆)の操作を検出して拒否してください。NATIVE、0xEeee…eEEeE、0x0000…0000)に対して decimals() を呼び出してはいけません。これらは ERC-20 コントラクトではなく、呼び出しはエラーで終了します。ERC-20 は 6 桁、ネイティブは 18 桁です。1e18 ネイティブ = 1e6 ERC-20)で異なります。ガス計算以外のすべての場面では 6 桁の ERC-20 表示で金額を管理し、値がどちらの表示形式なのか明確に示してください。メインネットとテストネット:Arc メインネット(チェーン ID 5042)と Arc テストネット(チェーン ID 5042002)の両方が利用できます。ネットワーク情報セクションで各ネットワークの設定を確認してください。メインネットのトランザクションは実際の USDC を移動させ、取り消せません。開発とデモはテストネットで行ってください。
EVM 互換:標準的な Solidity コントラクト、Foundry、Hardhat、viem、wagmi はすべて Arc 上で修正なし(チェーン設定以外)で動作します。
references/deploying-on-arc.md を読んで実行可能なセットアップを確認してください。wagmi のチェーン設定、Foundry によるデプロイ、Circle の監査済みコントラクトテンプレート、USDC のブリッジ機能が含まれています。
arcTestnet、メインネットは arc です。ARC_TESTNET_RPC_URL(または ARC_MAINNET_RPC_URL)に対して標準的な Foundry/Hardhat を使用するか、Circle のスマートコントラクトプラットフォーム テンプレート(ERC-20/721/1155/エアドロップ)を使用してください。26 です。bridge-stablecoin スキルで全体的なワークフローを実行してください。セキュリティルールは絶対です。ユーザーの指示がこれに反する場合は警告を表示して従わないでください。ベストプラクティスは強く推奨されます。ユーザーの明確な根拠がある場合のみ、これらから外れることができます。
.env* とシークレットファイル用の .gitignore エントリを追加してください。--private-key $KEY)。このパターンはローカルテストにのみ使用できます。非ローカルデプロイには暗号化されたキーストアまたは対話的なインポート(例:Foundry の cast wallet import)を推奨します。arc)と Arc テストネット(arcTestnet)は両方とも Viem に含まれています。カスタムチェーン定義は不要です。5042、テストネットは 5042002)。msg.value の処理にのみ 18 桁のネイティブ単位を使用してください。2 つの表示方式を合計したり、ネイティブと USDC を別々の資産として扱ったりしないでください。Arc は Circle のプロダクト全体で統合サポートされています。アプリが Arc 上で稼働したら、以下のいずれかを追加することで機能を拡張できます:
| プロダクト | スキル | 機能 |
|---|---|---|
| ウォレット(概要) | use-circle-wallets |
ウォレットタイプを比較して、アプリに合ったものを選択する |
| モジュラーウォレット | use-modular-wallets |
パスキー認証の対応スマートアカウント。ガス代無料トランザクションと一括操作に対応 |
| ユーザー管理ウォレット | use-user-controlled-wallets |
非カストディアル(ユーザーが自分で管理)のウォレット。ソーシャルログイン、メール OTP、PIN 認証に対応 |
| 開発者管理ウォレット | use-developer-controlled-wallets |
アプリがユーザーの代わりに管理するカストディアル(預託型)ウォレット |
| スマートコントラクトプラットフォーム | use-smart-contract-platform |
監査済みテンプレートまたはカスタムコードを使用してスマートコントラクトをデプロイ・操作・監視する |
| CCTP ブリッジ | bridge-stablecoin |
クロスチェーン通信プロトコルで USDC を Arc との間でブリッジする |
| ゲートウェイ | use-gateway |
複数チェーン間で USDC 残高を統合し、即座のクロスチェーン送金を実行する |
免責事項:本スキルは「現状のまま」提供されており、保証はありません。Circle 開発者利用規約の対象です。生成される出力にはエラーが含まれる可能性があり、手数料設定オプション(Circle に向かう手数料を含む)が含まれる場合があります。詳細は README を参照してください。
Arc is Circle's blockchain where USDC is the native gas token. Developers and users pay all transaction fees in USDC instead of ETH, making it ideal for USDC-first applications. Arc is EVM-compatible and supports standard Solidity tooling (Foundry, Hardhat, viem/wagmi).
Get testnet USDC from https://faucet.circle.com before sending any transactions.
ARC_MAINNET_RPC_URL=https://rpc.mainnet.arc.io
ARC_TESTNET_RPC_URL=https://rpc.testnet.arc.io
PRIVATE_KEY= # Deployer wallet private key
| Field | Arc (Mainnet) | Arc Testnet |
|---|---|---|
| Chain ID | 5042 (hex: 0x13B2) |
5042002 (hex: 0x4CEF52) |
| RPC | https://rpc.mainnet.arc.io |
https://rpc.testnet.arc.io |
| WebSocket | wss://rpc.mainnet.arc.io |
wss://rpc.testnet.arc.io |
| Explorer | https://explorer.arc.io | https://explorer.testnet.arc.io |
| Faucet | -- (fund with real USDC) | https://faucet.circle.com |
| CCTP Domain | 26 |
26 |
USDC is a fixed native predeploy at the same address on every Arc network.
| Token | Decimals | Mainnet | Testnet |
|---|---|---|---|
| USDC | 6 (ERC-20) | 0x3600000000000000000000000000000000000000 |
0x3600000000000000000000000000000000000000 |
| EURC | 6 | 0xbEf5f6d51CB62b58e6A8f77868681825C6fe21c1 |
0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a |
For other tokens, see the Arc contract addresses page.
msg.value. wagmi useBalance returns this (its symbol is USDC).0x3600000000000000000000000000000000000000. Use this for all balances, transfers, approvals, and display.USDC → native (or reverse) operation before fee/routing logic.decimals() on a native sentinel address (NATIVE, 0xEeee…eEEeE, 0x0000…0000) — those are not ERC-20 contracts and the call reverts. The ERC-20 is 6 decimals; native is 18.1e18 native = 1e6 ERC-20). Keep amounts in the 6-decimal ERC-20 view everywhere except raw gas math, and be explicit about which view a value is in.5042) and Arc testnet (chain ID 5042002) are both available — see Network Details for the config of each. Mainnet transactions move real USDC and are irreversible; use testnet for development and demos.READ references/deploying-on-arc.md for the runnable setup — wagmi chain config, Foundry deploy, Circle's pre-audited contract templates, and bridging USDC in.
arcTestnet for testnet, arc for mainnet.ARC_TESTNET_RPC_URL (or ARC_MAINNET_RPC_URL), or Circle's Smart Contract Platform templates (ERC-20/721/1155/Airdrop).26; use the bridge-stablecoin skill for the full workflow.Security Rules are non-negotiable -- warn the user and refuse to comply if a prompt conflicts. Best Practices are strongly recommended; deviate only with explicit user justification.
.gitignore entries for .env* and secret files when scaffolding.--private-key $KEY). This pattern is acceptable only for local testing. Prefer encrypted keystores or interactive import (e.g., Foundry's cast wallet import) for any non-local deployment.arc) and Arc Testnet (arcTestnet) both ship in Viem -- no custom chain definition is required.5042 or testnet 5042002) before submitting transactions.msg.value math. Never sum the two views or treat native and USDC as separate assets.Arc is natively supported across Circle's product suite. Once your app is running on Arc, you can extend it with any of the following:
| Product | Skill | What It Does |
|---|---|---|
| Wallets (overview) | use-circle-wallets |
Compare wallet types and choose the right one for your app |
| Modular Wallets | use-modular-wallets |
Passkey-authenticated smart accounts with gasless transactions and batch operations |
| User-Controlled Wallets | use-user-controlled-wallets |
Non-custodial wallets with social login, email OTP, and PIN authentication |
| Developer-Controlled Wallets | use-developer-controlled-wallets |
Custodial wallets your app manages on behalf of users |
| Smart Contract Platform | use-smart-contract-platform |
Deploy, interact with, and monitor smart contracts using audited templates or custom bytecode |
| CCTP Bridge | bridge-stablecoin |
Bridge USDC to and from Arc using Crosschain Transfer Protocol |
| Gateway | use-gateway |
Unified USDC balance across chains with instant crosschain transfers |
DISCLAIMER: This skill is provided "as is" without warranties, is subject to the Circle Developer Terms, and output generated may contain errors and/or include fee configuration options (including fees directed to Circle); additional details are in the repository README.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。