Skip to content

IT4043E-IT5384-2023/it4043e_group17_problem5

Repository files navigation

Group17_Problem5

To crawl the data, run file run.sh with the command to read.

bash run.sh

To run the system, there are something needs to put in mind:

  • Package installation
pip install -r requirements.txt
  • In this project, we use local Kafka due to the fact the Centic Kafka is crowded. The Kafka we config is at 'localhost:9092'.
  • Put the Google Cloud Storage credential file and name it as final/gcs.json
  • Now you are ready to run!
cd final/
python run_schedule.py
  • To check if a smart contract might be fraudulent or not, you can call the API at 'localhost:5000/predict' and localhost:5000/result, or run the python file
python sample_request.py <Contract hash>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published