The escrow will be deployed using forge and the DeployEscrowFactory.s script.
The command to be used is noted in a classical Makefile. The command used to deploy the contract is deploy
that utilizes the NETWORK_ARGS
environment variable.
As it is, the default NETWORK_ARGS
is
and it can be set to specific values tailored to Sepolia testnet if the ARGS
value --network sepolia
is provided when executing the Makefile
however there is no implementation to deploy the escrow on mainnet as the script is right now.
Add another ifeq
condition tailored for production launch on Ethereum mainnet:
where as ETHEREUM_RPC_URL
and PROD_PRIVATE_KEY
are new environment variable.
Other recommendations:
consider using a suggestive named environment variable for each private key and scope
do not test on Sepolia using the production private key
the used PRIVATE_KEY
for Sepolia can be named DEVEL_PRIVATE_KEY
and the production private key env variable can remain PROD_PRIVATE_KEY
. PRIVATE_KEY
is too generic
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.