Skip to content

rainbow-me/nft-checker

Repository files navigation

nft-checker • ci license solidity

Wrapper for Batching NFT Ownership checks.

Overview

nft-checker is a wrapper to check an array of contracts against an array of addresses.

Deployment Status

Ethereum MAINNET: 0xc4A8619B3980d84F6d59d416d415007A1217fEc8

Arbitrum One: 0x5A9D9FFBd5a22f2790AF726550920B845c3A6B35

Optimism MAINNET: 0x5A9D9FFBd5a22f2790AF726550920B845c3A6B35

Polygon MAINNET: 0x3e3937C119BD854059844D3D03A8116a18Afa409

Zora Network: 0x75efed6B8AF6B0490c2899e489c58EF26E3D0898

BSC Mainnet: 0x50a42aB85A09e24229e42dAd31Cb44B42E83b2De

BASE Mainnet: 0xa5d7b264ad7039F54A670c27Fe5A64CAd0FE0cCe

Gnosis Chain: 0x2488F7B6FD1A0949391fE6a533D7E5c4704173E2

Avalanche: 0x2a0332E28913A06Fa924d40A3E2160f763010417

Deployment Notes

Deploying to Ethereum Mainnet

source .env
forge script script/DeployEthMainnet.s.sol:DeployEthMainnet --rpc-url $ETHEREUM_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_MAINNET -vvvv

Deploying to Optimism Mainnet

source .env
forge script script/DeployOpMainnet.s.sol:DeployOpMainnet --rpc-url $OPTIMISM_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_OPTIMISM -vvvv

Deploying to Polygon Mainnet

source .env
forge script script/DeployPolygonMainnet.s.sol:DeployPolygonMainnet --rpc-url $POLYGON_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_POLYGON -vvvv

Deploying to Arbitrum One

source .env
forge script script/DeployArbOne.s.sol:DeployArbOne --rpc-url $ARBITRUM_ONE --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY_ARBITRUM -vvvv

Deploying to Zora Network

source .env
forge script script/DeployZoraMainnet.s.sol:DeployZoraMainnet --rpc-url $ZORA_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast -vvvv

Deploying to Base Network

source .env
forge script script/DeployBaseMainnet.s.sol:DeployBaseMainnet --rpc-url $BASE_MAINNET --private-key $DEPLOYER_PRIVATE_KEY --broadcast -vvvv

Deploying to BSC

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

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

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

lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ solmate — https://github.com/transmissions11/solmate
scripts
├─ DeployArbOne.s.sol — Arbitrum One Deployment Script
├─ DeployEthMainnet.s.sol — Ethereum Mainnet Deployment Script
├─ DeployOpMainnet.s.sol — Optimism Mainnet Deployment Script
├─ DeployPolygonMainnet.s.sol — Polygon Deployment Script
src
├─ NftCheckerThe Checker Contract
test
└─ NftChecker.t — Tests

License

AGPL-3.0-only

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •