Change Private NFT Owner
Arcana Network SDKs support Private NFT creation by dApp users.
Once private NFTs are created, only the owner has full control over these assets. No one else can access private NFTs. Owners can view them or transfer the ownership to another user.
After a successful transfer, the original owner has no access to the asset. Only the recipient has full control over the private NFT.
In this tutorial, you will learn how you can transfer or change Arcana's NFT ownership from the original owner to another user.
- Before you can transfer the ownership of a private NFT residing in the Arcana Store, you need to ensure that there is at least one private NFT asset created already and owned by you using a wallet of your choice:
- Any other wallet that supports Ethereum Provider API standard.
There are multiple ways in which you can create a private NFT. You can use Arcana NFT minter demo application. Or you can programmatically build a private NFT creation feature in your dApp. Refer to this guide for details on how you can integrate your dApp with Arcana SDKs and enable dApp users to create private NFT assets.
You need to log into one of the supported wallets using the same account that owns the private NFT.
Step 1: List your Private NFT in the Marketplace
Use one of the public marketplaces to view your private NFT. Use the same wallet account that was used to mint this NFT. Make sure that the listing displays the correct preview image, and shows you as the owner of the private NFT.
Step 2: Obtain the recipient's address
To transfer a private NFT owned by you, you need to initiate the transfer to the correct address of the recipient user. Make sure you have the right address.
Step 3: Choose Transfer Operation in the Marketplace
Click on the 'Transfer' button next to the private NFT owned by you.
A popup screen will show up asking you to enter the recipient's address. Specify the correct address.
You will see wallet screen pop-ups for signing the transaction. Make sure you confirm the transfer operation.
Step 4: Wait for the blockchain transfer to complete
Depending upon your wallet and blockchain network of choice, it may take some time before the private NFT transfer is completed. Once completed, you will see in the public marketplace that the asset is no longer owned by you / your wallet address but by the new recipient address that you specified in the transfer.
You can only see the preview image of this private NFT. If you try to use Arcana NFT viewer and click on the NFT listing, this NFT will no longer show as owned by you.
The private NFT transfer is complete. Optionally, you can validate that the recipient can access the private NFT.
Step 5: Validate recipient access (Optional)
Use the Arcana NFT viewer demo application. Make sure your wallet is set to the recipient account and Arcana Network is configured in the wallet if using third-party wallets. When you log into Arcana NFT viewer, you can click on the NFT listing to see all private NFTs owned by your wallet account. It will show the one recently transferred to this wallet account. You can download the private NFT. If you disconnect your wallet and log in again using your first wallet account (initial owner), you will not see the private NFT that was transferred when you click on the
NFT listing link.
That is all! 🎉
You do not need to write any code in the dApp to enable users to transfer private NFT ownership. It is a simple and zero-code effort. Simply using any of the public marketplaces to transfer the preview image NFT and Arcana Network blockchain protocol will do the needful to transfer ownership of the actual asset in the Arcana Store.
Besides the private NFT feature, the Arcana SDKs make it super easy for dApps to enable user onboarding, data privacy and access control.
With Arcana, dApps can simply integrate with the Auth SDK and onboard users via passwordless login or any supported social authentication providers: