Skip to content

FastLane-Labs/atlas-dex-backrun-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap V3 Demo script

Instructions

Install dependencies

npm install

Setup environment variables

cp .env.example .env

Fill out USER_PK, RPC_URL, AUCTIONEER_ENDPOINT, AUCTIONEER_ADDRESS and DAPP_CONTROL_ADDRESS. The Atlas config values should not be changed. The Demo config values can be changed to test different scenarios.

Different demo swap options

Tokens

Pools

Swap Options

  • ERC20 <> ERC20
  • ERC20 <> ETH
  • ETH <> ERC20

SwapRouter02 Options

  • exactInputSingle
  • exactOutputSingle
  • exactInput
  • exactOutput
  • multicall [swap -> unwrapWETH9]

Run demo

EOA demo. The user is self bundling.

npm run demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published