Skip to content

Commit

Permalink
xlayer deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolev-igor committed Sep 27, 2024
1 parent 188eabb commit 1730238
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ const config: HardhatUserConfig = {
taiko: {
url: 'https://rpc.zerion.io/v1/taiko',
},
xlayer: {
url: 'https://rpc.zerion.io/v1/okbchain',
},
zora: {
url: 'https://rpc.zora.energy',
},
Expand All @@ -135,6 +138,7 @@ const config: HardhatUserConfig = {
'polygon-zkevm': process.env.POLYGON_ZKEVM_API_KEY ? process.env.POLYGON_ZKEVM_API_KEY.toString() : '',
scroll: process.env.SCROLL_API_KEY ? process.env.SCROLL_API_KEY.toString() : '',
taiko: process.env.TAIKO_API_KEY ? process.env.TAIKO_API_KEY.toString() : '',
xlayer: process.env.XLAYER_API_KEY ? process.env.XLAYER_API_KEY.toString() : '',
zora: "zora",
},
customChains: [
Expand Down Expand Up @@ -210,6 +214,14 @@ const config: HardhatUserConfig = {
browserURL: "https://explorer.mode.network"
}
},
{
network: "xlayer",
chainId: 196,
urls: {
apiURL: "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/XLAYER",
browserURL: "https://www.okx.com/web3/explorer/xlayer"
}
},
],
},
docgen: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"deploy:univ2caller": "npx hardhat run scripts/deploy_uniswap_v2_caller.js --network truffle-dashboard",
"deploy:univ3caller": "npx hardhat run scripts/deploy_uniswap_v3_caller.js --network truffle-dashboard",
"initialize:router": "npx hardhat run scripts/setup_router_fee.js --network truffle-dashboard",
"verify": "npx hardhat run scripts/verify.js --network base",
"verify": "npx hardhat run scripts/verify.js --network xlayer",
"docs:serve": "npx @techdocs/cli serve:mkdocs -p 3333"
},
"lint-staged": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const deploymentAddresses = {
56: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
100: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
137: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
196: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
250: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
324: '0xe4C82643A4F9Fd288322cc6fBd7C48AB068B38D3',
1101: '0xd7F1Dd5D49206349CaE8b585fcB0Ce3D96f1696F',
Expand All @@ -26,6 +27,7 @@ const deploymentAddresses = {
56: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
100: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
137: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
196: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
250: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
324: '0xB18Bb3d1775f9a1AdFF9Bc14CcCe1510A55148D9',
1101: '0xC629Bf86f02ef13E8F1f5F75adE8a8165587998F',
Expand All @@ -47,6 +49,7 @@ const deploymentAddresses = {
56: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
100: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
137: '0x53F5D89914327C3900FC2C9D297B9B30129F463e',
196: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
250: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
1101: '0xe76BA87E04555e1a5afcCb0c8c5AC4d0b29e3dBE',
5000: '0xE81B24bcD0a706ae3Ece36C42CF96c010EEeF37a',
Expand All @@ -68,6 +71,7 @@ const deploymentAddresses = {
56: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c',
100: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d',
137: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270',
196: '0x5A77f1443D16ee5761d310e38b62f77f726bC71c',
250: '0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83',
1101: '0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9',
5000: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
Expand All @@ -87,6 +91,7 @@ const deploymentAddresses = {
56: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
100: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
137: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
196: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
250: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
324: '0x5d4C06f4d54bD901b4377241DAB6447b8E19d75c',
1101: '0x4a183b7ED67B9E14b3f45Abfb2Cf44ed22c29E54',
Expand Down

0 comments on commit 1730238

Please sign in to comment.