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

Can cosmjs be used to send ics20 tokens for IBC swaps to Osmosis ? #1567

Open
phy-chain opened this issue Mar 5, 2024 · 0 comments
Open

Comments

@phy-chain
Copy link

I have seen announcement a few months ago that it was possible, by using "IBC hooks" from osmosis, to send some tokens from one chain, swap them automatically and get the result back : https://github.com/cosmos/ibc-apps/tree/main/modules/ibc-hooks

Is it possible to do that through cosmjs or would I be force to code some Rust / Go to implement this solution ?
From what I get reading the link above, it's mainly a problematic of setting the proper message/memo structure, so it is detected by osmosis hooks.

Does that ring a bell ? Would that be possible to do with cosmjs ?
Thanks !

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

No branches or pull requests

1 participant