Skip to content

Commit

Permalink
add avalanche
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Jan 19, 2024
1 parent c775cfb commit ec67f47
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Wrapper for Batching NFT Ownership checks.
**Gnosis Chain**: [`0x12a39421c23f4d3f788c33f0f9281652ac4f909a`](https://gnosisscan.io/address/0x12a39421c23f4d3f788c33f0f9281652ac4f909a)


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


## Deployment Notes

**Deploying to Ethereum Mainnet**
Expand Down Expand Up @@ -70,13 +73,19 @@ forge script script/DeployBaseMainnet.s.sol:DeployBaseMainnet --rpc-url $BASE_MA
```bash
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
```

**Deploying to Avalanche**
```bash
source .env
forge script script/DeployAvalancheMainnet.s.sol:DeployAvalancheMainnet --rpc-url $AVALANCHE_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_AVALANCHE -vvvv
```

## Blueprint

Expand Down
14 changes: 14 additions & 0 deletions script/DeployAvalancheMainnet.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 Avalanche Mainnet
contract DeployAvalancheMainnet is Script {
function run() external returns (NftChecker wrapper) {
vm.startBroadcast();
wrapper = new NftChecker();
vm.stopBroadcast();
}
}

0 comments on commit ec67f47

Please sign in to comment.