Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

dns - How to use RNS domains with non-fungible token standards? (such as ERC721)

I have registered a .rsk domain using RNS, and am wondering if I can transfer ownership of it to other accounts, like an NFT.

Is this possible with domains and subdomains? If so how?

question from:https://stackoverflow.com/questions/65622958/how-to-use-rns-domains-with-non-fungible-token-standards-such-as-erc721

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

All the domains that are created with the new FIFS Registrar, or migrated using migrate from auction are ERC721 compatible.

Note that this only applies to domains; subdomains are not tokenised, and not ERC721 compatible.

The following are the relevant lines of code within the RNS smart contracts:

FIFSRegistrar --> (inherit) FIFSRegistrarBase --> (property) NodeOwner --> (inherit) ERC721 --> (property) tokenId


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...