Git Product home page Git Product logo

fastbuycrypto's Introduction

WEB-3 / FastBuyCrypto

CRONOS


Introduction :

Ceci est un "bot" d'achat de crypto sur un DEx.

Techniquement ce n'est pas vraiment un bot, c'est juste un programme qui va diminuer la perte de temps que l'on peut avoir avec MetaMask par exemple. (animation, confirmation, etc).

Le code de base vient d'ici : https://github.com/CryptoRobotFr/WEB-3.git

Comme il était en open source je me suis permis de l'adapter sur la Blockchain Cronos.


Initiation :

  • Au préalable avoir Node.js d'installé sur votre machine.

  • Installer Ethers et prompt-sync avec la commande npm install

  • Changer les champs private_key & public_key avec ses informations.

  • Lancer snipe-achat-CRO.js et inscrire l'adresse du contrat du token souhaité.

Par défaut le programme va faire un échange de 1 WCRO (= 1 CRO). Il va aussi utiliser un gwei de 5000.

Pour choisir le nombre de WCRO à swap, il faut changer la variable : amountToSwap.

Pour modifier le gwei il faut changer la donnée de la variable : gwei


Authors :

  • CryptoRobotFr
  • 0xdlo

Ideas :

  • Choisir le nombre de WCRO à swap directement dans le terminal + gwei aussi.
  • Interface graphique ?
  • Vérifier le contrat avant tout swap.
  • Vérifier la liquidité avant tout swap.
  • Vérifier la supply avant tout swap.

/!\

Ne pas oublier d'avoir toujours un minimum de CRO sur le wallet pour éviter tout problème d'insuffisance de liquidité.


Le swap fonctionne 1 fois sur 3 donc je suis en train de chercher une solution. Cela doit venir de la fonction appelée par l'interface du contrat. Elle est sûrment différente sur la blockchain CRONOS

WIP

fastbuycrypto's People

Stargazers

Roman avatar Adriano Meledina avatar dlo avatar Alexandre TL avatar

Watchers

dlo avatar Adriano Meledina avatar

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.