This script compares contracts from the smart-contract-sanctuary
repository against those in the Sourcify repository. It identifies and submits any missing contracts.
Node.js installed on your system Playwright installed globally (npm install -g playwright) Required npm packages installed in the project directory
Clone the smart-contract-sanctuary-ethereum repository. Navigate to the project directory:
cd ~/path/to/contract_checker
npm install
- Ensure you're in the project directory:
cd ~/path/to/contract_checker
- Run the script:
node find_missing_contracts.js
ethereum_repo:
/path/to/smart-contract-sanctuary-ethereum/contracts
sourcify_repo:
/path/to/sourcify