Skip to content

Trouble deploying custom cli contracts that are zk chains #5974

Closed as not planned
@nidz-the-fact

Description

@nidz-the-fact

I'm having trouble deploying custom cli contracts that are zk chains. Please check. Thank you.

ref: https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155
use command: npx thirdweb deploy --zksync -k <secret-key>
config:

zksolc: {
    version: "1.3.9",
    compilerSource: "binary",
    settings: {
      optimizer: {
        enabled: true,
      },
    },
  },
paths: {
    artifacts: "./artifacts-zk",
    cache: "./cache-zk",
    sources: "./contracts",
    tests: "./test", 
},
solidity {
    version: "0.8.17",
    settings: {
      optimizer: {
        enabled: true,
        runs: 200,
      },
    },
}

Problem review
Image

Image

Image

Thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions