Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2270,6 +2270,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [LightLink Phoenix](https://phoenix.lightlink.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [XRPL EVM](https://explorer.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [DMD Diamond](https://explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Citrea](https://explorer.mainnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

#### Ethereum Test Networks

Expand Down Expand Up @@ -2367,6 +2368,8 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [XRPL EVM Testnet](https://explorer.testnet.xrplevm.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Arc Testnet](https://testnet.arcscan.app/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [DMD Diamond Testnet](https://testnet-explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Citrea Testnet](https://explorer.testnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Tempo Testnet (Moderato)](https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

## Integration With External Tooling

Expand Down
23 changes: 23 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,13 @@
"https://explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Citrea",
"chainId": 4114,
"urls": [
"https://explorer.mainnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Sepolia",
"chainId": 11155111,
Expand Down Expand Up @@ -1357,5 +1364,21 @@
"urls": [
"https://testnet-explorer.bit.diamonds/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Citrea Testnet",
"chainId": 5115,
"urls": [
"https://explorer.testnet.citrea.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
"https://repo.sourcify.dev/5115/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Tempo Testnet (Moderato)",
"chainId": 42431,
"urls": [
"https://explore.tempo.xyz/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
"https://repo.sourcify.dev/42431/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
2 changes: 1 addition & 1 deletion foundry.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lib/openzeppelin-contracts": {
"branch": {
"name": "master",
"rev": "becf082688e4ac5ee6aab641a1c9090a1d0d5c64"
"rev": "a51494d16556f7e0d590e5d3d47c4e25ac7ecdcd"
}
},
"lib/solady": {
Expand Down
44 changes: 44 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,21 @@ const config: HardhatUserConfig = {
url: vars.get("DMD_MAINNET_URL", "https://rpc.bit.diamonds"),
accounts,
},
citreaTestnet: {
chainId: 5115,
url: vars.get("CITREA_TESTNET_URL", "https://rpc.testnet.citrea.xyz"),
accounts,
},
citreaMain: {
chainId: 4114,
url: vars.get("CITREA_MAINNET_URL", "https://rpc.mainnet.citrea.xyz"),
accounts,
},
tempoTestnet: {
chainId: 42431,
url: vars.get("TEMPO_TESTNET_URL", "https://rpc.moderato.tempo.xyz"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down Expand Up @@ -1543,6 +1558,11 @@ const config: HardhatUserConfig = {
// For DMD Diamond testnet & mainnet
dmd: vars.get("DMD_API_KEY", ""),
dmdTestnet: vars.get("DMD_API_KEY", ""),
// For Citrea testnet & mainnet
citrea: vars.get("CITREA_API_KEY", ""),
citreaTestnet: vars.get("CITREA_API_KEY", ""),
// For Tempo testnet
tempoTestnet: vars.get("TEMPO_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -2919,6 +2939,30 @@ const config: HardhatUserConfig = {
browserURL: "https://testnet-explorer.bit.diamonds",
},
},
{
network: "citrea",
chainId: 4114,
urls: {
apiURL: "https://explorer.mainnet.citrea.xyz/api",
browserURL: "https://explorer.mainnet.citrea.xyz",
},
},
{
network: "citreaTestnet",
chainId: 5115,
urls: {
apiURL: "https://explorer.testnet.citrea.xyz/api",
browserURL: "https://explorer.testnet.citrea.xyz",
},
},
{
network: "tempoTestnet",
chainId: 42431,
urls: {
apiURL: "https://contracts.tempo.xyz/v2/verify/42431",
browserURL: "https://explore.tempo.xyz",
},
},
],
},
};
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@
"deploy:arctestnet": "hardhat run --no-compile --network arcTestnet scripts/deploy.ts",
"deploy:dmdtestnet": "npx hardhat run --no-compile --network dmdTestnet scripts/deploy.ts",
"deploy:dmdmain": "npx hardhat run --no-compile --network dmdMain scripts/deploy.ts",
"deploy:citreatestnet": "npx hardhat run --no-compile --network citreaTestnet scripts/deploy.ts",
"deploy:citreamain": "npx hardhat run --no-compile --network citreaMain scripts/deploy.ts",
"deploy:tempotestnet": "npx hardhat run --no-compile --network tempoTestnet scripts/deploy.ts",
"prettier:check": "prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "pnpm -C interface prettier:check",
"prettier:fix": "prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand All @@ -265,7 +268,7 @@
"eslint-config-prettier": "^10.1.8",
"ethers": "^6.16.0",
"globals": "^17.3.0",
"hardhat": "^2.28.5",
"hardhat": "^2.28.6",
"hardhat-abi-exporter": "^2.11.0",
"hardhat-contract-sizer": "^2.10.1",
"hardhat-gas-reporter": "^2.3.0",
Expand Down
46 changes: 23 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading