Giter Site home page Giter Site logo

Comments (9)

bumblefudge avatar bumblefudge commented on September 3, 2024 1

Very interested! Could I ask you to check out namespaces/template and caip104 and open a PR to fit the model of:
namespaces/solana/caip19.md
?
Ping me if you have any questions!

from caips.

qbig avatar qbig commented on September 3, 2024 1

ChainAgnostic/namespaces#25 @bumblefudge something like this? Or do I need to open a PR in /CAIPs repo?

from caips.

romeo4934 avatar romeo4934 commented on September 3, 2024 1

Yes token or mint could be fine!

from caips.

bumblefudge avatar bumblefudge commented on September 3, 2024

well-done, this is perfect!

from caips.

romeo4934 avatar romeo4934 commented on September 3, 2024

I think it should be the mint address only to specify the asset for fungible token

I would pick spl-token as it is the way Solana called tokens:

so
Solana USDC token example
solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ/spl-token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

from caips.

qbig avatar qbig commented on September 3, 2024

@antoineherzog agree that we could consider using "spl-token" as the namespace here. Just tht spl-token-mint might be more explicit.

But mint address can be used to identify the asset type for both fungible token and non-fungible token. Could you elaborate on why "only to specify fungible token" ?

from caips.

qbig avatar qbig commented on September 3, 2024

@antoineherzog @bumblefudge actually spl-token is better since it's also shorter. let's go with

solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ/spl-token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

from caips.

qbig avatar qbig commented on September 3, 2024

@antoineherzog how about just token because in CAIP-19 draft:

The method specific identifier is simply a [CAIP-19 Asset ID](https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-19.md) where all / characters are replaced by _, in order to comply with the DID spec.

solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ_spl-token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

using both '_' and '-' makes it kinda confusing

from caips.

qbig avatar qbig commented on September 3, 2024

ChainAgnostic/namespaces#25 is merged. So this is resolved.

from caips.

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.