Build on Abstract
ZKsync CLI
Learn how to use the ZKsync CLI to interact with Abstract or a local Abstract node.
As Abstract is built on the ZK Stack, you can use the ZKsync CLI to interact with Abstract directly, or run your own local Abstract node. The ZKsync CLI helps simplify the setup, development, testing and deployment of contracts on Abstract.
Install ZKsync CLI
To install the ZKsync CLI, run the following command:
Available Commands
Run any of the below commands with the zksync-cli
prefix:
Command | Description |
---|---|
dev | Start a local development environment with Abstract and Ethereum nodes. |
create | Scaffold new projects using templates for frontend, contracts, and scripting. |
contract | Read and write data to Abstract contracts without building UI. |
transaction | Fetch and display detailed information about a specific transaction. |
wallet | Manage Abstract wallet assets, including transfers and balance checks. |
bridge | Perform deposits and withdrawals between Ethereum and Abstract. |
config chains | Add or edit custom chains for flexible testing and development. |
Learn more on the official ZKsync CLI documentation.