https://github.com/archlinuxstudio/uniswaptraderv3
https://github.com/archlinuxstudio/uniswaptraderv3
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/archlinuxstudio/uniswaptraderv3
- Owner: ArchLinuxStudio
- License: gpl-3.0
- Created: 2022-05-17T18:22:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T06:38:11.000Z (over 3 years ago)
- Last Synced: 2025-03-10T06:12:05.989Z (11 months ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UniswapTraderV3
Use code to do WETH/UNI swap on Uniswap V3. Test on Ropsten network. This project will be a good start to learn trading bot.
First you need to get some fake ether on Ropsten faucet. Next, go to uniswap to swap some WETH. Regarding STF error - it may be useful to notice that both ETH (to pay gas prices) and WETH tokens (to swap to UNI) must be available on the user's account - otherwise, the user will get STF - even after calling for approval.
This project borrow a lot from this video [Swap tokens on Uniswap V3](https://www.youtube.com/watch?v=vXu5GeLP6A8)