Skip to content

Commit 6f4da63

Browse files
committed
add sonic deployment
1 parent fd58b31 commit 6f4da63

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

hardhat.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ const config: HardhatUserConfig = {
127127
soneium: {
128128
url: 'https://rpc.zerion.io/v1/soneium',
129129
},
130+
sonic: {
131+
url: 'https://rpc.zerion.io/v1/sonic',
132+
},
130133
taiko: {
131134
url: 'https://rpc.zerion.io/v1/taiko',
132135
},
@@ -163,6 +166,7 @@ const config: HardhatUserConfig = {
163166
'polygon-zkevm': process.env.POLYGON_ZKEVM_API_KEY ? process.env.POLYGON_ZKEVM_API_KEY.toString() : '',
164167
scroll: process.env.SCROLL_API_KEY ? process.env.SCROLL_API_KEY.toString() : '',
165168
soneium: 'soneium',
169+
sonic: process.env.SONIC_API_KEY ? process.env.SONIC_API_KEY.toString() : '',
166170
taiko: process.env.TAIKO_API_KEY ? process.env.TAIKO_API_KEY.toString() : '',
167171
xlayer: process.env.XLAYER_API_KEY ? process.env.XLAYER_API_KEY.toString() : '',
168172
unichain: 'unichain',
@@ -290,6 +294,14 @@ const config: HardhatUserConfig = {
290294
browserURL: "https://soneium.blockscout.com"
291295
}
292296
},
297+
{
298+
network: "sonic",
299+
chainId: 146,
300+
urls: {
301+
apiURL: "https://api.sonicscan.org/api",
302+
browserURL: "https://sonicscan.org"
303+
}
304+
},
293305
{
294306
network: "ink",
295307
chainId: 57073,

scripts/deployment.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const deploymentAddresses = {
66
100: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
77
130: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
88
137: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
9+
146: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
910
196: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
1011
250: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
1112
324: '0xe4C82643A4F9Fd288322cc6fBd7C48AB068B38D3',
@@ -36,6 +37,7 @@ const deploymentAddresses = {
3637
100: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
3738
130: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
3839
137: '0xE73507F0f09900a35120e94F05364B8F6986999e',
40+
146: '0xe76ba87e04555e1a5afccb0c8c5ac4d0b29e3dbe',
3941
196: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
4042
250: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
4143
324: '0x4667fFb6a24017f977c93Da1BD630CF1801343b6',
@@ -65,6 +67,7 @@ const deploymentAddresses = {
6567
100: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
6668
130: '0xC0AC45d01a64660629506b5889722C6dA25F4084',
6769
137: '0x53F5D89914327C3900FC2C9D297B9B30129F463e',
70+
146: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
6871
196: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
6972
250: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
7073
1101: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
@@ -131,6 +134,7 @@ const deploymentAddresses = {
131134
100: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d',
132135
130: '0x4200000000000000000000000000000000000006',
133136
137: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
137+
146: '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38',
134138
196: '0x5A77f1443D16ee5761d310e38b62f77f726bC71c',
135139
250: '0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83',
136140
1101: '0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9',
@@ -158,6 +162,7 @@ const deploymentAddresses = {
158162
100: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
159163
130: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
160164
137: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
165+
146: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
161166
196: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
162167
250: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
163168
324: '0x5d4C06f4d54bD901b4377241DAB6447b8E19d75c',

0 commit comments

Comments
 (0)