Skip to content

scope-sh/contract-scan

Repository files navigation

ContractScan

Cross-chain smart contract search

How it works

For a given address, ContractScan pulls the bytecode on each supported chain. If there is bytecode, it will mark the contract as deployed on that chain. It will also compare the bytecode from all chains to see if they are the same.

Supports 100+ EVM chains.

Uses viem as a source of public RPCs and block explorer links.

List of currently supported chains: chains.ts.

Caching

ContractScan caches the bytecode hash for deployed contracts. For cached and deployed contracts, the response is effectively instant.

List of currently cached contracts: addresses.json.

Bundles

Note: this feature is experimental

ContractScan supports showing multiple contracts at once.

Example: Safe 1.4.1 deployment.

Contributing

Feel free to extend the list of supported chains or cached contracts.