- 원하는 토큰을 입력한다.
- 그 토큰이 유동성 공급이 됐을때 구매한다.
- eth amount와 가스비, 그리고 유동성 공급후 몇블록에 살 것인지 결정한다.
- 특정블록에 구매가 안될 경우, 구매하지 않는다. 만료된다.
- cp config_testnet.ts config.ts
- Mainnet or Testnet (local)
- add eth address, privatekey
- set token you want to buy
- set PoolFee(Gas price)
- Run
yarn install
to install the project dependencies - Run
yarn install:chain
to download and install Foundry
Run yarn start
and navigate to http://localhost:3000/