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

feat: add GRC-721 support #614

Merged
merged 16 commits into from
Nov 6, 2024
Merged

feat: add GRC-721 support #614

merged 16 commits into from
Nov 6, 2024

Conversation

jinoosss
Copy link
Member

@jinoosss jinoosss commented Nov 3, 2024

What type of PR is this?

  • feature

What this PR does:

Overview

This PR introduces the capability to manage NFTs adhering to the GRC721 standard within the Adena Wallet. Users can now view and manage various NFT collections, transfer NFTs, and review transaction histories seamlessly.

Supported Implementation

Adena supports GRC721 tokens through the following mechanisms:

  1. IGRC721 Specification Verification

  2. IGRC721Metadata Support

  3. IGRC721MetadataOnchain Support

New Features

  • NFT Collections Management

    • View NFT Collections: Retrieve a list of NFT collections.
    • Manage Collections: Pin (mark as favorite) or hide specific collections.
  • View and Inspect Owned NFTs

    • List Owned NFTs by Collection: Display NFTs owned by the user's account within each collection.
    • Detailed NFT Information: Access detailed information for each NFT, including images and metadata, based on TransferFrom events indexed by the system.
  • NFT Transfer

    • Send NFTs: Transfer NFTs to other accounts directly from the wallet.
  • Transaction History

    • View Transfer History: Check the history of NFT transfers within the History section.

Implementation Details

  • Specification Verification

    • Added logic to automatically verify that deployed Realm packages conform to the IGRC721, IGRC721Metadata, and IGRC721MetadataOnchain specifications.
  • Image and Metadata Provision

    • Implemented functionality to parse and provide metadata stored on-chain, ensuring users have access to comprehensive NFT details.
  • Indexer Integration

    • Integrated with the indexer to monitor TransferFrom events, enabling real-time retrieval of NFTs owned by the user.

Reference Links

Usage

[Collections]
image

[NFT items in the collection]
image

[NFT Transfer]
image

@jinoosss jinoosss requested a review from a team as a code owner November 3, 2024 13:51
@jinoosss jinoosss changed the title Adn 325 add grc 721 support feat: add GRC-721 support Nov 3, 2024
@jinoosss jinoosss added the enhancement New feature or request label Nov 3, 2024
dongwon8247
dongwon8247 previously approved these changes Nov 6, 2024
@jinoosss jinoosss merged commit 8a9119c into main Nov 6, 2024
2 checks passed
@jinoosss jinoosss deleted the ADN-325-add-grc-721-support branch November 6, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants