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

SDK: Add support for building & deserializing IBC NFT Transfers #1200

Open
jurevans opened this issue Oct 23, 2024 · 0 comments
Open

SDK: Add support for building & deserializing IBC NFT Transfers #1200

jurevans opened this issue Oct 23, 2024 · 0 comments

Comments

@jurevans
Copy link
Collaborator

jurevans commented Oct 23, 2024

The @heliaxdev/namada-sdk SDK should provide support for building IBC NFT transfers

NOTES

NFT Packet Data for IBC:

pub struct PacketData {
    #[cfg_attr(feature = "serde", serde(with = "serializers"))]
    #[cfg_attr(feature = "schema", schemars(with = "String"))]
    pub class_id: PrefixedClassId,
    pub class_uri: Option<ClassUri>,
    pub class_data: Option<ClassData>,
    pub token_ids: TokenIds,
    // Need `Option` to decode `null` value
    pub token_uris: Option<Vec<TokenUri>>,
    // Need `Option` to decode `null` value
    pub token_data: Option<Vec<TokenData>>,
    pub sender: Signer,
    pub receiver: Signer,
    pub memo: Option<Memo>,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant