thirdweb-dev / contracts

Collection of smart contracts deployable via thirdweb
https://docs.thirdweb.com/contracts
Apache License 2.0
984 stars 499 forks source link

ZKsync deploy #529

Closed Devious3901 closed 11 months ago

Devious3901 commented 1 year ago

Hello, I have a problem/question, when I deployed a token, I was debited, but it was a gasless transaction, but 40 cents in ethereum were debited. + in the metamask explorer, the transaction is not displayed like I am in the starknet "Deploy" just nothing, also in the debit card, an empty contract. Is this normal? Also, is it necessary to verify the smart contract in the zksync explorer?

kumaryash90 commented 12 months ago

hey @VXEAD Which contract did you deploy? And from thirdweb dashboard or a script?

The deployment transaction itself is not gasless on zksync, even though you may have gasless settings in your sdk instance.

Devious3901 commented 12 months ago

hey @VXEAD Which contract did you deploy? And from thirdweb dashboard or a script?

The deployment transaction itself is not gasless on zksync, even though you may have gasless settings in your sdk instance.

I make deploy token, like Dashboard>Contacts>Ready to deploy>Token and after that, i make deploy, and make mint of my token on dashboard

kumaryash90 commented 11 months ago

Deployments for zksync network go through zksync's system contracts. This is different from deployments on other networks where we use a factory for deployments. Hence, unfortunately, gasless deployments won't work on zksync.

Hope this answers your query.