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: 0x47c9c137fc9aa5ccdbea707b0b27d52780565476

Arbitrum One: 0x2a0332e28913a06fa924d40a3e2160f763010417

Optimism MAINNET: 0x400a9f1bb1db80643c33710c2232a0d74ef5cff1

Polygon MAINNET: 0x400a9f1bb1db80643c33710c2232a0d74ef5cff1

Zora Network: 0x12A39421C23f4D3f788C33f0F9281652Ac4f909a

BSC Mainnet: 0x5a9d9ffbd5a22f2790af726550920b845c3a6b35

BASE Mainnet: 0x7edddf0b8e7471e0ebf0df67ad179598c0bef695

Gnosis Chain: 0x12a39421c23f4d3f788c33f0f9281652ac4f909a

Avalanche: 0x12a39421c23f4d3f788c33f0f9281652ac4f909a

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_ABRITRUM -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