Logo

dev-resources.site

for different kinds of informations.

Incognfto: A Private NFT Gallery

Published at
8/10/2023
Categories
privacy
ipfs
security
nft
Author
spheronstaff
Categories
4 categories in total
privacy
open
ipfs
open
security
open
nft
open
Author
12 person written this
spheronstaff
open
Incognfto: A Private NFT Gallery

In the fast-evolving NFT landscape, data security, intellectual property protection, and privacy concerns are crucial. We built Incognfto to address these challenges by offering a solution that allows NFT owners to mint and enjoy their assets securely. Leveraging Spheron Network and Lit Protocol , Incognfto ensures exclusive access to NFTs for rightful owners while maintaining ownership control and privacy.

Our vision is to prioritize security, privatization, and an enriched NFT experience for owners, artists, collectors, and enthusiasts. By harnessing the Lit Protocol's advanced encryption and programmable signing, Incognfto empowers users to manage sovereign identities and maintain client-side data encryption without relying on centralized key custodians. This innovative approach sets a new standard for NFT ownership, enhancing security and privacy in the dynamic world of NFTs.

What is Lit Protocol?

Lit Protocol is a distributed key management network that offers encryption and programmable signing services based on threshold cryptography. It enables various use cases, including DeFi, infrastructure, sovereign data, Web3 social, gaming, and token gating for Web2 apps, providing developers with a versatile toolkit for enhancing security, privacy, and access control in the blockchain and decentralized space.

NFT Gallery vs Incognfto Private Gallery

To illustrate how Incognfto stands out as a superior option compared to other NFT galleries, we have prepared a helpful comparison chart for your better understanding.

Image description

How does it work?

Incognfto follows a straightforward workflow to ensure privacy and secure access to NFTs. Here's a high-level overview:

1. Encryption: Safeguarding NFT Content

At the core of Incognfto's privacy measures is a robust encryption process that employs the Lit Protocol to ensure confidentiality and protection of NFT content from unauthorized access. The encryptFile function plays a vital role in this process, utilizing the encryptUpload function from the Spheron Browser SDK to encrypt NFT files before uploading them to IPFS. The process involves the following steps:

  • First, the function checks if the Lit Node client is connected; if not, it establishes the connection.

  • Second, it obtains an authentication signature (authSig) through LitJsSdk's checkAndSignAuthMessage method, ensuring user authentication and access validation during encryption.

  • Third, the createAccessControlCondition function defines access control conditions, determining authorized users for decryption and data access.

  • Fourth, the encryptUpload function has parameters like authSig, access control conditions, blockchain network, NFT file, Lit Node client instance, and additional configuration.

  • Finally, the encryptFile function returns the encryption result, which may include the encrypted file's location or identifier.

async encryptFile(id: string, file: any, configuration: any) {
   if (!this.litNodeClient) await this.connect();
   const authSig = await LitJsSdk.checkAndSignAuthMessage({ chain });
   const uploadRes = encryptUpload({
     authSig,
     accessControlConditions: createAccessControlCondition(id),
     chain,
     file,
     litNodeClient: this.litNodeClient,
     configuration,
   });
   return uploadRes;
 }

Enter fullscreen mode Exit fullscreen mode

2. Minting and Ownership: Creating Unique NFT Tokens

Once an NFT is encrypted on Incognfto, the platform mints it on the blockchain, creating a unique ownership token linked to the owner's wallet address. This token grants exclusive decryption and viewing privileges to the NFT's content, ensuring controlled access. To achieve this, Incognfto harnesses the robust access controls offered by the Lit Protocol. The createAccessControlCondition function takes an id parameter, representing the NFT's unique identifier, and constructs an access control condition using the Lit Protocol's schema. By implementing and leveraging access control conditions as shown in the provided code snippet, Incognfto ensures that only the rightful NFT owner can access and decrypt the locked data, enhancing security and privacy within the gallery while empowering NFT owners with full control over their digital assets.

const client = new LitJsSdk.LitNodeClient({});
const chain = "mumbai";

const createAccessControlCondition = (id: string) => {
 return [
   {
     contractAddress: process.env.REACT_APP_CONTRACT_ADDRESS,
     standardContractType: "ERC721",
     chain,
     method: "ownerOf",
     parameters: [id],
     returnValueTest: {
       comparator: "=",
       value: ":userAddress",
     },
   },
 ];
};

Enter fullscreen mode Exit fullscreen mode

3. Unlocking NFTs

