Skip to content

[General] Deploy new instances with factory contract (similar to Clones and ERC-1167: Minimal Proxy Contract) #166

Closed Answered by idea404
kirilaa asked this question in General
Discussion options

You must be logged in to vote

Hi @kirilaa,

It's been a while but I've been caught up with other prios, but I adapted the example repo (quickly and I think it is actually ugly code but it works) and deployed a working version to testnet. So, to reproduce you will need to first clone the example repo again: https://github.com/idea404/factory-example. Then, this is the sequence of commands I ran:

  1. Deploy the factory to testnet
WALLET_KEY=<YOUR-TESTNET-WALLET-PRIVATE-KEY> yarn deploy:compiled:factory --network zkSyncTestnet
yarn run v1.22.19
$ yarn hardhat deploy-zksync --script deploy-factory.ts --network zkSyncTestnet
$ /Users/dennis/Documents/Code/factory-example/node_modules/.bin/hardhat deploy-zksync --script deploy…

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@kirilaa
Comment options

Comment options

You must be logged in to vote
4 replies
@kirilaa
Comment options

@idea404
Comment options

Answer selected by idea404
@kirilaa
Comment options

@kirilaa
Comment options

This comment was marked as spam.

@kirilaa
Comment options

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
deployment Questions for deployment general General question
6 participants