Skip to content

Scripts and raw data used in calculating HAI community incentive distributions

License

Notifications You must be signed in to change notification settings

hai-on-op/distribution-scripts

 
 

Repository files navigation

Incentives queries

To run a query, get a GCP service account key file and set its path in as environment:

export GOOGLE_AUTH=<key file>

Alternatively, copy the query and paste it in the Google BigQuery online editor: https://console.cloud.google.com/bigquery

Update exclusions.csv with excluded EOAs, if needed. Note that not all scripts supports address exclusion.

Running

This is the general format of the command

./run_incentives_query.sh <query_file> <exclusions_file> <output_file>
./run_incentives_query_with_owner_mapping.sh  <query_file> <exclusions_file> <output_file>

About

Scripts and raw data used in calculating HAI community incentive distributions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.1%
  • JavaScript 37.1%
  • Shell 9.8%