Closed prayagd closed 2 months ago
I think we can just integrate the code from the Axelar research into the frontend part of the prototype, particularly this script.
The main difference is there would not be a direct reference to the user's secret but we would use a wallet integration, see https://github.com/pendulum-chain/vortex/issues/40.
The script should be the first part of the automated flow that happens directly after the anchor flow is completed.
There is one piece missing in this script and this is about swapping USDC to axlUSDC. We did this manually using some DEX (Uniswap) but I don't know whether this is the best option for the automated flow. Also the exchange rate was fluctuating wildly around 1:1, more than we would like. This really destroys the effect of Nabla to be slippage resistant.
@TorstenStueber @gianfra-t @ebma can we move this ticket to development as per my understanding we are already working on this? can we also add a rough estimate to this?
Sure. I'll assign you to this ticket @gianfra-t and give it an estimate of 13 as it's quite complex and there's already been a lot of work done. Looking at the tight time constraints it might be better if we skip adding a detailed description to this ticket but rather make sure that the respective pull requests has a meaningful description.
Okay! Given the times let's also try to go directly to mainnet testing like we did with Axelar itself. I will open a PR soon containing 6A (and 6B) into the new polygon
branch, even though the pendulum ephemeral hasn't been tested we may want to test all in one go.
Closing this as it was merged into the polygon prototype on staging.
Context
In order to bridge the USDC tokens from Polygon to Pendulum, Axelar bridge integration is needed.
Requirements