duality-labs / duality-web-app

2 stars 2 forks source link

Integrate Axelar IBC transfers with Ethereum chains #417

Open dib542 opened 1 year ago

dib542 commented 1 year ago

To be able to Bridge with Etheruem chains, we can use the Axelar service which will allow transferring from Etheruem wallets (with a fee payable by the sending wallet).

Axelar has many fee query endpoints, which appears to query the /ibc/apps/router/v1/params endpoint of a cosmos chain, but also adds a min_fee and max_fee property (I assume because they add fees)

https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/transfer_fee/cosmoshub/osmosis/1000uusdc
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/transfer_fee/cosmoshub/ethereum/1000uatom
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/transfer_fee/ethereum/cosmoshub/1000busd-wei
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/fee_info/cosmoshub/uatom
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/chains_by_asset/uatom
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/chains
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/assets/cosmoshub
https://lcd-axelar.imperator.co/axelar/nexus/v1beta1/chain_maintainers/cosmoshub
dib542 commented 1 year ago

To do this we will have to be in production and have some registered connections to Axelar