Developer Docs: Build with Kakr Labs
HomeAPI PolicyPrivacy & TermsPlayground
  • Core Concepts
    • Core Concepts
      • Introduction
        • What is a Blockchain?
        • Litecoin as a Service (LiaaS)
        • Web2 Vs Web3
        • Category Codes
      • Transactions
        • Stages of a Litecoin Transaction
        • What are UTXOs?
        • How to spend UTXOs?
      • Assets
        • Collections
        • Tokens
        • Uploading and Pinning Files on IPFS
      • Wallet
        • Non custody wallet vs custody wallet
        • Hierarchical Deterministic wallets(HD Wallets)
        • Passphrase and Private key
      • Address
        • Default Address of Wallet
        • Official Address of Wallet
        • Key Differences
      • MimbleWimble (MWEB)
      • Multi-sig Concept
    • 💰Pricing
  • Solutions
    • Solutions
      • Payments
        • Peer-to-Peer Payments
        • Micropayments
        • Confidential Payments
      • Tokenization
        • Stablecoins
          • Proof of Loyalty
        • NFT Marketplace overview
          • NFT Marketplace
        • Industrial Tokenization
          • Energy Sector
      • Multi-signature
        • Assets Security
      • IPFS Gateway
        • Decentralized Storage (IPFS + Litecoin)
      • Decentralized Identity & Authentication
        • Decentralized Identity: Password Recovery via Litecoin Address Ownership
        • Decentralized Identity: Passwordless Agent Authentication
        • Decentralized Authentication
  • Using Pteri
    • 🤝Introduction
    • 😇Create an Account
    • 💰Get started
      • ⚕️Stats
      • 📖Debug
      • ➡️Work Flow
      • 🤑Subscription
      • 💆‍♂️Usage
      • 💆‍♂️Settings
    • ✨PTERI Intelligence
  • Pteri Wallet
    • 🔁Wallet Recovery Mechanism on Pteri
  • LiaaS
    • LiaaS
      • What Kakr LiaaS
      • Getting set up
        • Authentication
      • Kakr (LiaaS) Features
        • Address Features
        • Token Features
        • Wallet Features
      • Wallet System
        • Create Wallet
        • Create Importable Wallet
        • Encrypt Wallet
        • Create Encrypted Wallet
        • Create Importable Encrypted Wallet
        • Change wallet passphrase
        • Generate Address
        • Generate Default Address
        • Wallet official address
        • Wallet default address
        • Wallet default address v2
        • Wallet addresses
        • Wallet Balance
        • Address Details
        • Load Wallet
        • Import Wallet
        • Address Balance (Using Wallet)
        • Wallet Tokens
        • Create Multi Signature Address (preview)
      • Token Issuance
        • Create Collection
        • Create Tokens
          • Create Secure Digital Asset SDA (Alias NFT)
          • Create Token
          • Create Token v2
          • Create Managed Supply Tokens
          • Mint Supply Tokens
          • Burn Supply Tokens
      • Token Transfer
        • Send Token
        • Send SDA/NFT
      • Transactions
        • Send Litecoin
        • Create Raw Transaction
        • Create Raw Transaction (Advanced)
        • Sign Transaction
        • Broadcast Transaction
      • Blocks
        • Blocks Information
        • Blocks Stat
        • Blocks Header Information
        • Block Transactions
      • Others
        • 🔁Get SDA Transaction Details
        • 🔁Address Details
        • 🔁External Address Details
        • ⏺️Address Transactions
        • ⏺️Address Balance
        • 🔐Address Private Key
        • 🔐Address Private Key V2
        • 🚀NFT Details
        • 🚀NFT Balance
        • 🚀Token and Collection Balance
        • 📙Property Details
        • 💹Wallet Details
        • 🔼Generate passphrase
        • 💱Wallet Transactions
        • ✒️Sign Wallet message
        • 🖊️Sign Address Message
        • 💱Verify Message
        • 🗄️Upload to IPFS
        • 📌Pin on IPFS
  • API Reference
  • FAQs and Troubleshooting
  • Developers FAQs and Error Handling
Powered by GitBook
LogoLogo

© 2025 Kakr Platform Inc. All rights reserved

On this page
  • Introduction to IPFS
  • How IPFS Works
  • Uploading a File to IPFS
  • Advantages of IPFS Over Traditional Storage
  • Use Cases for IPFS

Was this helpful?

  1. Core Concepts
  2. Core Concepts
  3. Assets

Uploading and Pinning Files on IPFS

Uploading and Pinning Files on IPFS

PreviousTokensNextWallet

Last updated 4 months ago

Was this helpful?

Introduction to IPFS

The InterPlanetary File System (IPFS) is a decentralized, peer-to-peer file storage protocol that offers a resilient and content-addressed way to store and share data. Unlike traditional web storage, where files are hosted on a single server with a fixed URL, IPFS ensures that files remain accessible even if the original server goes down.

This decentralized approach makes IPFS ideal for applications that require permanent, verifiable, and censorship-resistant storage—especially for blockchain use cases like NFT metadata, decentralized applications (dApps), and content archiving.

How IPFS Works

1. Content-Based Addressing

In traditional file storage, URLs are based on file locations (e.g., https://example.com/file.jpg). If the hosting server goes offline, the file becomes inaccessible.

In contrast, IPFS uses content-addressing via Content Identifier (CID), a unique hash generated from the file’s contents. This ensures:

  • The same file always produces the same CID.

  • If the file changes, it results in a new CID.

  • CIDs can be used to verify data integrity, as any modification will change the hash.

2. Decentralized File Availability

Once a file is uploaded to IPFS, it is distributed across multiple nodes, ensuring redundancy and availability. Even if one node goes offline, the file remains accessible as long as other nodes have it.

3. Pinning Files for Persistence

By default, IPFS nodes do not permanently store files unless they are pinned. Pinning prevents files from being garbage-collected, ensuring they remain accessible over time. You can pin your file .

Uploading a File to IPFS

Before minting an NFT, you must first upload your file to IPFS and obtain its IPFS link (CID), which will then be used in the minting of NFT under nftFileURL parameter. This ensures that the NFT remains accessible indefinitely, without reliance on a single storage provider.

Advantages of IPFS Over Traditional Storage

Feature
Traditional Storage
IPFS

Resilience

Single point of failure

Redundant across nodes

Content Addressing

URL based on location

URL based on file content (CID)

Decentralization

Hosted by a central server

Distributed across a peer-to-peer network

Integrity & Verification

No automatic verification

CIDs ensure data integrity

Ideal for NFTs

Metadata can break if host goes offline

Metadata remains permanently accessible

Use Cases for IPFS

  • NFT Metadata & Digital Assets – Ensures NFT metadata remains available permanently.

  • Decentralized Applications (dApps) – Provides storage for dApp resources without reliance on centralized servers.

  • Web3 Hosting – Host websites in a censorship-resistant way.

  • Content Archiving – Store important documents and research papers for long-term access.

We provide seamless IPFS uploading and pinning services (endpoints) under our . These endpoints allow users to store files in a decentralized, tamper-proof, and permanently accessible manner.

Please check and endpoints to get more insight.

here
LiaaS Prime Enterprise Plan
upload to IPFS
Pin on IPFS