Unlocking an NFT is a seamless experience for authorized users on Incognfto, as the platform verifies their access rights before decryption. The Lit Protocol's access control conditions are pivotal in determining who can access and decrypt the locked NFT data. The decryption process is handled by the decryptFile function, which ensures a secure connection with the Lit Node client and authenticates users with an authentication signature (authSig) from LIT Protocol's checkAndSignAuthMessage method. Using the authSig and IPFS CID, the decryptUpload function decrypts the NFT file, presenting the unlocked content to authorized users through the decryptFile function. This enables users to fully enjoy their NFTs within the private gallery, with complete ownership and control.

async decryptFile(ipfsCid: string) {
   if (!this.litNodeClient) await this.connect();
   const authSig = await LitJsSdk.checkAndSignAuthMessage({ chain });
   const decryptedFile = await decryptUpload({
     authSig,
     ipfsCid,
     litNodeClient: this.litNodeClient,
   });
   return decryptedFile;
 }

Enter fullscreen mode Exit fullscreen mode

Benefits of Incognfto

Enhanced Investment Security: Investors holding valuable NFTs can rest assured knowing their assets are shielded from public scrutiny. Incognfto private gallery minimizes the risk of targeted attacks or unwanted attention that could potentially impact the value of the user holdings.

Protecting Sensitive Information: Some NFTs may contain sensitive information, such as personal data, legal documents, or confidential contracts. Incognfto private NFT gallery ensures that these private details remain hidden from the public eye, preventing potential misuse or unauthorized access.

Securing Exclusive Collectibles: Some NFTs are created as limited editions or exclusive collectibles. Incognfto private gallery ensures that these premium assets are viewable only by their rightful owners or a select group, preserving their rarity and exclusivity.

Seamless Experience: The user-friendly interface of Incognfto streamlines the process of uploading, minting, and unlocking NFTs within the private gallery.

Conclusion

In conclusion, Incognfto offers a distinctive and secure solution, providing NFT owners with an unparalleled private gallery experience. With a strong focus on security, privacy, and ownership control, artists and collectors can trust that their NFTs remain exclusively accessible to them, thanks to Lit Protocol's access control mechanisms. Incognfto stands at the forefront of safeguarding valuable NFT assets, revolutionizing the NFT space with its user-friendly interface, open-source foundation, and dedication to privacy.

For any further questions or to explore more about Incognfto's functionalities, please don't hesitate to ask. We are enthusiastic about assisting and providing a deeper understanding of how Incognfto, backed by the powerful Lit Protocol, empowers NFT owners and enthusiasts on their journey through the dynamic and exciting world of NFTs. If you are eager to learn more, you can find additional information here.

Resources

Incognfto Readme

Spheron Browser SDK Documentation

Spheron Storage SDK Documentation

LIT Protocol Documentation

ipfs Article's
30 articles in total
Favicon
How to work with CAR files with NestJS
Favicon
🎃🚀 Storacha Halloween Hackathon 2024: Time to Store Some Skeletons and Build Spooky Tech! 💻👻
Favicon
Ditch the Server, Own Your Words: Building a Decentralized Blog with IPFS
Favicon
Decentralized blog via ipfs
Favicon
How to Run Your Own IPFS Node and Share Files
Favicon
Hosting Websites on IPFS
Favicon
How to Deploy a Next JS App on IPFS (InterPlanetary File System) and automate using Fleek
Favicon
IPFS (InterPlanetary File System) Explained
Favicon
uploading file into pinata
Favicon
DRepo: A Decentralized Version Control System- Day 3
Favicon
Deploy Your HTML Website on IPFS with GitHub and Fleek
Favicon
O que é IPFS?
Favicon
Bakeree IPFS stands at the forefront of IPFS NFT Storage innovation.
Favicon
Simplifying IPFS with Spheron Network Effortless Web Hosting
Favicon
Top Tips for Successfully Hosting Your Static Site on IPFS
Favicon
Simplifying Comprehensive IPNS Management With Spheron Network
Favicon
Exploring Storage Options in Web3: Cloud, IPFS and On-Chain
Favicon
Navigating the IPFS Landscape: An Insider's Perspective
Favicon
Building a Decentralized Web Application with IPFS: A Step-by-Step Guide
Favicon
Step-by-Step Guide How to Store your data on IPFS with Spheron Browser SDK
Favicon
How to Use IPFS with Ethereum
Favicon
IPFS Bootcamp
Favicon
Incognfto: A Private NFT Gallery
Favicon
Innovating Web3 Infrastructure: Spheron X DripVerse Partnership
Favicon
How dAppling uses Filebase
Favicon
How to: IPNS on my Domain?
Favicon
Hosting Static Sites on IPFS
Favicon
Embracing Decentralised Web Hosting: A New Approach to Securing Web3 and DeFi Applications
Favicon
Setup IPFS images cache server in 5 min
Favicon
How to Add a Meson Cloud to Home Screen on iOS and Android?

Featured ones: