tres's Introduction
To run: 1. make sure you have all the requirement parameter in .env file 2. make sure you are in the "tres" directory. 3. run "pip install -r requirements.txt" 4. follow the instructions below use the following command to traverse an address: python cli.py --address <ADDRESS_YOU_WANT_TO_TRAVERSE> example: python cli.py --address 0xfb626333099a91ab677bcd5e9c71bc4dbe0238a8 use the following command to query the DB - DB_NAME and COLLECTION_NAME default to the graph db and nodes collection and can be left out: python cli.py --action query --db <DB_NAME> --collection <COLLECTION_NAME> --filter '<FILTER_IN_JSON_FORMAT>' example: python cli.py --action query --filter '{"address": "0xfb626333099a91ab677bcd5e9c71bc4dbe0238a8"}' for cli information run - python cli.py --help: usage: cli.py [-h] [--action ACTION] [--db DB] [--collection COLLECTION] [--filter FILTER] [--address ADDRESS] [--depth DEPTH] Traverse transaction graph options: -h, --help show this help message and exit --action ACTION select query/traverse --db DB db to query --collection COLLECTION collection to query --filter FILTER what filter to use --address ADDRESS the address you need to traverse --depth DEPTH the depth of traversal
tres's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.