Skip to content

Commit

Permalink
➕ Add Taraxa Test and Main Network Deployments
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Jun 30, 2024
1 parent 3a7f36e commit a83aa9e
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 23 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2213,6 +2213,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [Core](https://scan.coredao.org/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Telos](https://www.teloscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Rootstock](https://rootstock.blockscout.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Taraxa]()

#### Ethereum Test Networks

Expand Down Expand Up @@ -2258,6 +2259,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [Telos Testnet](https://testnet.teloscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Rootstock Testnet](https://rootstock-testnet.blockscout.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Chiliz Testnet (Spicy)](https://testnet.chiliscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Taraxa Testnet]()

## Integration With External Tooling

Expand Down
10 changes: 10 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@
"https://repo.sourcify.dev/contracts/partial_match/30/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed/"
]
},
{
"name": "Taraxa",
"chainId": 841,
"urls": [""]
},
{
"name": "Sepolia",
"chainId": 11155111,
Expand Down Expand Up @@ -602,5 +607,10 @@
"urls": [
"https://testnet.chiliscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Taraxa",
"chainId": 842,
"urls": [""]
}
]
10 changes: 10 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,16 @@ const config: HardhatUserConfig = {
url: vars.get("CHILIZ_TESTNET_URL", "https://spicy-rpc.chiliz.com"),
accounts,
},
taraxaTestnet: {
chainId: 842,
url: vars.get("TARAXA_TESTNET_URL", "https://rpc.testnet.taraxa.io"),
accounts,
},
taraxaMain: {
chainId: 841,
url: vars.get("TARAXA_MAINNET_URL", "https://rpc.mainnet.taraxa.io"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down
2 changes: 1 addition & 1 deletion interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"sharp": "^0.33.4"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@eslint/js": "^9.6.0",
"@next/eslint-plugin-next": "^14.2.4",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.14.9",
Expand Down
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
"deploy:rootstocktestnet": "npx hardhat run --no-compile --network rootstockTestnet scripts/deploy.ts",
"deploy:rootstockmain": "npx hardhat run --no-compile --network rootstockMain scripts/deploy.ts",
"deploy:chiliztestnet": "npx hardhat run --no-compile --network chilizTestnet scripts/deploy.ts",
"deploy:taraxatestnet": "npx hardhat run --no-compile --network taraxaTestnet scripts/deploy.ts",
"deploy:taraxakmain": "npx hardhat run --no-compile --network taraxaMain scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "cd interface && pnpm prettier:check",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand All @@ -145,7 +147,7 @@
"start:interface": "cd interface && pnpm start"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@eslint/js": "^9.6.0",
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-verify": "^2.0.8",
"@typechain/ethers-v6": "^0.5.1",
Expand Down
40 changes: 20 additions & 20 deletions pnpm-lock.yaml

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

0 comments on commit a83aa9e

Please sign in to comment.