New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zksync-force-exit-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zksync-force-exit-cli

zkSync force exit CLI tool

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 30 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc