zackxiaoming / king

0 stars 0 forks source link

Buy with PancakeSwap #2

Open zackxiaoming opened 2 years ago

zackxiaoming commented 2 years ago

This my current file: https://github.com/zackxiaoming/king/blob/main/argv.js

It was derive from a .ts file and i change some of the parameter, shoot out error and not working, if i compile using ts it will work fine, maybe something not right.

In simple i need a nodejs file that can

  1. Input private key
  2. Input Pancakeswap Address (eg 0xced4f946febcac72d6727c07de5b2664b2267a6f) which is token of HOGE
  3. Work for 9 decimal place / 18 decimal place but i am fine if i need to manual change it
  4. Input buy amount in BNB (eg 0.02 or 0.5 or more etc)
  5. console.log(txnHash) or print out error message (not just error word) but the details if anything happen ,eg wrong slippage, insufficient bnb or token does not exist etc.

Thanks

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.04 ETH (117.99 USD @ $2949.8/ETH) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 264 years, 8 months from now. Please review their action plans below:

1) eunoia1729 has applied to start work _(Funders only: approve worker | reject worker)_.

I can work on this ! I already worked on your previous bounty too. 2) soptq has been approved to start work.

Hello, I read the description and I think I can do it.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.04 ETH (117.24 USD @ $2930.97/ETH) has been submitted by:

  1. @soptq

@zackxiaoming please take a look at the submitted work: