Skip to content

Commit

Permalink
add Arbitrum Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
ps1dr3x committed Aug 30, 2024
1 parent d12e0ce commit 3571b5d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ Deploy the Unicrow contracts (directly) on the Sepolia testnet:
yarn deploy:sepolia
```

Deploy the Unicrow contracts (directly) on the Arbitrum Sepolia testnet:

```bash
yarn deploy:arbitrumSepolia
```

Deploy the Unicrow contracts on Arbitrum One (via the Gnosis Safe):

```bash
Expand Down
5 changes: 5 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const userConfig: HardhatUserConfig = {
url: "https://rpc2.sepolia.org",
chainId: 11155111
},
arbitrumSepolia: {
...sharedNetworkConfig,
url: "https://sepolia-rollup.arbitrum.io/rpc",
chainId: 421614
},
arbitrum: {
...sharedNetworkConfig,
url: "https://arb1.arbitrum.io/rpc",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "hardhat test",
"deploy:local": "hardhat run ./scripts/deploy-direct.ts --network localhost",
"deploy:sepolia": "hardhat run ./scripts/deploy-direct.ts --network sepolia",
"deploy:arbitrumSepolia": "hardhat run ./scripts/deploy-direct.ts --network arbitrumSepolia",
"deploy:arbitrum:viasafe": "hardhat deploy --network arbitrum"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy-direct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main() {
nonce: transactionCount++,
})

console.log(`UnicrowAddress: ${UnicrowAddress}`);
console.log(`Unicrow: ${UnicrowAddress}`);

const UnicrowDisputeAddress = getContractAddress({
from: deployer.address,
Expand Down

0 comments on commit 3571b5d

Please sign in to comment.