Add information about parent field in README (#417)

closes #391
This commit is contained in:
ligi 2021-09-15 02:07:03 +02:00 committed by GitHub
parent 0b77f10fe4
commit f618b20fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: