{"id":23392061,"url":"https://github.com/buildonpolygon/zkevm-wsteth","last_synced_at":"2025-04-11T10:21:02.839Z","repository":{"id":193799842,"uuid":"689519216","full_name":"BuildOnPolygon/zkevm-wsteth","owner":"BuildOnPolygon","description":"Polygon zkEVM wstETH","archived":false,"fork":false,"pushed_at":"2024-05-29T17:23:00.000Z","size":745,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-30T07:29:09.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BuildOnPolygon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"audit/Polygon_usdc_Oct23Confidential.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-10T04:13:35.000Z","updated_at":"2024-05-29T17:23:03.000Z","dependencies_parsed_at":"2023-09-10T05:34:50.466Z","dependency_job_id":"87339cd5-51a8-4e2e-be8c-d664b20b618b","html_url":"https://github.com/BuildOnPolygon/zkevm-wsteth","commit_stats":null,"previous_names":["pyk/zkevm-wsteth"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildOnPolygon%2Fzkevm-wsteth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildOnPolygon%2Fzkevm-wsteth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildOnPolygon%2Fzkevm-wsteth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildOnPolygon%2Fzkevm-wsteth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BuildOnPolygon","download_url":"https://codeload.github.com/BuildOnPolygon/zkevm-wsteth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230793616,"owners_count":18281092,"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","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":"2024-12-22T04:28:18.222Z","updated_at":"2024-12-22T04:28:18.729Z","avatar_url":"https://github.com/BuildOnPolygon.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polygon zkEVM wstETH Bridge\n\nwstETH Bridge leveraging LxLy for between zkEVM and Mainnet.\n\n## Get started\n\n### Requirements\n\nThis repository is using foundry. You can install foundry via\n[foundryup](https://book.getfoundry.sh/getting-started/installation).\n\n### Setup\n\nClone the repository:\n\n```sh\ngit clone git@github.com:pyk/zkevm-wsteth.git\ncd zkevm-wsteth/\n```\n\nInstall the dependencies:\n\n```sh\nforge install\n```\n\n### Tests\n\nCreate `.env` with the following contents:\n\n```\nETH_RPC_URL=\"\"\nZKEVM_RPC_URL=\"https://zkevm-rpc.com\"\nETHERSCAN_API_KEY=\"\"\n```\n\nUse the following command to run the test:\n\n```sh\nforge test\n```\n\nYou can also run individual test using the following command:\n\n```sh\nforge test --fork-url $ETH_RPC_URL --match-test bridgeToken -vvvv\n\nforge test --fork-url \"https://zkevm-rpc.com\" --match-path test/L2wstETH.t.sol --match-test testBridgeWithMockedBridge -vvvv\n```\n\n\u003e **Note**\n\u003e You can set `ETHERSCAN_API_KEY` to helps you debug the call trace.\n\n## Contract addresses\n\n| Smart contract       | Network       | Address                                                                                                                             |\n| -------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| wstETH               | Mainnet       | [0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0](https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0)               |\n| Polygon ZkEVM Bridge | Mainnet       | [0x2a3dd3eb832af982ec71669e178424b10dca2ede](https://etherscan.io/address/0x2a3dd3eb832af982ec71669e178424b10dca2ede)               |\n|                      | zkEVM Mainnet | [0x2a3dd3eb832af982ec71669e178424b10dca2ede](https://zkevm.polygonscan.com/address/0x2a3dd3eb832af982ec71669e178424b10dca2ede)      |\n| WstETHBridgeL1       | Mainnet       | [0xf0cde1e7f0fad79771cd526b1eb0a12f69582c01](https://etherscan.io/address/0xf0cde1e7f0fad79771cd526b1eb0a12f69582c01#code)          |\n| WstETHBridgeL2       | zkEVM Mainnet | [0xDB5D9c10FD2a92692DB51853e06058EE0436d69B](https://zkevm.polygonscan.com/address/0xdb5d9c10fd2a92692db51853e06058ee0436d69b#code) |\n| WstETHWrapped        | zkEVM Mainnet | [0xbf6De60Ccd9D22a5820A658fbE9fc87975EA204f](https://zkevm.polygonscan.com/address/0xbf6De60Ccd9D22a5820A658fbE9fc87975EA204f#code) |\n| NativeConverter      | zkEVM Mainnet | [0x5A80E7b0323BB16Fc777e7221E88809c077a2f01](https://zkevm.polygonscan.com/address/0x5a80e7b0323bb16fc777e7221e88809c077a2f01)      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildonpolygon%2Fzkevm-wsteth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildonpolygon%2Fzkevm-wsteth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildonpolygon%2Fzkevm-wsteth/lists"}