And it works ✅ good morning good night

4:30 in the morning
Sun is slowly climbing up :sun:
And I see —->
Terminal log all green →
Tx went through correctly :white_check_mark:
Confirmed on explorer :pen:

Life is beautiful I’m going to sleep now :zzz:

  • I’m not even close to be done but managed to implement a private dex with oracle for gMetis -USDC pair with real time price from metis to Hyperion

Tomorrow (or today more precisely I’ll adjust LazaiTraders functions to this work and testing is ready to fly with massive incentive boost for testers

Get ready

12 Likes

ok
woke up - kids had breakfast - ready to roll another round of devving and sharing

What exactly happened up there you may ask - i risk sounding like some ai written crap but trust me I’m typing this all letter by letter.
I cannot tell the same about coding though. i had a big fight with MS copilot/claudai/grok yesterday finally i sent them home and finished the code myself.. feels good isn’t it?

ok so lets get back to business
the issue is on hyperion testnet that the only available dex was the testdex - for agentic trade execution this was not suffiecient - low liquidity - no oracle integration - limited documentation available (just saying neither should be an issue on mainnet nevertheless - we might not go there at the end because … :backhand_index_pointing_down:

we deployed a simpified versio of a dex + private oracle. what this means? (you may ask this odd-ass guy using the forum as his personal notes)
If a trigger has been activated for LazaiTrader the flow is as below (cool stuff keep reading)
gets price data from dexscreener api (we use gMetis - USDC on Andromeda) and using the smart contract funstion -deployed on Hyperion- updates the price for TESTgMetis, updates the whitelist of addresses that can use it and updates a timestamp that limits the use of the pulled price. within the same tx the amount of lets say TESTgMetis is sent from user by the agent to the contract which calculates the usdc value and returns it to the user. at the same time (atomic if you wish) it also removes the user from the whitelist to avoid multi trades exploiting the protocol.

All this to make it

  1. stable
  2. secure
  3. scaleable
  4. Hyperion - Alith focused

we are getting there

Questions?

9 Likes

Alith powered onboarding almost completely integrated already
Test tokens distributed
All tested will receive a designated wallet the agent will use to perform the trades
7/10 almost there

7 Likes