GithubHelp home page GithubHelp logo

zksync-auto's Introduction

zksync-auto

Install

Step 1: install zksync-python

git clone https://github.com/zksync-sdk/zksync-python.git
cd zksync-python
pipenv install --python 3.8
pipenv shell
pipenv install python-dot
pipenv install -e .

Step 1.1: setup crypto library

wget -c https://github.com/zksync-sdk/zksync-crypto-c/releases/download/v0.1.0/zks-crypto-linux-x64.a
wget -c https://github.com/zksync-sdk/zksync-crypto-c/releases/download/v0.1.0/zks-crypto-linux-x64.so
touch .env
ZK_SYNC_LIBRARY_PATH=./zks-crypto-linux-x64.so

Step 2: GLIBC_2.18 not found ref -> https://www.jianshu.com/p/513e01fbd3e0

strings /lib64/libc.so.6 |grep GLIBC_2.18
wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz
tar -zxvf glibc-2.18.tar.gz
cd glibc-2.18
mkdir build
cd build
../configure --prefix=/usr
make -j4
sudo make install

Others

DB status

db status:

  • 0 created without funds
  • 1 funds without actived
  • 2 actived with extra eth
  • 3 already transfer extra eth to main wallet
  • 4 airdrop token already transfer to main wallet
  • 5 already transfer all eth to main wallet

.env sample

ZK_SYNC_LIBRARY_PATH=./zks-crypto-linux-x64.so
AIRDROP=FALSE
MAIN_PRIKEY=0x0000000000000000000000000000000000000000000000000000000000000000

zksync-auto's People

Contributors

fl0wjacky avatar

Stargazers

majidrashidi avatar  avatar

Watchers

James Cloos avatar  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.