Skip to content

Hype-DevRel/lit-protocol-hacker-guide.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

What is Lit Protocol?

Lit is a decentralized key management and compute network. Builders of apps, wallets, protocols, and AI agents use Lit to advance digital ownership with decentralized keys and private, immutable programs.

Lit provides web3 builders with advanced cryptographic tools and secure hardware to manage non-custodial keys, perform private computations, handle data encryption, execute cross-chain functions, develop privacy-preserving applications, and so much more.


What are Lit Actions?

Blockchains like Ethereum have smart contracts that let developers encode logic to change that state. As a key management network, Lit provides a method that allows developers to encode logic that dictates signing and encryption / decryption.

Lit Actions are JavaScript functions that can be used read and write data across blockchains, web2 platforms, and the rest of the web3 world. You can think of them as decentralized serverless functions with access to their own public / private key pair. You can use Lit Actions to generate signatures when your specified on or off-chain conditions are met, fetch data from off-chain platforms, manage permissions for Programmable Key Pairs (PKPs), and so much more.

All Lit Actions are executed within the trusted execution environment (TEE) present within each Lit node, meaning the computation remains completely private and immutable. Additionally, all Lit Actions can be chained together to create sophisticated applications and protocols.


All you need to know about V0.1

The latest v0.1 update of the Lit Protocol introduces general performance improvements, and the ability to decrypt and sign within a Lit Action, taking advantage of the Lit nodes’ trusted execution environments (TEEs) for privacy-preserving, scalable, and verifiable computation.

Previously, Lit Actions could not use private material for signing without involving the user. Now, developers can create Lit Actions that handle signing autonomously, making it possible to replace centralized servers used for signing with decentralized, serverless functions that can be called from dApps when needed.

You can read more about this upgrade here.


Docs

📚 Lit’s documentation

🛠️ Lit Actions SDK documentation

🤝 Lit protocol developer blog

🫂 Lit protocol community resources

🚨 Learn more about Lit v0.1 testnet

🛠️ API docs for Lit’s V6 SDK

👂 Lit listener sdk


Tutorials & Examples

💻 Decentralized Compute with Lit Actions

🔥 Decrypting and Combining Within an Action

✍️ Combine Signatures Within an Action


All you need to know about HackFS

<iframe width="966" height="543" src="https://www.youtube.com/embed/azMStHo6DLU" title="HackFS2024: Lit Protocol Hacker's Guide" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

FAQ

🤓 Frequently asked questions about Lit Protocol


App Ideas & Examples:

Identity

  • Private credential issuance App: Implement a decentralized identity management system using Lit Actions, where users can request verifiable credentials without revealing their sensitive data.
  • Decentralized ID verification App: Create a decentralized ID verification system with Lit Actions, enabling users to control their identity data and share it securely with third-party services.
  • Self-sovereign identity: Build a self-sovereign identity platform using Lit Actions, allowing users to manage their digital identities and share verified attributes with organizations and services.
  • Zero-Knowledge proof authentication: Implement a zero-knowledge proof authentication system using Lit Actions, where users can prove possession of certain credentials without revealing the credentials themselves.
  • Decentralized reputation system: Create a decentralized reputation system with Lit Actions, allowing users to build reputations based on their interactions within a network while maintaining privacy.
  • Selective disclosure tools: Develop tools within Lit Actions for selective disclosure of identity attributes, enabling users to share only necessary information for specific transactions or interactions.

Gaming

  • Autonomous NPCs application: Create immersive gaming experiences with Lit Actions, where non-player characters (NPCs) can interact with players using decentralized oracles and cross-chain messaging.
  • Decentralized gaming tournaments application: Develop a decentralized gaming tournament platform using Lit Actions, where gamers can participate in private and secure tournaments.
  • Interactive NFTs: Build an interactive and secure NFT platform using Lit Actions, where NFT attributes can be uniquely updated based on game achievements and external data.
  • Player-owned virtual worlds: Create player-owned virtual worlds using Lit Actions, where users can create, own, and monetize their virtual spaces securely and privately.
  • Blockchain-based asset trading: Develop a blockchain-based asset trading platform using Lit Actions, allowing players to securely trade virtual assets across different games.

AI (Artificial Intelligence)

  • Private AI inference: Develop AI models that run within Lit, ensuring private and secure computations for sensitive data.
  • Decentralized AI marketplace: Create a decentralized AI marketplace using Lit Actions, where AI models can be bought and sold securely and privately.
  • AI-driven oracles: Build AI-driven oracles using Lit Actions, where AI models can be used to generate predictions and insights in a secure and private manner.
  • Federated learning framework: Develop a federated learning framework within Lit Actions, allowing multiple parties to collaborate on AI model training without sharing raw data.
  • Privacy-preserving data analysis: Implement privacy-preserving data analysis tools using Lit Actions, enabling organizations to gain insights from sensitive data without compromising privacy.
  • Personalized AI assistants: Build personalized AI assistants using Lit Actions, which can provide tailored recommendations and assistance while preserving user privacy.

DeFi (Decentralized Finance)

  • Decentralized lending: Develop a decentralized lending platform using Lit Actions, where borrowers and lenders can interact securely and privately.
  • Private token trading: Create a private token trading platform using Lit Actions, where users can trade tokens securely and privately.
  • Decentralized insurance: Build a decentralized insurance platform using Lit Actions, where users can purchase insurance policies securely and privately.
  • Decentralized asset management: Develop a decentralized asset management platform using Lit Actions, allowing users to securely manage their digital assets and investments.
  • Privacy-preserving yield farming: Create privacy-preserving yield farming strategies within Lit Actions, enabling users to participate in DeFi protocols without exposing sensitive information.
  • Decentralized identity-based loans: Implement decentralized identity-based lending using Lit Actions, where users can secure loans based on their verified identities while maintaining privacy.

Infrastructure

  • Decentralized oracles: Design and implement decentralized oracles using Lit Actions, enabling secure and private computations for on-chain data.
  • Cross-chain messaging application: Develop a cross-chain messaging platform using Lit Actions, enabling secure and private communication between different blockchain networks.
  • Private API gateways: Build a private API gateway using Lit Actions, enabling secure and private API interactions between services.
  • Secure data sharing protocols: Design secure data sharing protocols using Lit Actions, enabling encrypted and authenticated data exchange between parties.
  • Decentralized governance systems: Develop decentralized governance systems with Lit Actions, allowing communities to make collective decisions while preserving privacy and security.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •