Coder Social home page Coder Social logo

dex-bot's Introduction

DEX-BOT

DEX-BOT is an application for trading on decentralized exchanges

Installation

npm install

Usage

Main process

npm start

Pump-and-dump tool for PancakeSwap

This tool buys or sells the entire balance of a specified token in the pair

npm run src/pumpOrDump.ts <token1> token2> <action>

Command line arguments:

token1: Reserve token name if configured (eg. WBNB) or token contract address
token2: Shit token's name if configured (eg. DARK) or token contract address
action: 'pump' | 'dump'

  • Pump sells all of token1 for token2
  • Dump reverses the pump selling all of token2 for token1

Examples:

npm run src/pumpOrDump.ts WBNB ACH pump
npm run src/pumpOrDump.ts WBNB 0xBc7d6B50616989655AfD682fb42743507003056D dump
npm run src/pumpOrDump.ts 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c 0xBc7d6B50616989655AfD682fb42743507003056D pump

Getting a transaction receipt

A tool for getting a transaction receipt

npm run src/getTxReceipt.ts 0xf90efa044b4a5c5a0da0ba1c9dc3c7a5e53962818c6a7a0d496abcab759736fb

dex-bot's People

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.