Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 880 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 880 Bytes

mm-interacts-evm

Margin Trading Exchanger of Meme on EVM

Download

git clone [email protected]:xiaoyu1998/mm-interacts-evm.git --recursive

Installation And Compile

cd mm-interacts-evm
npm install

Load Accounts And Sepolia Rpc

export account_keys="privateKey1,privateKey2"
export sepolia_url=https://arb-sepolia.g.alchemy.com/v2/your_api_key

Create and Supply Pools

npx hardhat run scripts/00create.ts --network arbitrumSepolia --no-compile
npx hardhat run scripts/01liquidity.ts --network arbitrumSepolia --no-compile

Long and Short

npx hardhat run scripts/08long.ts --network arbitrumSepolia --no-compile
npx hardhat run scripts/09short.ts --network arbitrumSepolia --no-compile

Close Position

npx hardhat run scripts/10close.ts --network arbitrumSepolia --no-compile