From f618b20fda75c079bad748f33e85c778d3b46e89 Mon Sep 17 00:00:00 2001 From: ligi Date: Wed, 15 Sep 2021 02:07:03 +0200 Subject: [PATCH] Add information about parent field in README (#417) closes #391 --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 795a775a..5ba37e5c 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,22 @@ where: * width and height are optional - but when one is there then the other must be there also * format is either "png", "jpg" or "svg" +If the chain is an L2 you can link it to the parent chain like this: + + +```json +{ + ... + "parent": { + "type" : "L2", + "parent": "eip155-1", + "bridges": [ {"url":"https://bridge.arbitrum.io"} ] + } +} +``` + +where you need to specify type 2 and the reference to an existing parent. The field about bridges is optional. + ## Aggregation There are also aggregated json files with all chains automatically assembled: