-
Notifications
You must be signed in to change notification settings - Fork 29
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
Ideal Restructure Of Adapter Contracts #54
Comments
Also alternative we are developing (deployed to Centauri and Osmosis now, soon Neutron) to use simple set of instructions , with implementations for different actions, either well know like Exchange or custom raw Calls. general semantic: example of adapter: here how CW message to swap looks like here some example runs: here why asset ids are numbers: here is routing configs: Now FE team of Composable integrates this, would be aw fesome if you find it useful too. In general it is inspired by https://github.com/paritytech/xcm-format but very keen on giving users powers, specifically cross chain authz like abilies, layer security, etc. All working is liquidity exisitng on chain. Making all routes verifiable. Now I do not do validation btw, but easy to add - and in general - do not route swap to bad pools cross chain :) UPDATE: if any interest I can do demo and codewalkthorugh. for assets encoding, actually we do global numbers, u128, where 32 bits are network ids prefixes. this gives fancy capabilities on top of hashes and denoms for true cross chain. 12321321321321cvm/200000000000042 - would be osmo on osmosi we have low code coverage btw so. UPDATE: or any feedback why it is impossible/hard to use is super awesome |
Background
Example Near-Term Future Support
In the near-term, Skip API contracts will be deployed across more networks and dexes, with a realistic example being:
This Issue
Serves as a design / tracking issue to work towards a refactor of the repo (incl. tests) that:
easy as possible = least amount of redundant dev/testing work to launch/maintain adapter contracts.
Current Status
The text was updated successfully, but these errors were encountered: