diff --git a/protocol/hardhat.config.ts b/protocol/hardhat.config.ts index 56584c908..f1623aa90 100644 --- a/protocol/hardhat.config.ts +++ b/protocol/hardhat.config.ts @@ -193,6 +193,13 @@ module.exports = { gasPrice: parseInt(process.env.SEPOLIA_GAS_IN_GWEI || '0') * 1000000000, eid: EndpointId.SEPOLIA_V2_TESTNET }, + cartio: { + url: process.env.CARTIO_RPC_URL || '', + accounts: process.env.CARTIO_ADDRESS_PRIVATE_KEY + ? [process.env.CARTIO_ADDRESS_PRIVATE_KEY] + : [], + chainId: 80000, + }, anvil: { url: "http://127.0.0.1:8545/", accounts: "remote", @@ -225,7 +232,16 @@ module.exports = { apiURL: "https://api-sepolia.arbiscan.io/api", browserURL: "https://sepolia.arbiscan.io" } - } + }, + { + network: "cartio", + chainId: 80000, + urls: { + apiURL: + "https://api.routescan.io/v2/network/testnet/evm/80000/etherscan/api/", + browserURL: "https://80000.testnet.routescan.io/", + }, + }, ] }, mocha: { diff --git a/protocol/scripts/deploys/b13_testnet/templegold/01-temple-token.ts b/protocol/scripts/deploys/cartio/templegold/01-temple-token.ts similarity index 100% rename from protocol/scripts/deploys/b13_testnet/templegold/01-temple-token.ts rename to protocol/scripts/deploys/cartio/templegold/01-temple-token.ts diff --git a/protocol/scripts/deploys/b13_testnet/templegold/02-temple-gold.ts b/protocol/scripts/deploys/cartio/templegold/02-temple-gold.ts similarity index 87% rename from protocol/scripts/deploys/b13_testnet/templegold/02-temple-gold.ts rename to protocol/scripts/deploys/cartio/templegold/02-temple-gold.ts index e08e966f1..844f085a2 100644 --- a/protocol/scripts/deploys/b13_testnet/templegold/02-temple-gold.ts +++ b/protocol/scripts/deploys/cartio/templegold/02-temple-gold.ts @@ -12,14 +12,14 @@ async function main() { const [owner] = await ethers.getSigners(); const ownerAddress = await owner.getAddress(); const TEMPLEGOLD_ADDRESSES = getDeployedTempleGoldContracts(); - const B13_TESTNET_CHAIN_ID = 80000; - const B13_TESTNET_LZ_EID = 40346; + const CARTIO_TESTNET_CHAIN_ID = 80000; + const CARTIO_TESTNET_LZ_EID = 40346; const _initArgs = { // Changed in transfer ownership to TempleAdmin executor: ownerAddress, // executor is also used as delegate in LayerZero Endpoint. layerZeroEndpoint: TEMPLEGOLD_ADDRESSES.EXTERNAL.LAYER_ZERO.ENDPOINT, // local endpoint address - mintChainId: B13_TESTNET_CHAIN_ID, - mintChainLzEid: B13_TESTNET_LZ_EID, + mintChainId: CARTIO_TESTNET_CHAIN_ID, + mintChainLzEid: CARTIO_TESTNET_LZ_EID, name: "TEMPLE GOLD", symbol: "TGLD" }; diff --git a/protocol/scripts/deploys/b13_testnet/templegold/03-temple-teleporter.ts b/protocol/scripts/deploys/cartio/templegold/03-temple-teleporter.ts similarity index 100% rename from protocol/scripts/deploys/b13_testnet/templegold/03-temple-teleporter.ts rename to protocol/scripts/deploys/cartio/templegold/03-temple-teleporter.ts diff --git a/protocol/scripts/deploys/b13_testnet/templegold/04-temple-gold-admin.ts b/protocol/scripts/deploys/cartio/templegold/04-temple-gold-admin.ts similarity index 100% rename from protocol/scripts/deploys/b13_testnet/templegold/04-temple-gold-admin.ts rename to protocol/scripts/deploys/cartio/templegold/04-temple-gold-admin.ts diff --git a/protocol/scripts/deploys/b13_testnet/templegold/999-transfer-ownership.ts b/protocol/scripts/deploys/cartio/templegold/999-transfer-ownership.ts similarity index 100% rename from protocol/scripts/deploys/b13_testnet/templegold/999-transfer-ownership.ts rename to protocol/scripts/deploys/cartio/templegold/999-transfer-ownership.ts diff --git a/protocol/scripts/deploys/mainnet/templegold/contract-addresses.ts b/protocol/scripts/deploys/mainnet/templegold/contract-addresses.ts index 87c51caac..4f2dd3963 100644 --- a/protocol/scripts/deploys/mainnet/templegold/contract-addresses.ts +++ b/protocol/scripts/deploys/mainnet/templegold/contract-addresses.ts @@ -122,7 +122,7 @@ const TEMPLEGOLD_DEPLOYED_CONTRACTS: {[key: string]: ContractAddresses} = { } }, }, - b13_testnet: { + cartio: { TEMPLE_GOLD: { AUCTION_AUTOMATION_EOA: "string", STAKING_AUTOMATION_EOA: "string",