npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

zksync-force-exit-cli

v2.0.0

Published

zkSync force exit CLI tool

Downloads

11

Readme

Force withdraw from zkSync

If you can't set signing key for your account in the zkSync but you would like to withdraw from L2 to L1 you can do it using force withdraw with this tool.

For this you need:

  1. Target account inside zkSync is more that 24h old and does not have signing key set.
  2. Initiator account with funds in the zkSync (to pay fees) with known private key.

Usage

  • -k - private key of the initiator account
  • -a - address of the target account
  • -t - tokens to withdraw from L2 to L1 from the target account
  • -f - token to pay fee, fee will be subtracted from initiator account balance
  • -n - network (mainnet, rinkeby, ropsten)
node bin/index.js -k $INITIATOR_PRIVATE_KEY -a 0xc2EBDCabf77976dA4DD3b80BeDe87bF72C59118f -t DAI,ETH,USDC -f ETH -n mainnet
Initiator account address: 0x2c1c73baA9557e56793728f4a273F64E53792c39
Initiator account balance: 0.1088118 ETH
Target account balances:
1678.9375 DAI
0.9785 ETH
49.5 USDC
Transaction fee: 0.01935 ETH
? Do you accept transaction fee? Yes
Transactions: 
sync-tx:e2d1dee2b15e31e61e96024af25d4dccc44978c0f5b8d74e7dc5b0572d08ca59
sync-tx:ce5035182dcab4d5b698e76e669c63f97faad23473ad9c1e7147890943243727
sync-tx:a43b8ebc16577e415c8ee7dd312a3c6bf4d9e6c03f25324474880b1d1eb62383
sync-tx:bda905c52bc2f1e9c1c21e5c5d9d925d57f6d197807dc77fbd22b1762cd8094f