loic-roux-404 / crypto-bots

Multichain Bots API to create various strategies to operate on chain or off chain with DEX and CEX integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto bots

Monorepo fr many types of bot

Features

Chain related

  • ERC-20 sniper bot main :
    • Control verbose
    • Send
    • Cancel
    • Update tx
    • Call sc
    • Deploy sc
    • Add private key to accounts
    • wallet (locking by sniping fee funds)
    • smart contract pair (sell, buy)
    • Block observation
  • Secrets using decentralized secrets store nucypher

Exchanges related

  • Listing of twitter exchange messages (WIP)
  • Pump and dump telegram groups (WIP)
  • Scalping strat (hammingbot ?)
Less prio
  • Wallet features
    • Import account with memonnic using go package btc-util
    • derivation path account
    • Refacto transaction (move to model), create a full flow funciton (create / sign / broadcast)
Tests
  • Plan what to test
  • Test unit token conversions
  • (e2e) contract calls
  • Typing casts
Refacto
  • move errors in return to panic and handle with panic

Backtest config

DEX :

  • SRM
  • uniswapv3
  • Pancakeswap

Nets :

  • (erc20) find testnet connection
  • (bep20) find testnet connection
  • k6 for load and e2e tests ?

Bug

  • Avoid multiple keystores by creating one if missing or fetch most recent (use cmd args)

Build and deploy

  1. Install

Go : - curl -sSL https://git.io/g-install | sh -s - g install 1.17.2

Geth : - C compiler : Ensure you have clang (Apple) Mingw2 clang (win) or gcc (Linux) - mage

  • Solidity pip3 install solc-select over mage
  • g version manager doc g install latest
  • Mage targets
  • Github actions tests
  • Github actions semantic release monorepo
  • Badges (ci, report, go reference)
  • Check the use of azblockchain.azure-blockchain
  • truffle test

Compatibility

CEX :

  • binance
  • gate
  • kucoin
  • Mexc

DEX :

  • SRM (raydium pools prio)
  • Pangolin (ARC-20)
  • uniswap v2 (pancake)
  • uniswap v3

Doc

Structure

  1. pkg

    Exposed libraries

  2. web

    Vue 3 frontend

  3. Internal

  4. build

    Magefile parts and dockerfile (.df)

Development

Used : https://github.com/thoas/go-funk

Testnets

  • Bsc : https://admin.moralis.io/
  • Eth : alchemy

About

Multichain Bots API to create various strategies to operate on chain or off chain with DEX and CEX integrations


Languages

Language:Go 70.0%Language:Solidity 29.4%Language:Shell 0.6%