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

DEPRECATING this repo — use osmojs, @osmonauts/math and chain-registry instead #34

Open
pyramation opened this issue May 23, 2023 · 0 comments

Comments

@pyramation
Copy link
Contributor

Hi! Cosmology/core is becoming deprecated soon, as the asset list is "baked in" and the code is legacy.

An ideal workflow is to use osmojs and @osmonauts/math, which we have examples as shown here and in a video/tweet here

then you can use the chain-registry for loading assets, and you can use @chain-registry/osmosis for pre-baked assets, or @chain-registry/utils to build an asset list dynamically:

import { ibc, assets } from 'chain-registry';
import { getAssetLists } from '@chain-registry/utils';

const list = getAssetLists('osmosis', ibc, assets);
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