v2-periphery
π Peripheral smart contracts for interacting with Uniswap V2 (by Uniswap)
flashbot
By kmadorin
v2-periphery | flashbot | |
---|---|---|
10 | 1 | |
1,067 | 84 | |
1.2% | - | |
0.0 | 0.0 | |
about 1 month ago | over 3 years ago | |
Solidity | JavaScript | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
v2-periphery
Posts with mentions or reviews of v2-periphery.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-06.
-
Uniswap Deep Dive 1:
For source code, Uniswap V2 Core and Uniswap V2 Peripheral
-
Can I directly swap ETH with an ERC-20 token on DEX like Uniswap?
u/lapurita is right. Uniswap has periphery contracts which are created solely to make the end user experience easier. They have a function to swap ETH for tokens, but the first step is to convert ETH to WETH and then make the swap. Take a look at the Uniswap (v2) source code to see for yourself: https://github.com/Uniswap/v2-periphery/blob/master/contracts/UniswapV2Router02.sol
-
Difference between UniV2Router02 and UniV2Router01?
UniV2Router02
-
Error When Deploying Token Contract to TestNet?
Any of those above functions that have require statements could have triggered it. I guess that is why you suggested the "hardhats console log". I am not familiar with that and will get right on trying to get that to work. Sorry for slow response, it seems since your message I have went all up and down the entire uniswap code database that includes the router, pair, libraries, transferhelper, WETH, etc.... So I just had the most extensive crash course I have ever had. hahahaha... Thanks for pointing me in that direction. I have learned A LOT. Though I still haven't figured out why the error is happening so I will now try using the hardhats console log to debug it.
-
Transaction has Input but no Output. Can someone help me understand why this transaction is failing on the function call?
I've never implemented a flash swap, but I don't see where you exchange anything before your callback to resolve the initial amount. Have you seen Uniswap's full example?
-
[ETH-Brownie] How can I import from github when the version number includes letters and numbers?
However, I am having trouble importing the Uniswap/v2-periphery because the only tag is 1.0.0-beta.0 shown here. I've tried importing in the following ways with no success:
-
How can you execute a function if a contract on has external functions?
Learning about flash swaps on uniswap and I'm reading thru this example code and i noticed that this contract only has external functions.
-
Automating flash loan arbitrage, flash swaps, and/or liquidations
https://github.com/pdaian/flashboys2 https://github.com/kmadorin/flashbot https://www.smartcontractresearch.org/t/research-summary-coding-a-defi-arbitrage-bot/282 https://github.com/ExtropyIO/defi-bot https://github.com/search?q=flash+loan+arbitrage https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-i/ https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-ii/ https://medium.datadriveninvestor.com/maximizing-your-arbitrage-flash-loans-2cbb4c99ed80 https://medium.com/flashbots/frontrunning-the-mev-crisis-40629a613752 https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleFlashSwap.sol
- Does JavaScript Really Help?
- How Does Uniswap Work?
flashbot
Posts with mentions or reviews of flashbot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-17.
-
Automating flash loan arbitrage, flash swaps, and/or liquidations
https://github.com/pdaian/flashboys2 https://github.com/kmadorin/flashbot https://www.smartcontractresearch.org/t/research-summary-coding-a-defi-arbitrage-bot/282 https://github.com/ExtropyIO/defi-bot https://github.com/search?q=flash+loan+arbitrage https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-i/ https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-ii/ https://medium.datadriveninvestor.com/maximizing-your-arbitrage-flash-loans-2cbb4c99ed80 https://medium.com/flashbots/frontrunning-the-mev-crisis-40629a613752 https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleFlashSwap.sol
What are some alternatives?
When comparing v2-periphery and flashbot you can also consider the following projects:
BEP20-Contract-Template - Standard BEP20 Smart Contract BSC (binance smart chain) & Custom Contract.
defi-bot - Tutorial for building DeFi arbitrage bots
v2-core - π¦ π¦ Core smart contracts of Uniswap V2
flashboys2 - Flash Boys 2; frontrun.me web code, data gathering, and public data.
chainlink-mix - Working with smart contracts with eth-brownie, python, and Chainlink.
v1-contracts - πUniswap V1 smart contracts
OB_ReturnCabin - Orbiter Finance smart contracts
USM - Minimalist USD - A minimalist, collateralized stablecoin built on Ethereum.
uniswap-v2-periphery - π Peripheral smart contracts for interacting with Uniswap V2 [Moved to: https://github.com/Uniswap/v2-periphery]
dex-smart-contract
v2-periphery vs BEP20-Contract-Template
flashbot vs defi-bot
v2-periphery vs v2-core
flashbot vs flashboys2
v2-periphery vs chainlink-mix
v2-periphery vs v1-contracts
v2-periphery vs defi-bot
v2-periphery vs OB_ReturnCabin
v2-periphery vs USM
v2-periphery vs uniswap-v2-periphery
v2-periphery vs flashboys2
v2-periphery vs dex-smart-contract