Delight 👑 Profile picture
May 19, 2023 32 tweets 17 min read Read on X
6714 Wallets have deployed contract on @zksync. That's 1% of the Total Active Wallet on the #zkSyncEra BlockChain.

Here is how to deploy a Contract with $1 as Gas Fee 🧵 Image
I will be going straight to business because you are already familiar with the ecosystem. They promised 2/3 which is 66% of the token to the community.

By my assumptions: Airdrop hunters, DAOs(Mute, SyncSwap etc) and People that deployed contracts might benefit from the airdrop Image
Deploying a smart contract on the ZkSync Era on Windows

Disclaimer: To deploy a smart contract on the #zkSync network, you will need to provide ur private key to the MM wallet. I recommend you do not use ur main wallet, Create a New wallet and use it just to be on a safer side
In this guide, we will be deploying a smart contract on the #zksync_Era Mainnet.

Add the ZkSync Era networks to metamask: chainlist.org/?search=Zksync
Bridge into Zksync with Orbiter.finance

Download and install on PC:
a) Node.js - nodejs.org/en (I installed the version on the left, “recommended for everyone”. After installation,you need to restart your PC
b) Visual Studio Code -code.visualstudio.com/download
-Create a folder on the desktop HELLO-ZKSYNC

-Open Visual Studio and open the HELLO-ZKSYNC folder you created by clicking File - Open folder in the upper left corner Image
Click on the icon on the top right, as shown in the screenshot, you will open a panel with the Terminal (by default, the path to your HELLO-ZKSYNC folder will be selected) Image
In the Terminal, Copy and paste these commands individually and click enter:

Twitter won't allow be paste the codes so I entered in a google doc
docs.google.com/document/d/1Z5…
Next, create a file in folder HELLO-ZKSYNC by clicking on the button as in the screenshot and name it hardhat.config.ts Image
By clicking on it, a field will open where we paste the following text

Get the text in this doc:
docs.google.com/document/d/1By… Image
Close the file by clicking on the cross and save your changes! Image
In the left menu in the folder HELLO-ZKSYNC, create folders contracts and deploy by clicking on the button, as in the screenshot Image
In the folder contracts, create the file Greeter.sol

and paste the following code into it

Get the code here: docs.google.com/document/d/1DA…

Then Close the file by clicking on the cross and save! Image
Next, in the Terminal type the command below and press Enter:

npx hardhat compile
If you did everything correctly, you will see the following message: Image
Select folder deploy we created before, create the deploy.ts file into it

and paste the code into it:

Get the code here: docs.google.com/document/d/1Pt…

Close the file and save! Image
Create a file in folder HELLO-ZKSYNC, let's call it .secret
Paste private key here (USE A NEW WALLET PLEASE)

Close the file and save! Image
Type the last command to deploy the contract:

npx hardhat deploy-zksync
If you did everything right, the next notifications will appear Image
After that, go to explorer.zksync.io and enter our contract address and see that it has been created. You can also enter the address of your metamask and see two transactions, because after the deployment command, there is also an interaction with the contract.
Congratulations, you have deployed a smart contract on the ZKSync Era Mainnet!!!
You can also verify your contract. But after that, it will be available to everyone, which increases the risk of hacking and theft of your private key. As I wrote at the beginning, do all operations only on a test wallet Image
For this:

Go to explorer.zksync.io
Enter the address of your smart contract

Next, click on the Contract tab
-Click on the Verify Smart Contract button
-Fill in all the fields as shown in the picture: ImageImageImage
In the Enter the Solidy Contract Code field.

Get the code you will paste here:
docs.google.com/document/d/1Rg…
In the Constructor Arguments field, insert the data that appeared after the deployment of the contract Image
If someone did not have it, it is the same for everyone, you can enter

0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094869207468657265210000000000000000000000000000000000000000000000
After you have filled in all the fields, click the Verify Smart Contract button Image
Congratulations, you have verified your smart contract! Image
Spent $0.6 for all this Image
Don't forget to Like and RT for Awareness.

Follow me for more of this post too

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Delight 👑

Delight 👑 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Delight_Szn

Oct 8, 2023
The future of DEX aggregation is here

Introducing to you @HeraAggregator $HERA: The AI-Powered DEX Aggregator That's Revolutionizing the Way We Trade Crypto

It's built on $METIS and recently deployed on $ARB

A thread 🧵 Image
INTRODUCTION

$HERA is an AI-powered multichain DEX aggregator, offering the widest range of tokens and best route discovery between any token pair. It also provides a variety of other features, such as portfolio management, yield farming, and staking. Image
The goal of $HERA is to make it easy and efficient for users to trade tokens on multiple blockchains. It does this by finding the best routes for trades across different exchanges and DEXs. It also offers a variety of other features that make it a valuable tool for traders.
Read 25 tweets
Jun 20, 2023
Last time out, I wrote a thread on how to deploy contract on @zksync but many started and couldn't finish due to it's complexity.

Here is to how deploy a contract on Zksync the easiest way ever.

NO CODING, NO NEED FOR PASTING PRIVATE KEYS🧵 Image
This is the link to my first thread on contract deployment.

Many people completed it but a Lot faded due to it's complexity, security concern(the private key part and not having a PC

NEW STRATEGY: You can use your main wallet for this (NFA)

1) Have some $ETH on #zkSyncEra ($3 is okay)

- Go to thirdweb.com/dashboard
-Click Contracts
-Connect your wallet at the Top-right (Make sure you are on ZkEra
-Click "Read to Deploy" Image
Read 11 tweets
Jun 18, 2023
Thousands of LayerZero Airdrop Threads on CT but only few talked about ONFTS.

Curious about what ONFTs is??

Open this thread 👇🧵 Image
What is ONFTs?

It stands for OmniChain Non-Fungible tokens. They are just Like Normal Nfts but It can be bridged across different chains.
Why should you care about ONFTs?

Well, LayerZero Mention it in their $15m bug bounty and who knows if it will be part of the criteria Image
Read 11 tweets
Jun 17, 2023
Let's do something fun about LayerZero to determine how many points we will get if they take snapshot right now assuming all the below task were considered.

A thread 🧵 Image
Assuming that all tasks gives a point each.

1. Conducted more than 10 transactions

2. Conducted more than 20 transactions

3. Conducted more than 50 transactions

4. Conducted more than 100 transactions

5. Bridged more than $2,000 of assets
6. Bridged more than $10,000 of assets

7. Bridged more than $50,000 of assets

8. Interacted with 3 Source Chains

9. Interacted with 5 Source Chains

10. Interacted with 7 Source Chains

11. Interacted with 5 destination chains

12. Interacted with 10 destination chains
Read 13 tweets
Apr 27, 2023
30 Transactions Gets you into the Top 5% of @LayerZero_Labs Users and a Potential (4 Figures) Airdrop

Here is how you can achieve this the most COST EFFECTIVE WAY( $50) Budget. 🧵 Image
What is Layerzero?

LayerZero is an omnichain protocol linking all EVM chains and unifying liquidity pools for cross-chain applications. Image
Now, a lot of BIG guys have invested in @LayerZero_Labs, we have the likes of @PayPal, @binance, @0xPolygon, @coinbase...

They recently raised $120M and currently have a $3 Billion Valuation Image
Read 22 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(