From 7ffef35ffa3df7f80dbc9cc1b717b0caf01696d2 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 28 Nov 2024 12:09:07 -0600 Subject: [PATCH] chore: clean up readme --- README.md | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 96c6c205..8dc5836a 100644 --- a/README.md +++ b/README.md @@ -143,10 +143,10 @@ anvil-zksync --cache=disk --cache-dir=/tmp/foo --reset-cache run To fork the mainnet: ```bash -anvil-zksync fork mainnet +anvil-zksync fork fork-url mainnet ``` -> Tip: You can also fork the zkSync Sepolia testnet with `anvil-zksync fork sepolia-testnet`. +> Tip: You can also fork the zkSync Sepolia testnet with `anvil-zksync fork fork-url sepolia-testnet`. ## 🔄 Replay Remote Transactions Locally @@ -237,19 +237,20 @@ anvil-zksync -d For testing and development purposes, the `anvil-zksync` comes pre-configured with a set of 'rich' wallets. These wallets are loaded with test funds, allowing you to simulate transactions and interactions without the need for real assets. Here's a list of the available rich wallets: - -| Account Address | Private Key | -| -------------------------------------------- | -------------------------------------------------------------------- | -| `0x36615Cf349d7F6344891B1e7CA7C72883F5dc049` | `0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110` | -| `0xa61464658AfeAf65CccaaFD3a512b69A83B77618` | `0xac1e735be8536c6534bb4f17f06f6afc73b2b5ba84ac2cfb12f7461b20c0bbe3` | -| `0x0D43eB5B8a47bA8900d84AA36656c92024e9772e` | `0xd293c684d884d56f8d6abd64fc76757d3664904e309a0645baf8522ab6366d9e` | -| `0xA13c10C0D5bd6f79041B9835c63f91de35A15883` | `0x850683b40d4a740aa6e745f889a6fdc8327be76e122f5aba645a5b02d0248db8` | -| `0x8002cD98Cfb563492A6fB3E7C8243b7B9Ad4cc92` | `0xf12e28c0eb1ef4ff90478f6805b68d63737b7f33abfa091601140805da450d93` | -| `0x4F9133D1d3F50011A6859807C837bdCB31Aaab13` | `0xe667e57a9b8aaa6709e51ff7d093f1c5b73b63f9987e4ab4aa9a5c699e024ee8` | -| `0xbd29A1B981925B94eEc5c4F1125AF02a2Ec4d1cA` | `0x28a574ab2de8a00364d5dd4b07c4f2f574ef7fcc2a86a197f65abaec836d1959` | -| `0xedB6F5B4aab3dD95C7806Af42881FF12BE7e9daa` | `0x74d8b3a188f7260f67698eb44da07397a298df5427df681ef68c45b34b61f998` | -| `0xe706e60ab5Dc512C36A4646D719b889F398cbBcB` | `0xbe79721778b48bcc679b78edac0ce48306a8578186ffcb9f2ee455ae6efeace1` | -| `0xE90E12261CCb0F3F7976Ae611A29e84a6A85f424` | `0x3eb15da85647edd9a1159a4a13b9e7c56877c4eb33f614546d4db06a51868b1c` | +``` +18:02:50 INFO Rich Accounts +18:02:50 INFO ======================== +18:02:50 INFO (0) 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (10000 ETH) +18:02:50 INFO (1) 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 (10000 ETH) +18:02:50 INFO (2) 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC (10000 ETH) +18:02:50 INFO (3) 0x90F79bf6EB2c4f870365E785982E1f101E93b906 (10000 ETH) +18:02:50 INFO (4) 0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65 (10000 ETH) +18:02:50 INFO (5) 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc (10000 ETH) +18:02:50 INFO (6) 0x976EA74026E726554dB657fA54763abd0C3a0aa9 (10000 ETH) +18:02:50 INFO (7) 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955 (10000 ETH) +18:02:50 INFO (8) 0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f (10000 ETH) +18:02:50 INFO (9) 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720 (10000 ETH) +``` Feel free to use these wallets in your tests, but remember, they are for development purposes only and should not be used in production or with real assets. @@ -261,16 +262,14 @@ See our list of [Supported APIs here](SUPPORTED_APIS.md). A GitHub Action is available for integrating `anvil-zksync` into your CI/CD environments. This action offers high configurability and streamlines the process of testing your applications in an automated way. - -You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/era-test-node-action). +You can find this GitHub Action in the marketplace [here](https://github.com/marketplace/actions/anvil-zksync-action). - ### 📝 Example Usage Below is an example `yaml` configuration to use the `anvil-zksync` GitHub Action in your workflow: ```yml -name: Run Era Test Node Action +name: Run anvil-zksync Action on: push: @@ -285,7 +284,7 @@ jobs: uses: actions/checkout@v2 - name: Run Era Test Node - uses: dutterbutter/era-test-node-action@latest + uses: dutterbutter/anvil-zksync-action@v1 ``` ## 🤝 Contributing