Skip to content
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

BUSD is not working #39

Closed
ibrahim01832891988 opened this issue Apr 16, 2022 · 12 comments · Fixed by #40
Closed

BUSD is not working #39

ibrahim01832891988 opened this issue Apr 16, 2022 · 12 comments · Fixed by #40

Comments

@ibrahim01832891988
Copy link

BUSD bridging between BSC and Polygon is working but this estimateBridgeOutput is not working for this.It's returning that busd is not supported to polygon.

@ibrahim01832891988
Copy link
Author

ibrahim01832891988 commented Apr 16, 2022

BUSD bridging between BSC and Polygon is working on live but this estimateBridgeOutput is not working for this.It's returning that busd is not supported to polygon.

{
"error": "Error: Token BUSD not supported on 'to' network Polygon"
}

@ibrahim01832891988
Copy link
Author

@metagabbar @BlazeWasHere @aureliusbtc @caesar0x please help.i am stuck here.

@BlazeWasHere
Copy link
Collaborator

BlazeWasHere commented Apr 16, 2022

@metagabbar @BlazeWasHere @aureliusbtc @caesar0x please help.i am stuck here.

It is helpful to send a minimal reproducible code for your issue, however that error message is correct - you cannot receive BUSD on Polygon. Perhaps you meant DAI instead of BUSD, either way you can verify this on the UI.

@ibrahim01832891988
Copy link
Author

ibrahim01832891988 commented Apr 17, 2022

@metagabbar @BlazeWasHere @aureliusbtc @caesar0x please help.i am stuck here.

It is helpful to send a minimal reproducible code for your issue, however that error message is correct - you cannot receive BUSD on Polygon. Perhaps you meant DAI instead of BUSD, either way you can verify this on the UI.

Thanks for reply. I dont want to receive BUSD.I want to receive DAI on polygon by BUSD on BSC.But when i try to fetch estimatedOutput DAI amount user will get i'm receiving this error.

I'm calling api like this.
https://syn-api-x.herokuapp.com/v1/estimate_bridge_output?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=1000000000000000000

How could i know how much DAI i will receive on polygon in exchange of BUSD on BSC.It's supporting on UI.But not this apis.
Please help.
@metagabbar @BlazeWasHere @aureliusbtc @caesar0x @trajan0x

@bholagabbar
Copy link
Contributor

@metagabbar @BlazeWasHere @aureliusbtc @caesar0x please help.i am stuck here.

It is helpful to send a minimal reproducible code for your issue, however that error message is correct - you cannot receive BUSD on Polygon. Perhaps you meant DAI instead of BUSD, either way you can verify this on the UI.

Thanks for reply. I dont want to receive BUSD.I want to receive DAI on polygon by BUSD on BSC.But when i try to fetch estimatedOutput DAI amount user will get i'm receiving this error.

I'm calling api like this.
https://syn-api-x.herokuapp.com/v1/estimate_bridge_output?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=1000000000000000000

How could i know how much DAI i will receive on polygon in exchange of BUSD on BSC.It's supporting on UI.But not this apis.
Please help.
@metagabbar @BlazeWasHere @aureliusbtc @caesar0x @trajan0x

Could you share a screenshot of the UI processing this ? BUSD isn't supported on Polygon

@ibrahim01832891988
Copy link
Author

I already tested it.i'm sharing the tx link.
https://bscscan.com/tx/0x23cc7468fbc7dd992c4b0cee844b761a7e00b40c8ae26b778ab83bc2307e5c01

And also please check the api call i provided.

@bholagabbar bholagabbar linked a pull request Apr 17, 2022 that will close this issue
@bholagabbar
Copy link
Contributor

@ibrahim01832891988 Thanks for bringing this to our notice. Issue should be resolved in dev, and once the above PR is merged, it should reflect in prod

@ibrahim01832891988
Copy link
Author

Thanks.May i know the approximate time?
And also i tried bridging transaction api by setting values statically for busd BSC and DAI polygon.this api call is also failed to generate tx data.

@bholagabbar
Copy link
Contributor

bholagabbar commented Apr 17, 2022

Thanks.May i know the approximate time? And also i tried bridging transaction api by setting values statically for busd BSC and DAI polygon.this api call is also failed to generate tx data.

Not sure what API endpoint you're referring to. Can you try on https://syn-api-dev.herokuapp.com/ and let me know if you're running into the same issue ? This is our dev API endpoint where the issue has been fixed

https://syn-api-dev.herokuapp.com/v1/estimate_bridge_output?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=1000000000000000000 works for me

@ibrahim01832891988
Copy link
Author

ibrahim01832891988 commented Apr 17, 2022

Thanks.May i know the approximate time? And also i tried bridging transaction api by setting values statically for busd BSC and DAI polygon.this api call is also failed to generate tx data.

Not sure what API endpoint you're referring to. Can you try on https://syn-api-dev.herokuapp.com/ and let me know if you're running into the same issue ? This is our dev API endpoint where the issue has been fixed

https://syn-api-dev.herokuapp.com/v1/estimate_bridge_output?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=1000000000000000000 works for me

I'm talking about this api
/generate_unsigned_bridge_txn?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=10&address=0xb1a7863f407e992a5153a54b5d572e00b9b19104

@bholagabbar
Copy link
Contributor

Thanks.May i know the approximate time? And also i tried bridging transaction api by setting values statically for busd BSC and DAI polygon.this api call is also failed to generate tx data.

Not sure what API endpoint you're referring to. Can you try on https://syn-api-dev.herokuapp.com/ and let me know if you're running into the same issue ? This is our dev API endpoint where the issue has been fixed
https://syn-api-dev.herokuapp.com/v1/estimate_bridge_output?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=1000000000000000000 works for me

I'm talking about this api /generate_unsigned_bridge_txn?fromChain=56&toChain=137&fromToken=BUSD&toToken=DAI&amountFrom=10&address=0xb1a7863f407e992a5153a54b5d572e00b9b19104

I've investigated the API call you sent me. That seems to be a bug with the SDK for this particular swap. I've created an issue on the SDK repository: synapsecns/sdk#106 , feel free to track that.

Development is rapid, we try to test the most we can via tests, coverage etc but sometimes things like this slip by. Thanks for letting us know, we appreciate it!

@ibrahim01832891988
Copy link
Author

ibrahim01832891988 commented Apr 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants