Code Monkey home page Code Monkey logo

botminator's Introduction

Botminator

🪢🪢 This is the official repository for Chainlink Hackathon with Encode Club 2022 🪢🪢

You cannot be a real market maker in markets like NYSE, controlled by capital ventures (private clubs). Motivation to build a bot comes with this incentive offered by decentralized exchanges offering direct access to the market with APIs for example. Botminator is an arbitrage bot taking advantage of chainlink price feed oracle and chainlink keepers for cross exchange trading based on Proof Of Variation.

Contracts

How it works : Proof of Price Variation

PoPV

  • SAND : Output in token amount after swap.
  • SAND* : Input in token amount to swap in the 2nd swap of a route based on Input in USD to be profitable.

ChainLink Integration

  • PriceFeed Oracle :

Screenshot 2022-08-29 at 05 29 05

Screenshot 2022-08-29 at 05 29 24

  • Keeper Automation :

Screenshot 2022-08-29 at 05 28 42

Inspiration

To reduce the risk of having a sandwich attack AMM DEXs began offering Time Weighted Average Price (TWAP) oracles. TWAP is a pricing methodology that calculates the mean price of an asset during a specified period of time. For example, a “one-hour TWAP” means taking the average price over a defined hour of time.

Cross-exchange market making :

  • Less liquid market : make order
  • More Liquid market : taker order

Strategy

It is important to choose the right dex or in other words the route to be profitable, and for this you have to :

  • Take into account the tax(fees) in the arbitrage while setting up orders.
  • Oracle exchange price feed choice : not necessarily the connected exchange

Analysis Tools

Analysis tool for dexs

Chainlink Integration

  • PriceFeed
  • Keepers

Advantages

  • Chainlink Keepers can execute a portion of the code deployed on-chain at a basic minimum web dev costs.
  • Distinct service that only compute code for that contract on-chain.
  • Save Ethereum fees.
  • Privacy

Future

  • Friendly user-interface.

botminator's People

Contributors

jrcarlos2000 avatar mrhouzlane avatar taijusanagi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

x4rma

botminator's Issues

tests on hardhat network

I run :

npx hardhat run test/Botminator.js --network hardhat
I have this error : ReferenceError: describe is not defined

While npx hardhat test works.

Link token address

Screenshot 2022-08-27 at 20 46 52

Link token address on mainnet not recognisable.

I did :

  • Forket mainnet.
  • Added RPC_URL = <Mainnet_Alchemy endpoint> on .env
  • PrivateKey on .env

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.