Giter Club home page Giter Club logo

Comments (8)

JeremyParish69 avatar JeremyParish69 commented on May 27, 2024 1

I like the idea of generalizing the bridge transfer mechanisms. I think "transition" is maybe a bit vague, so potentially a new name for that. Let's try filling out what an Axelar bridged asset would look like in the transition struct format?

And here are Axelar assets with traces (and ethereum assets also have traces where applicable):
#558

from chain-registry.

pyramation avatar pyramation commented on May 27, 2024

this is very much in progress :) will track some tasks here

@JeremyParish69 I think everything is covered except where pstake is involved. I pinged you on slack to figure out how to calculate the ibc/denom for that one

from chain-registry.

pyramation avatar pyramation commented on May 27, 2024

new transition object:

https://github.com/cosmology-tech/chain-registry/blob/7b1714a8a4afe11fd7dc893d1e5790997731d2f8/packages/osmosis/src/asset_list.ts#L1998-L2010

so instead of ibc object, we are using transition to make a bit more general for when we need to describe wrapping in tokens, bridging, IBC sends, or other transitions

from chain-registry.

pyramation avatar pyramation commented on May 27, 2024

here is an example of cw20: https://github.com/cosmology-tech/chain-registry/blob/7b1714a8a4afe11fd7dc893d1e5790997731d2f8/packages/osmosis/src/asset_list.ts#L4685-L4701

from chain-registry.

sunnya97 avatar sunnya97 commented on May 27, 2024

I like the idea of generalizing the bridge transfer mechanisms. I think "transition" is maybe a bit vague, so potentially a new name for that. Let's try filling out what an Axelar bridged asset would look like in the transition struct format?

from chain-registry.

JeremyParish69 avatar JeremyParish69 commented on May 27, 2024

I like the idea of generalizing the bridge transfer mechanisms. I think "transition" is maybe a bit vague, so potentially a new name for that. Let's try filling out what an Axelar bridged asset would look like in the transition struct format?

How about instead of "transition", we could try "trace"? Inspired by what IRIS Foundation came up with here: https://github.com/irisnet/iob-registry/blob/main/coins/cosmos.json

from chain-registry.

pyramation avatar pyramation commented on May 27, 2024

trace or traces could work well

open to ideas — I just want to make sure we avoid names like origin or source that could potentially flip the meaning or confuse users about how to interpret the path. traces doesn't seem to do that so I'm fine with it 👍🏻

from chain-registry.

pyramation avatar pyramation commented on May 27, 2024

awesome — I've updated the npm module https://github.com/cosmology-tech/chain-registry/blob/main/packages/osmosis/src/asset_list.ts#L32-L43 so we can see how it looks/feels

from chain-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.