Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
fix typos, add variables
  • Loading branch information
Tommel71 authored Oct 25, 2023
1 parent c8dee3b commit 5f38b63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Access the graphsense cassandra db. This requires a graphsense config (see Modul
```python3
from graphsenselib.db import DbFactory

env, currency = "test", "btc"

with DbFactory().from_config(env, currency) as db:
print(db.transformed.get_highest_block())
```
Expand All @@ -24,8 +26,8 @@ from graphsenselib.db import DbFactory

with DbFactory().from_name(
raw_keyspace_name="eth_raw",
transformed_keyspace_name="eth_tranformed",
schema_type="utxo",
transformed_keyspace_name="eth_transformed",
schema_type="account",
cassandra_nodes = ["test.cassandra1", "test.cassandra2"]
) as db:
print(db.transformed.get_highest_block())
Expand Down

0 comments on commit 5f38b63

Please sign in to comment.