Skip to content

Commit

Permalink
hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
princetonbishop committed Dec 31, 2024
1 parent 026fbf0 commit 8e6631f
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
18 changes: 17 additions & 1 deletion protocol/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const TEMPLEGOLD_DEPLOYED_CONTRACTS: {[key: string]: ContractAddresses} = {
}
},
},
b13_testnet: {
cartio: {
TEMPLE_GOLD: {
AUCTION_AUTOMATION_EOA: "string",
STAKING_AUTOMATION_EOA: "string",
Expand Down

0 comments on commit 8e6631f

Please sign in to comment.