-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5] Deposit/Withdraw Modal - Add GDEX Support #1276
Comments
I'll take this |
Extended this issue to include Deposit as well. GDEX will require some work since their API isn't sending the data back as the others are. Their JSON structure will have to be compiled to something that we commonly use for the other backers. |
Let's reach out to GDEX and see if they will provide / adopt this conforming API call.
|
Waiting for GDEX response. |
I'll help contact GDEX. |
As a follow-up on what GDEX is doing today. Today GDEX handles returned data from their APIs with the following code, that transforms it into an array like the following. This does not comply with how we handle gateway assets otherwise.
|
We will look into it. I notice there are 3 APIs: coins, trading-paires, active-wallet. Are they all necessery? |
I think all we are missing is intermediateAccount. It's possible this could be hardcoded to whatever value crypto-bridge uses, or maybe @mindphlux1 would either update the api or confirm the proper intermediateAccount to uses. |
intermediateAccount is crypto in anthor API. |
There are a few different ways we do the connections for backed coins. Let me compile a list for you what we need for each. |
I've looked through the function of GDEX today, and it's quite different approach from what the other gateways uses. Both in fetching assets and linking the backing wallet and asset. It's not impossible to make this work together with the new modal, together with the other gateways.
I'm compiling a document explaining the current system that the gateways uses, which I will submit in a few days when I've gotten everything correct. I recommend we look over a possible merge after this. |
Maybe we just close this and don't include GDEX on the reference wallet since they aren't expressing interest in being part of the discsussion. |
Sorry for late response, since the APIs do not work with other gateways, we will make a new set of APIs. Implement the 3 APIs coins, trading-paires, active-wallet is all we need? @startailcoon @wmbutler |
If gdex want to catch up the milestone 21, could you give some help, thanks! |
I'm working on a document for what is required, why and how. Give me a few days. Including in next milestone would probably be possible if it turns out good. |
Thanks you, I will wait for your good news. |
Moving this to the next milestone as it's quite a challenge to make sure this works. |
@tianyekuo I have updated a draft documentation for how the Gateway Integration works in the Bitshares UI Reference wallet. You can review this on https://github.com/bitshares/bitshares-ui/wiki/Gateway-Integration-Requirements |
We pushed the release to 4/18. Any chance you can get this in prior to release? @tianyekuo |
I think it's to little time and I have yet no response from @tianyekuo as well as a very busy schedule at the moment. I'm also still waiting for approval of my current changes and last minute fixes for it, if needed, which is my priority this milestone. I do not want to rush this, nor take a task I can't complete. I'm happy to do the task though. |
Our APIs will adjust as the document required, we try to finish it early next week. The next milestone(5/1) is better. Would that be OK with you guys. |
Great news 👍 |
Issue UpdateAfter extensive communication with Brian Zhang from the GDEX Exchange, we are now very close to add their new API calls to the Deposit/Withdraw Modals. A few changes to the overall structure will be done to accommodate a few case specific things for GDEX. We are still on the track to have this completed for the set time. |
@startailcoon great work. Really appreciate you going the extra mile on this. |
@startailcoon , thanks for your great work, the document makes the integration better. |
Forked update for BitShares UI with GDEX Gateway support is now available at https://github.com/bitshares/bitshares-ui/tree/1276_GDEXGateway The following is not included in this as discussed
The old Withdraw/Deposit page will still have all the old bells and whistles and have not changed. This should be checked and signed of by the GDEX team before merging. |
That's great, please help to release it, thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: