From 8e4e2ebab1bf6c96c4ef62656b8c04eb077e3b27 Mon Sep 17 00:00:00 2001 From: Alien Deployer Date: Tue, 24 Dec 2024 23:55:07 +0300 Subject: [PATCH] sonic deployment and verification --- .env.example | 1 + README.md | 1 + foundry.toml | 1 + src/core/README.md | 6 ++++++ 4 files changed, 9 insertions(+) diff --git a/.env.example b/.env.example index bb20d97e..c8d4ba4b 100644 --- a/.env.example +++ b/.env.example @@ -8,5 +8,6 @@ POLYGONSCAN_API_KEY= BASESCAN_API_KEY= ARBITRUMSCAN_API_KEY= ETHERSCAN_API_KEY= +SONICSCAN_API_KEY= PRIVATE_KEY= FOUNDRY_PROFILE=lite diff --git a/README.md b/README.md index 4eb40c69..f7d6e9a3 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ Platform address. * **Polygon** [137] `0xb2a0737ef27b5Cc474D24c779af612159b1c3e60` [polygonscan](https://polygonscan.com/address/0xb2a0737ef27b5Cc474D24c779af612159b1c3e60) * **Base** [8453] `0x7eAeE5CfF17F7765d89F4A46b484256929C62312` [basescan](https://basescan.org/address/0x7eaee5cff17f7765d89f4a46b484256929c62312) * **Re.al** [111188] `0xB7838d447deece2a9A5794De0f342B47d0c1B9DC` [explorer.re.al](https://explorer.re.al/address/0xB7838d447deece2a9A5794De0f342B47d0c1B9DC) +* **Sonic** [146] `0x4Aca671A420eEB58ecafE83700686a2AD06b20D8` [sonicscan](https://sonicscan.org/address/0x4aca671a420eeb58ecafe83700686a2ad06b20d8) ## Audits diff --git a/foundry.toml b/foundry.toml index 6658c69d..fb55dd50 100644 --- a/foundry.toml +++ b/foundry.toml @@ -34,3 +34,4 @@ polygon = { key = "${POLYGONSCAN_API_KEY}", chain = 137 } base = { key = "${BASESCAN_API_KEY}", chain = 8453 } arbitrum = { key = "${ARBITRUMSCAN_API_KEY}", chain = 42161 } ethereum = { key = "${ETHERSCAN_API_KEY}", chain = 1 } +sonic = { key = "${SONICSCAN_API_KEY}", chain = 146, url = "https://api.sonicscan.org/api" } diff --git a/src/core/README.md b/src/core/README.md index 74417cbb..c3d39aa7 100644 --- a/src/core/README.md +++ b/src/core/README.md @@ -81,3 +81,9 @@ forge script --rpc-url polygon script/deploy-strategy/IQMF.Polygon.s.sol -vvvv - ```shell forge script --rpc-url real script/deploy-core/Deploy.Real.s.sol --verify --verifier blockscout --verifier-url https://explorer.re.al/api? --slow --with-gas-price 30000000 -g 200 --broadcast ``` + +### Sonic + +```shell +forge script --rpc-url sonic --slow --broadcast --verify --etherscan-api-key sonic script/deploy-core/Deploy.Sonic.s.sol +```