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
  • ๐Ÿ” Decentralized Authentication with Litecoin as a Service
  • The Problem: Traditional Authentication is Centralized
  • The Solution: Decentralized Authentication + Litecoin Blockchain
  • ๐Ÿ”‘ What is Decentralized Authentication?
  • ๐Ÿง  Message Derivation Options
  • ๐Ÿ” Wallet Backup is Essential
  • โœ… Standards & Compliance
  • ๐Ÿ”— How It Works (With Litecoin as a Service)
  • ๐Ÿ’ผ Enterprise Integration
  • ๐Ÿš€ Get Started with the API
  • ๐Ÿ”— Live Example Use Cases
  • ๐Ÿ“– FAQs & Support

Was this helpful?

  1. Solutions
  2. Solutions
  3. Decentralized Identity & Authentication

Decentralized Authentication

Decentralized Authentication with Litecoin as a Service

๐Ÿ” Decentralized Authentication with Litecoin as a Service

The Problem: Traditional Authentication is Centralized

Most modern authentication systems still rely on centralized infrastructure, leading to:

  • ๐Ÿ”“ Data Breaches โ€“ Passwords and sensitive data exposed

  • ๐ŸŽฏ Single Points of Failure โ€“ One compromised server = system-wide vulnerability

  • ๐Ÿ‘€ Lack of Privacy โ€“ User identities stored and sold

  • โ›” Platform Dependency โ€“ Logins tied to provider-controlled systems

  • โŒ No True User Control โ€“ Users can't verify or manage their own credentials independently


The Solution: Decentralized Authentication + Litecoin Blockchain

With Litecoin as a Service, we offer a fully decentralized authentication system using message signing, OTP derivation, and wallet-based identity.

No servers. No central control. Just blockchain-backed verification.


๐Ÿ”‘ What is Decentralized Authentication?

  • Users authenticate by signing messages with their Litecoin wallet

  • Messages can be Dapp-generated or user-generated

  • OTP (One-Time Password) can be derived from the signed message

  • Fully self-sovereign and verifiable authentication method

This method is ideal for Dapps, SDA(NFT)-based access, and Web3 login flows.


๐Ÿง  Message Derivation Options

Your app can choose how the OTP message is generated:

  1. Dapp-Generated Message

    • The app/service creates the message to be signed

    • Helpful for recovery systems and standardization

    • Ideal for centralized organizations transitioning to Web3

  2. User-Generated Message

    • The user independently creates and signs their own message

    • Offers maximum privacy and control

    • The user accepts full responsibility for managing credentials

In the user-managed model, if the OTP or wallet is lost, no recovery is possible.


๐Ÿ” Wallet Backup is Essential

Users must back up their credentials to ensure recovery:

  • ๐Ÿงฉ Mnemonic Phrase used during Blockchain 2FA setup

This is the only mean to regenerate OTPs or verify identities if devices are lost.


โœ… Standards & Compliance

This decentralized authentication method aligns with:

  • ๐Ÿ“˜ Decentralized Identity (DID) models

  • ๐Ÿ‘ค Self-Sovereign Identity (SSI) principles

  • ๐Ÿ›ก๏ธ Zero Trust Architecture

  • ๐Ÿงพ Privacy regulations and blockchain compliance

No passwords. No data harvesting. No vendor lock-in.


๐Ÿ”— How It Works (With Litecoin as a Service)

  1. User Visits the App Login via his primary credentials (i.e. Username & Password)

  2. Connect Wallet Connect to Litecoin Extension Pteri Wallet

  3. Message Generation & Signing Either the app or user generates an authentication message and sign it using connected wallet

  4. Add Secret Key Derived from Sign Message to Extension Wallet / Pteri Mobile Generate OTP from the signed message and Use the OTP

  5. Grant Access If the OTP is valid, access is approved


๐Ÿ’ผ Enterprise Integration

Enterprise developers can easily integrate using:

  • ๐Ÿ”Œ LiaaS APIs to create Decentralized Authentication

  • ๐Ÿง  Custom fallback policies for recovery flows (optional)

Fully hosted, secure, and scalable โ€” built on the Litecoin network.


๐Ÿš€ Get Started with the API


๐Ÿ”— Live Example Use Cases

  • โœ… Wallet-based login for dApps

  • โœ… SDA-gated access portals

  • โœ… Universal decentralized 2FA for Web3 platforms


๐Ÿ“– FAQs & Support

What if a user loses their wallet?

If a user loses access to their Litecoin wallet and has not backed up their private key or recovery phrase (mnemonic), they will no longer be able to sign authentication messages or generate OTPs. Since the authentication system is fully decentralized, there is no central authority to restore access except it's not user-managed model.

๐Ÿ”Important: Always back up your wallet credentials securely. Without them, recovery is not possible unless the Dapp or service provides a fallback recovery mechanism.

Can OTPs be derived deterministically?

Yes. OTPs can be deterministically generated using the signed authentication message and current Litecoin blockchain height. This allows the OTP to be recreated anytime using the same wallet and message.

๐Ÿ” This makes the system stateless โ€” the OTP does not need to be stored on any server, and users can regenerate it as long as they have their wallet.

What happens when migrating to a new device?

When moving to a new device, the user simply needs to restore their Litecoin wallet using their mnemonic phrase.

Once restored:

  • They can sign messages and generate OTPs as usual

  • No data or account migration is needed

โš ๏ธ If the wallet was not backed up, access to the authentication system will be permanently lost.

For any further queries, please reach out to us at contact@kakrlabs.com.

PreviousDecentralized Identity: Passwordless Agent AuthenticationNextIntroduction

Last updated 1 month ago

Was this helpful?

๐Ÿงพ Onboard to Enterprise Plan โ†’

๐Ÿ” Try Message Signing โ†’

๐Ÿ”ข Generate OTP โ†’ (Only available on Enterprise LiaaS Plan)

Azure Marketplace
Sign Message
Derive OTP