@@ -21,8 +21,13 @@ yarn run test:coverage
2121yarn run test:gas
2222```
2323
24- Deploy the contracts on a network (` <NETWORK> ` must be one of the names from ` credentials.example.json ` ), verify the
25- deployment
24+ ### Contract deployment
25+
26+ To deploy the contracts on a network first copy ` example.env ` to ` .env ` . Enter a mnemonic and any appropriate API keys.
27+ Note that the mnemonic must be present (though can be arbitrary) even if the exclusive goal is contract verification.
28+ The ` <NETWORK> ` in the below commands must correspond to a filename (without the ` .json ` extension) from
29+ https://github.com/api3dao/chains/tree/main/chains . If a hardhat error occurs during verification stating that a json
30+ file in ` artifacts/build-info ` is missing, running ` yarn run clean ` followed by ` yarn run compile ` should fix it.
2631
2732``` sh
2833# Deploys deterministically (does not work on some chains)
@@ -34,8 +39,14 @@ NETWORK=<NETWORK> yarn run deploy:undeterministic
3439# Verifies the deployment on the respective block explorer (not supported for some chains)
3540NETWORK=< NETWORK> yarn run deploy:verify
3641
37- # Verifies the deployment locally (only works for undeterministic deployments)
38- NETWORK=< NETWORK> yarn run deploy:verify-local
42+ # Verifies the deployments locally
43+ yarn run test:verify-local
44+
45+ # The same as above, but for a specific network
46+ NETWORK=< NETWORK> yarn run test:verify-local:network
47+
48+ # Generates deployments/references.json
49+ yarn run deploy:generate-references
3950```
4051
4152### Deterministic deployment addresses
@@ -46,6 +57,8 @@ RequesterAuthorizerWithAirnode: 0xf18c105D0375E80980e4EED829a4A68A539E6178
4657
4758AccessControlRegistry: 0x92E5125adF385d86beDb950793526106143b6Df1
4859
60+ AirnodeRrpV0DryRun: 0x2e768206bf5112e7D7efAf1d9df614C26475193f
61+
4962### Integration notes
5063
5164- ` arbitrum ` , ` avalanche ` , ` metis ` and their testnets do not support deterministic deployment and are deployed
0 commit comments