Skip to content

Commit e9ab713

Browse files
committed
readme
1 parent b415789 commit e9ab713

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
1-
# forensic-db
1+
# forensic-db
2+
3+
An ETL system for processing Libra backup archives from genesis to present into a graph database.
4+
5+
Uses Open Cypher for compatibility with Neo4j, AWS Neptune, Memgraph, etc.
6+
7+
By default uses Neo4j as target database.
8+
9+
10+
## Source Files
11+
You will use Backup archives from https://github.com/0LNetworkCommunity/epoch-archive-mainnet
12+
Note there is a v5, v6, v7 branches of the archives.
13+
14+
## Build
15+
```
16+
cargo build release
17+
cp ./target/libra-forsensic-db ~/.cargo/bin
18+
19+
```
20+
21+
## Run
22+
23+
### NOTE you must close the backup archive repo above.
24+
You should also unzip all the files (NOTE future versions of forensic-db will gzip extract for you).
25+
26+
### You must have a running NEO4j instance
27+
Export the DB credentials to environment variables, or pass them as arguments to the tool.
28+
29+
30+
31+
```
32+
# load all transactional backups from epoch archive
33+
libra-forensic-db ingest-all --start-from <path to epoch-archive> --content transactions
34+
```

0 commit comments

Comments
 (0)