Git Product home page Git Product logo

FriendTech Trading Bot

A trading bot for friend.tech written in JS with NodeJS and Ethers.js

Full details at: https://jamesbachini.com/friendtech-trading-bot/

Video at: https://youtu.be/SLh8SN5DRc4

If you are interested in DeFi and blockchain development consider subscribing to "The Blockchain Sector" newsletter https://bachini.substack.com

friendsTechBot.js - main trading bot for frontrunning newly created accounts

sellOut.js - the bot above only purchases shares, when you are ready to sell your positions provide a list of user addresses and it will sell all shares.

agroTechBot.js - adversarial trading bot to try and prevent frontrunning competition.

checkWallet.js - give it a list of transaction hashes and it will decode the data to get the user addresses of shares you've purchased (not needed anymore as it's logged to buys.txt)

collectDust.js - Go through a list of private keys and accumulate any left over funds into a single wallet

transfer.js - Just to do a single transfer of eth from one account to another

npm install
// edit .env-sample to .env and add private key from app
node friendsTechBot.js
node sellOut.js

The code and content I create is to document my web3 journey and for entertainment purposes. It is not under any circumstances investment advice. I am not an investment or trading professional and am learning myself while still making plenty of mistakes along the way. Any code published is experimental and not production ready to be used for financial transactions. DYOR and do not play with funds you do not want to lose.

Friend Tech Bots's Projects

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.