{"id":31923871,"url":"https://github.com/chainsafe/web3-plugin-zksync","last_synced_at":"2025-10-13T23:58:25.665Z","repository":{"id":219122059,"uuid":"747933941","full_name":"ChainSafe/web3-plugin-zksync","owner":"ChainSafe","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-20T14:11:48.000Z","size":1004,"stargazers_count":4,"open_issues_count":4,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-02T02:53:35.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChainSafe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-24T23:30:33.000Z","updated_at":"2025-06-03T07:54:29.000Z","dependencies_parsed_at":"2024-06-24T01:48:08.626Z","dependency_job_id":"aa07c271-366a-4e90-ae15-7e6b52b49ced","html_url":"https://github.com/ChainSafe/web3-plugin-zksync","commit_stats":null,"previous_names":["web3/web3-plugin-zksync","chainsafe/web3-plugin-zksync"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ChainSafe/web3-plugin-zksync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fweb3-plugin-zksync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fweb3-plugin-zksync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fweb3-plugin-zksync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fweb3-plugin-zksync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainSafe","download_url":"https://codeload.github.com/ChainSafe/web3-plugin-zksync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fweb3-plugin-zksync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017175,"owners_count":26086019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-13T23:58:19.593Z","updated_at":"2025-10-13T23:58:25.660Z","avatar_url":"https://github.com/ChainSafe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZKsync Plugin for Web3.js\n\n#### Web3.js libraries are being sunset on March 4th, 2025. For migration guides and more details please refer to [Chainsafe blog](https://blog.chainsafe.io/web3-js-sunset/)\n\nUse [Web3.js](https://web3js.org/) to interact with the [ZKsync Era](https://zksync.io/) network.\n\n## Documentation\n\nPlease refer to the comprehensive\n[API documentation](https://chainsafe.github.io/web3-plugin-zksync/) for a complete overview of this\nplugin's capabilities. Usage documentation that includes explanations and code samples is available\nas part of the [official Web3.js plugin for ZKsync SDK docs](https://sdk.zksync.io/js/web3js).\n\n## Plugin Components\n\n- [RPC methods](https://sdk.zksync.io/js/web3js/rpc):\n  The[`RpcMethods` class](https://chainsafe.github.io/web3-plugin-zksync/classes/RpcMethods.html)\n  implements the [ZKsync JSON-RPC API](https://docs.zksync.io/build/api-reference/zks-rpc).\n- [Constants](https://sdk.zksync.io/js/web3js/constants-types-utilities#constants): The\n  [`constants` package](https://chainsafe.github.io/web3-plugin-zksync/modules/constants.html)\n  includes well-known addresses, such as the address of the L1 ETH token.\n- [Types](https://sdk.zksync.io/js/web3js/constants-types-utilities#types): The\n  [`types` package](https://chainsafe.github.io/web3-plugin-zksync/modules/types.html) defines\n  enums, interfaces, and types that are used for interacting with the ZKsync Era network.\n- [Utilities](https://sdk.zksync.io/js/web3js/constants-types-utilities#utilities): The\n  [`utils` package](https://chainsafe.github.io/web3-plugin-zksync/modules/utils.html) exposes\n  helpful functions and contract definitions that can be used with the Web3.js plugin for ZKsync.\n- [Wallet](https://sdk.zksync.io/js/web3js/wallet): The\n  [`ZKSyncWallet` class](https://chainsafe.github.io/web3-plugin-zksync/classes/ZKSyncWallet.html)\n  allows developers to create, manage, and use ZKsync accounts.\n- [Paymasters](https://sdk.zksync.io/js/web3js/paymasters): The plugin includes a number of\n  helpful utilities for working with\n  [ZKsync paymasters](https://docs.zksync.io/build/developer-reference/account-abstraction/paymasters),\n  including a\n  [`getPaymasterParams` function](https://chainsafe.github.io/web3-plugin-zksync/functions/getPaymasterParams.html)\n  for generating paymaster parameters to add to a transaction.\n- [Smart contracts](https://sdk.zksync.io/js/web3js/contracts): The\n  [`ContractFactory` class](https://chainsafe.github.io/web3-plugin-zksync/classes/ContractFactory.html)\n  can be used to deploy smart contracts to the ZKsync Era network. The return type of the\n  [`ContractFactory.deploy` method](https://chainsafe.github.io/web3-plugin-zksync/classes/ContractFactory.html#deploy)\n  is the standard\n  [Web3.js Contract class](https://docs.web3js.org/api/web3-eth-contract/class/Contract/).\n- [Smart accounts](https://sdk.zksync.io/js/web3js/smart-accounts): The\n  [`SmartAccount` class](https://chainsafe.github.io/web3-plugin-zksync/classes/SmartAccount.html)\n  can be used to create\n  [ZKsync smart accounts](https://docs.zksync.io/build/developer-reference/account-abstraction/)\n  with custom logic for building and signing transactions. There are factory functions for\n  creating\n  [ECDSA smart accounts](https://chainsafe.github.io/web3-plugin-zksync/classes/ECDSASmartAccount.html#create)\n  and\n  [multi-signature ECDSA smart accounts](https://chainsafe.github.io/web3-plugin-zksync/classes/MultisigECDSASmartAccount.html#create).\n\n## Contributing\n\nPull requests are welcome. Please make sure to update [tests](test) as appropriate. For major\nchanges, please [open an Issue](https://github.com/ChainSafe/web3-plugin-zksync/issues/new) first to\ndiscuss what you would like to change.\n\n## Template\n\nThis plugin was created using the\n[Web3.js Plugin Template](https://github.com/web3/web3.js-plugin-template).\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainsafe%2Fweb3-plugin-zksync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainsafe%2Fweb3-plugin-zksync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainsafe%2Fweb3-plugin-zksync/lists"}