Setup Your Environment
clone repository
enter repository
if you had previously cloned repository, sync with latest:
download dependencies
compile contracts
create .env file
fill in .env file variables
Open a text editor or console to edit .env file adding an ALCHEMY_ID
and PK
Fill in
ALCHEMY_ID
:Fill in
PK
:Optionally, fill in
MAX_FEE_OVERRIDE
andMAX_PRIORITY_FEE_OVERRIDE
If you face issues with gas pricing in subsequent steps, you can manually override gas prices by optionally adding
MAX_FEE_OVERRIDE
andMAX_PRIORITY_FEE_OVERRIDE
to the environment. These are expressed in wei units (in this example case, forcing a 1 gwei gas price).
Your .env file may now look something like this:
Congrats! Your environment is now set up, and you are ready to move on.
Last updated