1
Install hardhat-zksync
Abstract uses the ZKsync VM, which expects different bytecode
than the Ethereum Virtual Machine (EVM).
The
hardhat-zksync library includes several plugins to help you compile, deploy and verify smart contracts for the Zksync VM on Abstract.Install the @matter-labs/hardhat-zksync package:2
Update Hardhat configuration
Modify your
hardhat.config.ts file to include the following options:3
Run Hardhat commands
Provide the
--network flag to specify the Abstract network you want to use.