Skip to content

SeventhOdyssey71/sui-intents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sui Intents Contracts

Outcome-first trading rails for Sui. Users say what they want; solvers figure out how; settlement enforces constraints on-chain.

What Even This Is?

A hardened Move protocol core for:

  • creating intents,
  • submitting solver bids,
  • selecting and settling winners atomically,
  • minting immutable settlement receipts.

Short version: no route trust, only constraint trust.

Modules

  • intent.move: intent lifecycle (OPEN -> MATCHED -> SETTLED/EXPIRED/CANCELLED)
  • bid.move: bid lifecycle + bond handling (OPEN/WINNING/LOST/SLASHED/REFUNDED/SETTLED)
  • settlement.move: winner mark, settlement checks, expiry, losing-bid handling, slashing path
  • receipt.move: settlement proof object

Security Posture (Current)

  • Solver-only refund path
  • Maker-only slash path
  • Strict status-gated transitions
  • Winner-id and intent-id consistency checks
  • Route hash integrity check at settlement
  • Full abort-on-failure semantics (atomic)

Build & Test

From this folder:

sui move build
sui move test

Coverage:

sui move test --coverage --force
sui move coverage summary

Current status:

  • Wide range of tests (there's never "too much" tests, right??)

Notes

  • This package is just one sketch from my blueprint, handle with care.

About

Sui-native intent solver network that routes outcomes via DeepBook CLOB and settles atomically with PTBs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages