Giter Club home page Giter Club logo

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

Contributors

nimrod4278 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.