Can't Deploy my test script #340
-
Hello everyone i am new on this things trying to understand how to deploy and write scripts what is wrong with that script i can't deploy about gas fees i know but i tried to increase gasses and gweis nothing changed it keeps canceling Script is standart script on Remix // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.2 <0.9.0; /** |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
It looks like this is a massage transfer contract. |
Beta Was this translation helpful? Give feedback.
-
As ZkSync is EVM compatible but not equivalent, you can't compile and deploy a contract with the compilers remix is providing. You need zksync-solc to compile the contracts you wish to deploy. Docs recommend using hardhat to compile and deploy. Also people recommend using https://app.atlaszk.com/ide as it has the compiler, but I have never tried it. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
Hi @Xazrael, are you still having issues deploying the contract on the Remix IDE? Here's the guide to help you get started. |
Beta Was this translation helpful? Give feedback.
-
@0xhwk had a question regarding potential moderating. Hit me up at support@zksync.io or let me know what's the best way to contact you 😁 |
Beta Was this translation helpful? Give feedback.
As ZkSync is EVM compatible but not equivalent, you can't compile and deploy a contract with the compilers remix is providing. You need zksync-solc to compile the contracts you wish to deploy. Docs recommend using hardhat to compile and deploy. Also people recommend using https://app.atlaszk.com/ide as it has the compiler, but I have never tried it.