Skip to content

RandyPen/ProxyTradingPattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Trading Pattern

The proxy trading pattern is a common development approach in Sui. Users often deposit some coins in a smart contract and request that these coins be traded according to specific requirements at a particular time. However, the Sui Move smart contract itself can't initiate transactions. It needs an external address to trigger transaction requests. In terms of security, the addresses that can initiate transactions need to be restricted. This is what the proxy trading pattern is about. This design pattern is often seen in scenarios such as DCA (Dollar-Cost Averaging), limit orders, quantitative trading, and arbitrage trading between DEX and CEX.

This tutorial will show you how to implement the proxy trading pattern.

  1. balance_manager
  2. access_control_list
  3. typescript_functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published