Igosuki/binance-rs-async

Support Universal Transfer

nvxxu2i opened this issue · 5 comments

Hello @Igosuki ,

I love this library of yours, and I'm considering adopting the previous transfer implementations for the "Universal Transfer", so more transfer scenarios can be covered.
https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data

I have multiple questions in this regard:

  • Is this library actively maintained?
  • Would you like to support the universal transfer endpoint?
  • Can you assist me to reach a valuable contribution?

Thanks,
Ádám

Hi, the library is actively maintained. I just focus on a different project so there haven't been any updates by me for a while.
Apparently, this endpoint belongs to a new collection of endpoints regarding Wallet management, so you should create a new file called wallet.rs or a folder with /wallet/mod.rs /wallet/model.rs and include all the related endpoints and structs there, you can take inspiration from other files such as margin.

All these endpoints are private (indicated by USER_DATA in the doc) and there is a single method to authenticate here https://github.com/Igosuki/binance-rs-async/blob/master/src/client.rs#L220 which is already called by the various get/post/put/delete methods in client.rs

Well, I have created a proof of concept in this commit (nvxxu2i@0927405) and it seems to be working well, so stay tuned for the production-grade implementation.

You can push a draft PR if you need help.

Wallet API #33