ethPM uses a variety of URI schemes to help identify specific resources.
Content-addressed URIs are used to ensure the immutability of each package release. A content-addressed URI is any URI that contains a cryptographic hash ensuring the identity of its contents and that the contents have not been modified. For example...
A registry URI is used to specify an on-chain registry or a specific release on a registry.
A blockchain URI is used to specify the blockchain on which a deployed contract instance lives. This definition originates from BIP122 URI.
CHAIN_ID is the unprefixed hexadecimal representation of the genesis hash for the chain.
BLOCK_HASH is the unprefixed hexadecimal representation of the hash of a block on the chain.
ethPM CLI uses this URI scheme to automatically generate packages for any of Etherscan's verified contracts. The provided contract address and chain ID must correspond to a contract address that has been verified (hint. look for the green checkmark in the