From b2c69e0297984401983c8892adcef59c24637e16 Mon Sep 17 00:00:00 2001 From: "mia von steinkirch, phd" <1130416+F4DELEGATECALL@users.noreply.github.com> Date: Sat, 12 Nov 2022 17:17:55 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=AE=E2=9C=A8bot=20#1:=20cowsol,=20an?= =?UTF-8?q?=20arb=20solver=20for=20CoW=20protocol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cowfi/README.md | 49 +++---------------------------------------------- 1 file changed, 3 insertions(+), 46 deletions(-) diff --git a/cowfi/README.md b/cowfi/README.md index 2f3c926..41638dd 100644 --- a/cowfi/README.md +++ b/cowfi/README.md @@ -8,53 +8,10 @@
-#### [cow swap](https://swap.cow.fi/#/faq?chain=mainnet) is the first trading interface built on top of cow protocol. -#### it's a meta dex aggregator that allows you to buy and sell tokens using gasless orders that are settled p2p among users or into any on-chain liquidity while providing mev protection -#### meta: the protocol matches trades via batch auctions for a variety of on-chain liquidity sources. -#### traders can be settled via underlying on-chain amms directly or via dex aggregators, depending on which pool/path offers the best price -> a dex aggreagator of dex aggregators +* [cow swap](https://swap.cow.fi/#/faq?chain=mainnet) is the first trading interface built on top of cow protocol. +* it's a meta dex aggregator that allows you to buy and sell tokens using gasless orders that are settled p2p among users or into any on-chain liquidity while providing mev protection. +* [check my review post "🐮✨bot #1: cowsol, an arb solver for CoW protocol"](https://mirror.xyz/mevwaifu.eth/s_RwnRgJvK_6fLYPyav7lFT3Zs4W4ZvYwp-AM9EbuhQ) -
- -Screen Shot 2022-10-19 at 8 09 41 PM - - - -
- -## tl; dr - -* proposed solutions to mev - - base layer: enforce random ordering, encrypt tx content (time-locked, commit-reveal), separate tx sequencing & tx execution - - infrastructure level: flashbots (mev geth), mistx, archer swap - - dapp level (rook, 0x rfq orders, gnosis protocol) -* core ideas - - delegate trade execution with gpv2 - - coincidence of wants (fully mev protected, max gas efficient, no lp fees) - - batch auditions - -
- -## cow protocol - -at high level, CoW Protocol strives to achieve the following: - -- Competitiveness. Provide the best possible prices for its users, and in particular, prices that are at least as good as the users can find in any DEX. -- Fairness. Provide uniform exchange rates for all orders trading the same token pair. -- Decentralization. Provide such prices in a decentralized way. -- Protocol viability. Ensure the long-term viability of the protocol and its token. - -
- -### solver competition - -- decentralized price-finding mechanism by entitites, known as solver -- excess is settled in the same transaction with the best available AMM. -- the transaction is sent by professional “solvers” which set tight slippage bounds. -- two traders each hold an asset the other wants, an order can be settled directly between them without an external market maker or liquidity provider, solvers compete with each other to achieve best prices for the user. - -
- -* [type of solvers](https://docs.cow.fi/off-chain-services/solvers/type-of-solvers)