nic3rafs / OKEX-multisender

6 stars 3 forks source link

ETH-ETH not working #3

Closed aresstokrat closed 9 months ago

aresstokrat commented 1 year ago

Hello!

✔ What coin do you want to send, and what chain. E.g: BNB-BSC … ETH-ETH ✔ What the min and max amount to send? … 0.024-0.025 ✔ What network fee is now on OKEX for your withdrawing your coin? … 0.002 ✔ What the min and max time to sleep … 5000-9000

coin: ETH chain: ETH minAmount: 0.024 maxAmount: 0.025 networkFee: 0.002 minTimeSleep: 5000 maxTimeSleep: 9000 digitsAfterPeriod: 4

✔ Do you want to continue? … yes

Starting... File addresses.txt is read successfully.

Error: { code: '51000', data: [], msg: 'Parameter chainName error' } [Error] with (0x21383a44b48xxxxxxxxxxxxxe ) - TypeError: Cannot read property 'code' of undefined

address whitelisted - 100% ETH-ERC20 in network also not working

aresstokrat commented 1 year ago

coin: ETH chain: ERC20 minAmount: 0.024 maxAmount: 0.025 networkFee: 0.002 minTimeSleep: 5000 maxTimeSleep: 9000 digitsAfterPeriod: 4

✔ Do you want to continue? … yes

Starting... File addresses.txt is read successfully.

[Error] with (0xx383a44bxxxxxxxxxxxxxxxxx5701x5e ) - TypeError: Cannot read property 'code' of undefined [ 15:06:25 ] - Sleeping for 5454 ms [Error] with (0x6c9038681bxxxxxxxxxxEfF53x ) - TypeError: Cannot read property 'code' of undefined [ 15:06:31 ] - Sleeping for 6328 ms

nic3rafs commented 1 year ago

Thx, I'm gonna check what's wrong. By the way, is Arbitrum withdrawing work?

aresstokrat commented 1 year ago

yes, Arbitrum one working good ! thank you

nic3rafs commented 1 year ago

Hello, I have fixed the error and also made significant enhancements to the script. With the new update, you do no need to manually enter a withdrawal fee as it will be automatically fetched using the Okex API.

Furthermore, I've added the feature for you to record your configurations in the multisendConfig.json file. This allows you to avoid the repetitive process of writing configurations each time you run the program. To utilize this, simply execute the program with the npm run start:config command.

Please ensure to update your local codebase with these new changes. Feel free to reach out if you encounter any further issues or if there's anything else you need assistance with.

Let me know if the problem exists.

nic3rafs commented 1 year ago

123123

aresstokrat commented 1 year ago

Wow !!! Super cool! Thanx! Configuration is very nice feature!!!! Wouldn't it be very impudent to ask you about the possibility of such a function as automation of WhiteListed addresses to the OKX ? Now i''m using script from https://thorlab.io to the Chrome console. But this is so crappy way to live with. )))

aresstokrat commented 1 year ago

impossible? :)

nic3rafs commented 1 year ago

This is possible and even not hard to do, but I don't have much time now. If I'll do something like that I'll let you know.