diff --git a/docs/running_local.md b/docs/running_local.md index 2fb3d451..13682003 100644 --- a/docs/running_local.md +++ b/docs/running_local.md @@ -76,3 +76,16 @@ make test-edge | 0xff0EE8ea08cEf5cb4322777F5CC3E8A584B8A4A0 | L2 Bridge | | 0x5FbDB2315678afecb367f032d93F642f64180aa3 | Matic token | | 0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6 | GlobalExitRootManager | + + +## Fund account on L2 with ETH + +If you need account with funds you can use the [deposit script](https://github.com/0xPolygonHermez/zkevm-bridge-service/blob/develop/test/scripts/deposit/main.go) +to fund an account. +For a list with accounts that already have ETH check out [node's docs](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/docs/running_local.md#accounts). + +You can exchange the `l1AccHexAddress` and `l1AccHexPrivateKey` and once executing the script with +``` +go run test/scripts/deposit/main.go +``` +the account that you've specified under `l1AccHexAddress` would have been funded on L2.