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

Support NFT asset for CCTX and have a standard like ZRC20 #2742

Open
lumtis opened this issue Aug 19, 2024 · 0 comments
Open

Support NFT asset for CCTX and have a standard like ZRC20 #2742

lumtis opened this issue Aug 19, 2024 · 0 comments
Labels
feature:idea An early idea for a feature. Used as reference to follow new feature integrations feature:smart-contracts Related to extending smart contracts capability and interactions with ZEVM

Comments

@lumtis
Copy link
Member

lumtis commented Aug 19, 2024

Is your feature request related to a problem? Please describe.

Extending ability to interact with ZetaChain with new class of asset like NFTs

Describe the solution you'd like

The most basic standard for NFT is ERC721.

We could represent the standard ZRC721.

In connected chain

A NFTCustody/ERC721Custody contract is created as an asset handler to lock asset deposited on ZetaChain. Should have lot of similarities with ERC20.

When doing arbitrary smart contract calls, the asset would be handled like ERC20: using the approval system to allow the target contract to use the asset.

On Protocol

Changes in fungible module necessary to represent the asset.
New workflow path in crosschain to determine how asset is handled.

Follow-up

The functionality can be extended similar to ERC20 with the ability to withdraw on any chains:

#2740
#2741

@lumtis lumtis added feature:idea An early idea for a feature. Used as reference to follow new feature integrations feature:smart-contracts Related to extending smart contracts capability and interactions with ZEVM labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:idea An early idea for a feature. Used as reference to follow new feature integrations feature:smart-contracts Related to extending smart contracts capability and interactions with ZEVM
Projects
None yet
Development

No branches or pull requests

1 participant