Plugin Deployment
Introduction
Set up
Deployment
const hre = require("hardhat");
const ENTRYPOINT_ADDRESS = ""
async function main() {
const pluginFactoryFactory = await hre.ethers.getContractFactory("DynamicFeePluginFactory");
const pluginFactory = await pluginFactoryFactory.deploy(ENTRYPOINT_ADDRESS);
await pluginFactory.waitForDeployment()
console.log("DynamicFeePluginFactory to:", pluginFactory.target);
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});Last updated