GithubHelp home page GithubHelp logo

dieutx / zksync-lite-farmer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kizliak/zksync-lite-farmer

0.0 0.0 0.0 8.36 MB

Python script to send ETH transactions and mint NFTs in Zksync Lite network on a regular basis.

License: GNU General Public License v3.0

Python 96.08% Makefile 3.92%

zksync-lite-farmer's Introduction

zksync-lite-farmer

Python script to send ETH transactions and mint NFTs in Zksync Lite network every X days. Keeps your accounts active on a regular basis.

Created by Riko https://t.me/legalcrypt

Features

  • There are 2 types of randomly selected transactions: sending ETH or minting NFT;
  • Images for minting NFTs are randomly selected from popular ETH collections;
  • Can be used as balance checker, you can find all ETH balances in balances.txt
  • Gas fee check is not implemented, so tx costs can be unexpected in some unexpected network conditions;
  • NFT mints can sometimes fail due to bugs in image parsing function :)

Requirements


1. You need Alchemy account for ETH RPC link.

Register here https://dashboard.alchemy.com/
Create new ETH mainnet app
Get https rpc link

2. You need to manually add ETH balance to your Zksync lite accounts.

Go to https://lite.zksync.io/account/top-up
Add more than 0.00011 ETH per account

3. You need Python 3

Installation


apt install python3-pip, git

git clone https://github.com/Kizliak/zksync-lite-farmer

pip install git+https://github.com/zksync-sdk/zksync-python.git

pip install -r requirements.txt

Edit config.py with your values

nano config.py

Add pairs private_key;spare wallet to data.txt

nano data.txt

Finally run the script

python3 main.py

When it finishes you will probably want like to check the remaining balances of all your accs:

cat balances.txt

Run the script manually every 5-7 days or use cron to schedule autorun.

zksync-lite-farmer's People

Contributors

kizliak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.