Dogex: Simplified Decentralized Perpetuals DEX on Hyperion

:crescent_moon: Crypto Startup MVP in 30 Days – DAY 9/30
Laid the foundation for the crypto project frontend. First lines of code today! :rocket:
Set up the architecture

  • Added key libraries:
  • wagmi / viem
  • RainbowKit wallet connection
  • Core Next.js libraries
    Also continue to research GMX
  • trading basics mostly
  • contract reading

3 Likes

:crescent_moon: Crypto startup MVP in 30 days – DAY 9/30
Today I mainly focused on the UX of the form and the project overall, quickly designed the app and created the form, as well as made a mobile version. Everything is now ready in the Next.js application for further integration.
I also added a store using Zustand β€” it’s lightweight, simple to use, and offers efficient state management with minimal boilerplate, making it perfect for fast iteration and scaling in React apps.

3 Likes

The AI Vibe Trader interface is live.

Next up: GMX integration, followed by a clean, intuitive TradingView-powered chart designed for everyday users β€” no noise, just clarity.

I’ve already done a deep dive into GMX, but the next 10 days will be all about mastering the internals β€” reverse engineering, refining, and building a custom implementation tailored to our product vision.

We’re not just shipping features β€” we’re laying the foundation for a user-first trading experience.

3 Likes

First trade is live!

Today I successfully executed the first trade from my own interface directly into the GMX smart contracts β€” and it felt great.

I’ve also started integrating the custom trading form β€” still a work in progress, but we’re moving fast toward a seamless user-driven trading flow.


3 Likes

But this trade is on Arb real GMX contracts, my next aim is to make short and close position and make a Arb contracts => make a Hyperion contracts

3 Likes

Today’s focus: connecting the frontend to GMX smart contracts.

The goal is to fully wire up the custom trading form β€” sending user input directly into the contract β€” and implement market close for long positions.

Step by step, we’re turning this into a real trading product.

2 Likes

This weekend, I hit pause on the project.
I was mentally drained β€” too much coding, research, context-switching.
Sometimes the fastest way forward is to step back.
I took a break, got some rest, spent time offline. And honestly, it helped a lot.
:light_bulb: Today I’m back β€” focused, recharged, and ready to push hard again.

4 Likes

Today I spent time diving into GMX’s smart contracts. There are some solid mechanisms in place, but I’m not sure all of them are necessary for the MVP.

This week, the goal is to finalize the research and get the contracts live.

Right now, I’m leaning toward a minimal setup: just two contracts β€” Vault and PositionsManager. Simple enough for an MVP, but structured to scale later.

2 Likes

Crypto Startup MVP in 30 Days – DAY 23/30


Today I did a base for a contract for DogEx and tested it!

The Architecture

Under the hood β€” how DogEx works

Vault enables DOGE/USDC leveraged trading through a minimal interface:

  • openPosition() β€” Enter long/short with leverage (10x–100x)
  • closePosition() β€” Settle P&L, reclaim collateral
  • Single open position per wallet (simplifies accounting and UX)

Collateral: USDC

Leverage: 10x–100x

P&L logic: Calculated on-chain

Security: ReentrancyGuard, owner-controlled pricing with safeguards

Manual price feed for now β€” capped at Β±10% per update with 1-minute cooldowns.

All critical actions emit events: position openings/closings, price updates β€” enabling full frontend and analytics support.

3 Likes

Today we’re laying the foundation for our own price oracle β€” a critical piece of infrastructure for any serious DeFi protocol.

I’m deploying a minimal, chain-agnostic oracle prototype on Sepolia. The architecture is lean and pragmatic:

  • Smart Contract
    • getPrice()
    • setPrice()
  • Off-chain Service
    • Monitors new blocks, elapsed time, and price changes
    • When criteria are met β†’ pushes the updated price on-chain
    • Otherwise β†’ skips

This setup gives us reliable, on-chain access to external pricing β€” essential for use cases like a futures exchange. No price, no protocol. We’re solving that today.

Execution over complexity.

2 Likes

Ok now I have 3 parts for my mvp: oracle, contract and frontend. On this stage I want to merge all of them and see how it works on Arbitrum and then move to Hyperion

2 Likes

It almost works on sepolia rn. My plan for now

  • make a liquidation mechanism
  • Make a chart with price and position info
  • Move it to Hyperion and make it fully use Hyperion features
2 Likes

@i_am_supaman_lj where are you?

2 Likes

Nice project, I think the gamification put you out of touch with your real goal. You should stick to one niche or trend. DEX or gamefi.
You have a great DEX project but not a god gamefi project.
Not all project have to do everything, just solve a problem. Just a token from me.
This is where I got to from following the link sent.

2 Likes


I think I 99% finished with MVP

  1. did liquidation mechanics
  2. added Trading View

Now my main aim to move it to Hyperion chain, show to first users and work on improving MVP experience

2 Likes

Done now, thanks for the insight

You are welcome, any other thing you need you can tag myself or @Ghostt

2 Likes

Today I deployed all contracts to Hyperion testnet.

  • DogEx

  • oracle with $DOGE price

  • liquidator

Just waiting for more gas from the @hyperion_xyz to launch it!

1 Like

:rocket: DogEx is LIVE on Metis Testnet!
Trade perps with speed & transparency :dog_face::chart_increasing:
Try now: https://www.dog-ex.com/

:link: Contracts:
Mock USDC: 0x7e8aD9892265a5A665062b5C3D387aF301A673b6
Oracle: 0xd2c6c162a1aa2511e35c229da62e5084d6762942
DogEx: 0xa1c6144c2aFa413329A82A942237Af2ED8452a03

1 Like

Guys let me know about any issues with the app / test cases / UX improvements you want to see

1 Like