- Please edit the
.env-example.jsonfile name to.envand fill up your private keys to interact with the smart contracts. Multiple private keys are also supported. You can define them by using thePRIVATE_KEYprefix follows by the running number (e.g., PRIVATE_KEY1=xxx). - Don't forget to edit the init code hash in
/contracts/libraries/BlockSwapLibrary.sol. The init code hash can be retrived fromblockSwapFactory.INIT_CODE_PAIR_HASH().
- run
npm i - run
npx hardhat compile