Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RandyPen/ProxyTradingPattern

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.