Skip to content

Commit

Permalink
add gnosis chain
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Oct 3, 2023
1 parent f1c018c commit 3099658
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ ARBITRUM_ONE=
POLYGON_MAINNET=
ZORA_MAINNET=
BSC_MAINNET=
GNOSIS_MAINNET=
ETHERSCAN_API_KEY_MAINNET=
ETHERSCAN_API_KEY_ARBITRUM=
ETHERSCAN_API_KEY_POLYGON=
ETHERSCAN_API_KEY_OPTIMISM=
ETHERSCAN_API_KEY_BSC=
ETHERSCAN_API_KEY_GNOSIS=
DEPLOYER_PRIVATE_KEY=
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Wrapper for Batching NFT Ownership checks.

**BASE Mainnet**: [`0x7edddf0b8e7471e0ebf0df67ad179598c0bef695`](https://basescan.org/address/0x7edddf0b8e7471e0ebf0df67ad179598c0bef695)

**Gnosis Chain**: [`0x12a39421c23f4d3f788c33f0f9281652ac4f909a`](https://gnosisscan.io/address/0x12a39421c23f4d3f788c33f0f9281652ac4f909a)


## Deployment Notes

Expand Down Expand Up @@ -70,6 +72,12 @@ source .env
forge script script/DeployBSCMainnet.s.sol:DeployBSCMainnet --rpc-url $BSC_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_BSC -vvvv


**Deploying to Gnosis**
```bash
source .env
forge script script/DeployGnosisMainnet.s.sol:DeployGnosisMainnet --rpc-url $GNOSIS_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_GNOSIS -vvvv
## Blueprint
```ml
Expand Down
14 changes: 14 additions & 0 deletions script/DeployGnosisMainnet.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.15;

import {NftChecker} from "src/NftChecker.sol";
import {Script} from "forge-std/Script.sol";

/// @title Deploy Gnosis Mainnet
contract DeployGnosisMainnet is Script {
function run() external returns (NftChecker wrapper) {
vm.startBroadcast();
wrapper = new NftChecker();
vm.stopBroadcast();
}
}

0 comments on commit 3099658

Please sign in to comment.