Skip to content

onetxpunch/zksync-era-hardhat-template

Repository files navigation

hardhat-zksync-template

Setup

git clone https://github.com/onetxpunch/zksync-era-hardhat-template
cd zksync-era-hardhat-template
yarn && echo 'DEPLOY_KEY=' > .env

Usage

yarn compile Solidity contracts.

Edit hardhat.config.ts, deploy/deploy.ts and use yarn deploy for deploying, currently configured for the testnet.

Testing

Uses forge test for testing. See https://getfoundry.sh to install.

forge test -vv

References

https://era.zksync.io/docs/dev/building-on-zksync/hello-world.html#initializing-the-project-deploying-a-smart-contract - The template walkthrough

https://era.zksync.io/docs/dev/ - Important caveats about old versions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published