🚀 Introducing the USWAP Bridge Arbitrage Bot by @coininstant!

openart-image_Dzpz-MI0_1749787043898_raw.jpg Sick thumbnail nailed by Dalle 3

Hello fellow Hiveans,

I've been busily working on the backend of https://hive.trading for the past six months or so, it's been a slow process going, however I've finally set up the backup server so that I can get out of my comfort zone and begin testing crazy updates without worrying about blowing up the site. This year has been fun creating a whole bunch of bots for HIVE and Hive-engine (more coming soon) so now it's finally time for me to begin releasing them very carefully one by one. My first release is a simple one, it's a hybrid hive / hive-engine bot for earning passive returns from the uswap app by adding liquidity in the form of L1 HIVE or L2 Hive-Engine SWAP.HIVE, L1 HBD or L2 Hive-Engine SWAP.HBD to the uswap bridge. The Uswap bridge instantly pays users to provide liquidity at certain times, and this bot automatically does everything for you.

Screenshot 2025-06-12 at 5.52.11 pm.png When you supply liquidity uswap sends you funds instantly

We’re excited to unveil our newest addition: the USWAP Bridge Arbitrage Bot, now live on https://hive.trading! If you’ve ever wanted a fully-automated way to passively Provide Liquidity and Earn Rewards from liquidity imbalances on https://uswap.app to earn between HIVE/SWAP.HIVE and HBD/SWAP.HBD, this bot is for you.

🔎 What It Does?

  • Monitors USWAP reserves for both HIVE ↔ SWAP.HIVE and HBD ↔ SWAP.HBD in real time.

  • Calculates profit thresholds using the same on-chain formulas the USWAP bridge itself uses (BASE_FEE, MIN_BASE_FEE, DIFF_COEFFICIENT, etc.).

  • Executes swap transactions whenever a profitable opportunity is detected—for either direction—so you don’t have to babysit the markets.

  • Supports dual-mode operation: run HIVE-only, HBD-only, or the new HIVEANDHBD mode to hunt for arbitrage on both sides in a single cycle. The bot automatically searches all modes, all you have to do is hold HIVE, or SWAP.HIVE or HBD, or SWAP.HBD, or one or all of them and the bot will do the rest

⚙️ How It Works Under the Hood:

  1. Fetch Liquidity Data
    Every cycle, the bot pulls the latest pool balances (HIVEPOOL, SHIVEPOOL, HBDPOOL, SHBDPOOL) via our RPC manager (with automatic failover).

  2. Compute Imbalance
    It applies the official USWAP bridge formulas to determine the “true” swap rate and compares it to the on-chain pool rate. If the gap exceeds your configured profit margin (minus fees), it’s go time.

  3. Prepare & Execute

  • Builds the swap transaction payload (either SWAP.HIVE→HIVE or HIVE→SWAP.HIVE, likewise for HBD).

  • Signs & broadcasts via Hive Keychain (or your chosen account authority).

Safety & Reliability

  • RPC Failover: seamlessly switches nodes if one becomes unresponsive.

  • Error Handling: automatically retries transient failures and alerts you if something really goes sideways.

  • Configurable Parameters: tweak your minimum profit buffer, cycle interval, and maximum swap size per trade.

✨ Key Features at a Glance

  • Automated 24/7 operation—never miss an arbitrage window.

  • Dual-mode: HIVE, HBD or both.

  • Dynamic fee & slippage controls so you never get caught in a losing swap.

  • Detailed logging & metrics dashboard (coming soon!) for ROI tracking.

  • Easy setup via our web UI—just log in, pick “USWAP Bridge Arbitrage” as your bot, set your thresholds, and you’re off.

🚦 Getting Started

  • Log in to your account and select USWAP Bridge Arbitrage from the bot dropdown.

Screenshot 2025-06-12 at 5.29.38 pm.png

  • Click “Log in with Keychain” to authorize swaps.

Screenshot 2025-06-12 at 5.29.46 pm.png

  • Add your Username into the bot

Screenshot 2025-06-12 at 5.30.04 pm.png

  • Burn (minimum) 1 HELIOS to activate your user with the bot (This is for first time users)

Screenshot 2025-06-12 at 5.30.12 pm.png

  • Enter your desired swap size amount parameters.
  • Note: The larger your trade size the more you can make, but the greater chance of not being able to fill a swap if your trade size is larger than the needed liquidity*

Screenshot 2025-06-12 at 5.45.01 pm.png

That’s it—sit back and watch your bot automatically Provide Liquidity to the Uswap bridge and Earn Rewards!

Screenshot 2025-06-12 at 3.57.38 pm.png

Thank you for being part of our community, and happy trading! If you have questions or run into any issues, drop a message in our discord support channel here: https://discord.gg/uTU24we7sP

Follow @coininstant for more!

0.21769508 BEE
5 comments

That is great!
Thanks for doing that!

0.00003255 BEE

Curious about HivePakistan? Join us on Discord!

Delegate your HP to the Hivepakistan account and earn 90% of curation rewards in liquid hive!


Follow our Curation Trail and don't miss voting!


Additional Perks: Delegate To @ pakx For Earning $PAKX Investment Token


Curated by dlmmqb

0.00000000 BEE

Pretty neat!

0.00000000 BEE

Problem is when too many use the bot, there will be no spread at all anymore and the gain of using the bot trends to zero. Which is good for all users who just want to swap. Could one adapt it for more exotic swapping pairs where there is a big spread?

0.00000000 BEE

For sure, been waiting for VSC to open up some markets that will work with this.

0.00000006 BEE
(edited)

Amazing!

Wen DCA grid bot?

!PAKX

Initial Buy: 10% of portfolio at $1.00 per Hive. Price Drop: Price drops to $0.99, add more capital to improve average price. New Average: Continue adding capital at each 1% drop, adjusting the average purchase price. Profit Taking: Once the average position is in profit, sell to realize gains.

If Bot trading team needs any help, feedback or anything at all related to this strategy let me know. I belive it's the one that makes since to end users.

I explain it like buy an egg at 10 PKR if egg drop at 9 PKR then buy 1 more egg Bought 5 eggs when EGG reached 5 PKR

So now although we bought 1st egg at 10, even if we sell at 9 all eggs it will be profit. This makes sense to end users even if we verbally explain the strategy. So I believe instead of going after best ROI or market tested strategies Helios should also add some strategies which are easier to understand by end users

-0.12296829 BEE

View or trade PAKX tokens.

@dlmmqb, PAKX has voted the post by @coininstant. (1/3 calls)



Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on PAKX Blog.

0.00000000 BEE