The Barking Game Analytics is a comprehensive tool designed to quantify the adoption and impact of The Barking Game within the Hedera ecosystem. It specifically focuses on the HBARk token (Token ID: 0.0.5022567), leveraging both the Hedera Mirror Node API and custom APIs to track "barking" activities on Twitter. This provides a clear picture of how users are participating and the level of their involvement in The Barking Game.
This tool analyzes the depth of engagement from bark givers (those who have barked on Twitter) and bark receivers (those who have received barks), enabling insights into the overall stickiness and positive effects of the game on the HBAR ecosystem.
- Adoption: Measure how many users are engaging with The Barking Game by barking on Twitter or being barked at.
- Participation Level: Quantify the level of user involvement, such as how much they’ve barked or been barked at, rather than just tracking frequency.
- Positive Effect: Demonstrate the broader impact of The Barking Game on Hedera by analyzing community engagement and token-related activity, showcasing its role in driving social interaction within the ecosystem.
These metrics help provide a clearer understanding of The Barking Game’s influence, its growth, and how it drives participation in Hedera's broader community.
- Quantify Adoption: Track how many accounts have participated in The Barking Game as both bark givers or receivers.
- Measure Participation Level: Assess the level at which users are engaging, including how many barks they’ve given or received.
- Token Associations: Retrieve the total number of accounts that have associated with the HBARk token, even if balance currently = 0.
To set up The Barking Game Analytics, follow these steps:
-
Clone the repository:
git clone https://github.com/Ashe-Oro/the-barking-game-analytics.git
-
Navigate to the project directory:
cd the-barking-game-analytics
-
Install dependencies:
npm install
-
(Optional) If using Node.js version earlier than 18, install
node-fetch
:npm install node-fetch
To run the analytics scripts and gather insights into The Barking Game's adoption and participation levels, execute the following commands:
Retrieve and analyze token associations for accounts involved in The Barking Game:
node accounts-associations.js
Fetch data on all accounts that have given barks:
node all-bark-givers.js
Fetch data on all accounts that have received barks:
node all-bark-receivers.js
These scripts will initiate processes that:
- Fetch token balances and associations for accounts involved in The Barking Game using the HBARk token (Token ID: 0.0.5022567).
- Track bark givers and receivers, analyzing the level of their participation.
- Output key metrics quantifying The Barking Game’s reach and influence.
Fetched 100 accounts with token associations, Total so far: 100
Fetched 50 bark givers, Total so far: 50
Fetched 200 bark receivers, Total so far: 200
Total accounts engaged in The Barking Game: 500
These analytics scripts are preconfigured specifically for use with The Barking Game and the $hbark token (Token ID: 0.0.5022567). The tools are designed to work out-of-the-box to analyze data pertinent to The Barking Game without the need for additional adjustments.
Contributions to The Barking Game Analytics are welcome! If you want to help enhance the tool, please submit a pull request with well-documented changes and clear explanations.
This project is licensed under the MIT License. For more details, see the LICENSE file.