Repository navigation
feat: Base Sepolia にコントラクトとサブグラフをデプロイ - #606
Merged
Merged
Conversation
- hardhat に baseSepolia ネットワークを追加 - Etherscan の verify を API v2(単一キー)に移行。v1 は廃止済みで全チェーン失敗していた - Base Sepolia のデプロイ済みアドレスを outputs/contracts-baseSepolia.json に記録 - subgraph に base-sepolia 用 config と prepare/deploy/update/delete スクリプトを追加 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Base Sepolia(chain 84532)に Toban のコントラクト一式をデプロイし、Goldsky に toban と Hats のサブグラフを置きました。この PR には、その際の設定とアドレスの記録が入っています。
変更内容
pkgs/contract/hardhat.config.tsbaseSepoliaネットワークを追加しました(PRIVATE_KEYを使用)。ETHERSCAN_API_KEYを使う形)。チェーンごとにキーを指定する書き方だと廃止済みの v1 エンドポイントが使われ、sepolia と base も含めて verify が全件失敗していたためです。これでBASESCAN_API_KEYは不要になりました。pkgs/contract/outputs/contracts-baseSepolia.json:デプロイしたアドレスを記録しました。pkgs/subgraph/config/base-sepolia.json、package.json:base-sepolia 用の config と、prepare:/deploy:/update:/delete:base-sepoliaスクリプトを追加しました。DEPLOYMENT.md:環境変数の表を更新しました。デプロイ結果
0xCf5D0D5d95C8B14bE2E5C1E49740eBa312f7d6960xAaD7C0dE8B4729D3397EB44DF9757060E09Eeb1F0x68ff212A14F3d41db0BcFf4dE5D2375e889763830x4A6A3111eAc4b18E19298da6b94337262eB13758BIG_BANGが新しい BigBang を指していることを、オンチェーンで確認しました。Goldsky(project
project_cmeh0xbv3lif101ub8htf44mo)https://api.goldsky.com/api/public/project_cmeh0xbv3lif101ub8htf44mo/subgraphs/toban-base-sepolia/0.0.1/gn(startBlock 54335364)https://api.goldsky.com/api/public/project_cmeh0xbv3lif101ub8htf44mo/subgraphs/hats-v1-base-sepolia/0.0.1/gn(hats-subgraphリポジトリからgraph build --network base-sepoliaでビルド)注意:既存の toban-sepolia、toban-base、hats-v1-sepolia は別のプロジェクト(
project_cm4r39viziqcd01wo6y96c1r6)にあります。確認
pnpm contract test:135 件すべて通過hasIndexingErrors: false未対応
VITE_CHAIN_ID=84532、VITE_BIGBANG_ADDRESS、上記 2 つのエンドポイント)はまだ用意していません。🤖 Generated with Claude Code