Page cover

Decentralized Storage

Platform proprietary decentralized storage solution forms a critical component of its Web3-based learning ecosystem, ensuring the security, availability, and integrity of tokenized content such as courses, eBooks, research papers, and AI modules. By eliminating reliance on centralized servers, platform provides a robust and resilient infrastructure that aligns with its vision of a transparent, creator-centric, and scam-resistant knowledge marketplace.

The decentralized storage architecture includes the following key features:

Proprietary Decentralized Storage Solution

Kenesis has developed a custom decentralized storage network that securely hosts creator-uploaded content. This solution leverages distributed protocols to store data across multiple nodes, ensuring high availability, redundancy, and protection against data loss or censorship. By utilizing encryption and blockchain-based verification, the platform guarantees that content remains private, accessible only to authorized NFT holders, and secure from unauthorized access or tampering. This approach enhances content security and aligns with our commitment to a trustless ecosystem.

The following HTTP API example demonstrates uploading a course video to Kenesis’s decentralized storage:

curl -X POST https://api.kenesis.io/v1/storage/upload \
  -H "Authorization: Bearer <JWT_TOKEN>" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@course_video.mp4" \
  -F "creatorId=creator_123" \
  -F "contentType=video" \
  -F "encryptionKey=abc123" \
  -F "accessType=nft-gated"

Response:

{
  "contentHash": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
  "storageUrl": "https://ipfs.kenesis.io/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
  "encrypted": true,
  "timestamp": "2025-06-04T18:33:00Z"
}

Explanation: This API call uploads a video to Kenesis’s decentralized storage, specifying an encryption key and NFT-gated access. The response includes a content hash (e.g., IPFS CID) and a storage URL, ensuring secure and verifiable content storage linked to the KenesisNFT contract’s token URI.

API Integration for Custom Domains

We provides a suite of APIs that enable creators to integrate the platform’s decentralized storage infrastructure with their own websites or custom domains. This allows creators to host tokenized content such as courses or eBooks on their branded platforms while leveraging project secure backend for storage, NFT-based access control, and transaction processing. The APIs ensure seamless interoperability, enabling creators to maintain their unique brand identity while benefiting from the scalability and security of decentralized architecture.

The following JavaScript example shows how a creator can integrate Kenesis’s storage API with their website:

const axios = require('axios');

async function fetchContent(contentHash, nftTokenId, walletAddress) {
  try {
    const response = await axios.get('https://api.kenesis.io/v1/storage/fetch', {
      params: { contentHash, nftTokenId, walletAddress },
      headers: { Authorization: 'Bearer <JWT_TOKEN>' }
    });
    return response.data; // { url: 'https://ipfs.kenesis.io/...' }
  } catch (error) {
    console.error('Error fetching content:', error.message);
    throw error;
  }
}
// Embed content in creator's website
fetchContent('QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco', '123', '0x...');

Explanation: This snippet demonstrates how a creator’s website can fetch tokenized content from platform decentralized storage using the API, verifying NFT ownership with a token ID and wallet address. It enables seamless integration with custom domains, aligning with the KenesisNFT contract’s access control.

By implementing a proprietary decentralized storage solution with robust API support, platform empowers creators to securely distribute their intellectual property while ensuring content availability and user accessibility. This technical foundation reinforces the platform’s mission to revolutionize education and research through a decentralized, innovative, and creator-empowered ecosystem.

Last updated