Skip to content

An Osmosis Whale Alerts Bot That Tracks Transactions Over $10,000

License

Notifications You must be signed in to change notification settings

jhuhnke/Osmosis-Whale-Alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osmosis-Whale-Alerts 🐋

This repository contains a Twitter bot that Tweets transaction details for transactions worth more than $10,000 USD that occur on Osmosis Zone. Osmosis is a popular DEX within the Cosmos Ecosystem, referred to some as the liquidity hub of the Cosmos.

Aims 🎯

The aim of this application is to monitor large transactions that take place on Osmosis.

Right now, this bot utilizes Flipside Crypto Osmosis data to monitor transactions. Flipside Crypto does not provide live data, but data on a 12 hour delay. So transactions will not alert automatically via the bot, but within the same day.

Setup 🔨

Flipside Crypto

To access the Flipside Crypto dataset, you will need a ShroomDK API Key. This API key is free to obtain and use once you mint it as an NFT on ETH mainnet. Ensure you have some ETH in your Metamask as gas for the minting transaction.

Twitter

This bot requires a Twitter Developer Account with Elevated Access. To request elevated access, first create the Twitter account you wish to send the tweets and request elevated access through the Twitter Developer Portal. Once your access has been approved, create a new application on the Twitter developer portal and generate a consumer key and consumer secret.

Files 💾

There are three different Twitter bot files included in this repo.

app.py is the original file that uses oAuth1 to authorize the application to tweet using an input pin.

tweepy_bot.py is an updated bot that uses the Tweepy library for authentication. This version is less complicated and works better for daily deployment.

tweepy_bot2.py utilizes the Tweepy library for Twitter authentication and calls the Flipside Velocity / Gumby application API directly. This is a good way to work around degraded performance as the application is reading cached query results.

Contributions 👋

Contributions of any form are appreciated. Please follow the "fork and pull" Git workflow if you would like to create a new feature:

  1. Fork the repo on Github
  2. Clone the repo onto your own machine
  3. Create a new branch and commit any changes to this branch
  4. Push your work to back up your fork
  5. Submit a pull request and request review from jhuhnke

IMPORTANT: Be sure to merge the lastest commit from upstream before submitting a pull request.

To report a bug or submit a feature request, please use the issues tab to open and submit an issue. The more detailed the bug report or feature request, the easier it is for me to integrate it into the application!

Donations 💸

Any donations are greatly appreciated and will be put torwards the cost of the deployment server. Extra donations will likely be used to buy the dev a coffee or a beer.

Osmosis address: osmo1dup5a0hn4lel0kexcsx2yk4arm0hxm0cde6d4h

Cosmos Hub address: cosmos1dup5a0hn4lel0kexcsx2yk4arm0hxm0c9zfar9

ETH address: 0xdB69470D5e86Ae237721Cf1A292B80220d5575EA

Solana address: 2L6j3wZXEByg8jycytabZitDh9VVMhKiMYv7EeJh6R2H

License 🏁

This bot is licensed using an MIT license.

Please include attribution to this repo if you fork or modify this repo in your own project. Thanks!

About

An Osmosis Whale Alerts Bot That Tracks Transactions Over $10,000

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages