primev / contracts

Smart Contracts deployed on mev-commit
Other
6 stars 2 forks source link

deploy: check for existence of PRIVATE_KEY env var #30

Closed shaspitz closed 1 year ago

shaspitz commented 1 year ago

Adds a check for a private key env var being set s.t. one can deploy the contracts with any signer. If the env var is not set, old functionality is maintained of using the first default hardhat account.

This PR helps unblock: https://github.com/primevprotocol/mev-commit/pull/78