From 4e267fd617050cbee6aa64ce22abe352bc4d5e83 Mon Sep 17 00:00:00 2001 From: CedarMist <134699267+CedarMist@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:58:55 +0100 Subject: [PATCH] Add Sapphire Testnet and Mainnet --- README.md | 2 ++ deployments/deployments.json | 14 ++++++++++++++ hardhat.config.ts | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/README.md b/README.md index dfe70af..3798792 100644 --- a/README.md +++ b/README.md @@ -2220,6 +2220,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Taiko](https://taikoscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [ZetaChain](https://explorer.zetachain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [5ireChain](https://5irescan.io/contract/evm/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Oasis Sapphire](https://explorer.oasis.io/mainnet/sapphire/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) #### Ethereum Test Networks @@ -2269,6 +2270,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer - [Taiko Holešky Testnet](https://hekla.taikoscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [ZetaChain Testnet (Athens-3)](https://athens.explorer.zetachain.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) - [5ireChain Testnet](https://testnet.5irescan.io/contract/evm/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) +- [Oasis Sapphire Testnet](https://explorer.oasis.io/testnet/sapphire/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed) ## Integration With External Tooling diff --git a/deployments/deployments.json b/deployments/deployments.json index 51cf573..07e3a29 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -674,5 +674,19 @@ "urls": [ "https://testnet.5irescan.io/contract/evm/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" ] + }, + { + "name": "Oasis Sapphire", + "chainId": 23294, + "urls": [ + "https://explorer.oasis.io/mainnet/sapphire/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] + }, + { + "name": "Oasis Sapphire Testnet", + "chainId": 23295, + "urls": [ + "https://explorer.oasis.io/testnet/sapphire/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed" + ] } ] diff --git a/hardhat.config.ts b/hardhat.config.ts index bd10986..7c10af4 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -651,6 +651,14 @@ const config: HardhatUserConfig = { url: vars.get("5IRE_CHAIN_MAINNET_URL", "https://rpc.5ire.network"), accounts, }, + sapphireMain: { + url: 'https://sapphire.oasis.io', + chainId: 0x5afe, + }, + sapphireTestnet: { + url: 'https://testnet.sapphire.oasis.io', + chainId: 0x5aff, + } }, contractSizer: { alphaSort: true,