hardhat-zksync-vyper
Guide on using the hardhat-zksync-vyper plugin.
Prerequisite
Installation
yarn add -D @matterlabs/hardhat-zksync-vyper @nomiclabs/hardhat-vyperConfiguration
zkvyper: {
version: "latest", // Uses latest available in https://github.com/matter-labs/zkvyper-bin
settings: {
// compilerPath: "zkvyper", // optional field with the path to the `zkvyper` binary.
libraries: {}, // optional. References to non-inlinable libraries
optimizer: {
mode: '3' // optional. 3 by default, z to optimize bytecode size
fallback_to_optimizing_for_size: false, // optional. Try to recompile with optimizer mode "z" if the bytecode is too large
},
experimental: {
dockerImage: '', // deprecated
tag: '' // deprecated
},
},
}Commands
Last updated