From 3eef5b0cf21b61b5ff26ad591bbc125b9d639d8f Mon Sep 17 00:00:00 2001 From: Moray Grieve Date: Wed, 3 Apr 2024 12:04:42 +0100 Subject: [PATCH] Use the obscuro_config end point --- README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cecb0f0509..2608827dc9 100644 --- a/README.md +++ b/README.md @@ -338,18 +338,12 @@ curl --location --request POST 'http://127.0.0.1:99/fund/eth' --header 'Content- --data-raw '{ "address":"
" }' ``` -Note that relevant contract addresses on the network are as below; - -| Name | Address | -|-------------------------------|----------------------------------------------| -| L1ManagementAddress | `0x51D43a3Ca257584E770B6188232b199E76B022A2` | -| L1BridgeAddress | `0x19e98b050662b49D6AbDFBe2467016430197BA90` | -| L1MessageBusAddress | `0xDaBD89EEA0f08B602Ec509c3C608Cb8ED095249C` | -| L1CrossChainMessengerAddress | `0x16f41E9960da7C28F2c6d86284d2E1B26C82a184` | -| L2BridgeAddress | `0x1e553a8b477FaBaA664e2372FBc2C6Ce52A14E74` | -| L2MessageBusAddress | `0x526c84529B2b8c11F57D93d3f5537aCA3AeCEf9B` | -| L2CrossChainMessengerAddress | `0x3A8F3d0Eb8dA18da9e7Eb0DE1BC35d62B87c2eD4` | +Note that relevant contract addresses on the network can be found from running the below command; +```bash +curl -X POST 127.0.0.1:80 -H 'Content-Type: application/json' \ +-d '{"jsonrpc":"2.0","method":"obscuro_config","params":[],"id":1}' +``` ## Community