Skip to content

Commit 1fcafc5

Browse files
Jsonlines for mapping address info (#66)
* Use jsonl instead of json for address mapping info * Fix mapping test to handle jsonl address info * Update docs with jsonlines address info
1 parent fbd9d94 commit 1fcafc5

File tree

16 files changed

+494725
-1522688
lines changed

16 files changed

+494725
-1522688
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ project:
3333
The mapping information for Cardano is too large for Github.
3434
To retrieve it do the following:
3535
- Download the file from
36-
[here](https://uoe-my.sharepoint.com/:u:/g/personal/dkarakos_ed_ac_uk/ETgyf9W-JdtGlF5Ln8yj7zQB2uwtQLzB22oQDEfbvIn9Zg?e=HjXlxd&download=1).
37-
- Move the file to the folder `mapping_information/addresses/`. Note that the file should be named `cardano.json`.
36+
[here](https://uoe-my.sharepoint.com/:u:/g/personal/dkarakos_ed_ac_uk/EXseoT-v1xBHn1TWG1IvqHIB2L3Pm35-UtKIcUKmk1IQZw?e=YgTfjR&download=1).
37+
- Move the file to the folder `mapping_information/addresses/`. Note that the file should be named `cardano.jsonl`.
3838

3939
## Run the tool
4040

docs/contribute.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ and `special_addresses`.
1616
`addresses` contains information about the owner or manager of an address. This
1717
information should be publicly available and verifiable, for example it may come
1818
from a public explorer, social media or forum posts, articles, etc. Each file in
19-
this folder is named `<project_name>.json` (for the corresponding ledger) and
20-
contains a dictionary where the key is the address and the value is a dictionary
21-
with the following information:
22-
(i) the name of the entity (that controls the address);
23-
(ii) the source of the information (e.g., an explorer's URL);
24-
(iii) (optional) a boolean value `is_contract` (if omitted then it is assumed false);
25-
(iv) (optional) `extra_info` that might be relevant or interesting (not used for
19+
this folder is named `<project_name>.jsonl` (for the corresponding ledger) and
20+
contains a dictionary per line with the following information:
21+
(i) the address;
22+
(ii) the name of the entity (that controls the address);
23+
(iii) the source of the information (e.g., an explorer's URL);
24+
(iv) (optional) a boolean value `is_contract` (if omitted then it is assumed false);
25+
(v) (optional) `extra_info` that might be relevant or interesting (not used for
2626
the analysis).
2727

2828
`special_addresses` contains information about addresses that should be treated

mapping_information/addresses/bitcoin.json

Lines changed: 0 additions & 72460 deletions
This file was deleted.

mapping_information/addresses/bitcoin.jsonl

Lines changed: 72458 additions & 0 deletions
Large diffs are not rendered by default.

mapping_information/addresses/bitcoin_cash.json

Lines changed: 0 additions & 61993 deletions
This file was deleted.

mapping_information/addresses/bitcoin_cash.jsonl

Lines changed: 61991 additions & 0 deletions
Large diffs are not rendered by default.

mapping_information/addresses/dogecoin.json

Lines changed: 0 additions & 47975 deletions
This file was deleted.

mapping_information/addresses/dogecoin.jsonl

Lines changed: 47973 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)