Lit Actions & PKPs: Jan '23 Project Highlights

Lit Actions & PKPs: Jan '23 Project Highlights

We are excited to share with a roundup of the most innovative projects we've seen using Programmable Key Pairs (PKPs) and Lit Actions in the past month. Our goal is to highlight the creativity of developers who are building examples of what’s possible with decentralized key technology. We hope that by showcasing these projects, we can inspire others to explore the possibilities of Programmable Key Pairs (PKPs) and Lit Actions. So, without further ado, let's dive into the projects!

Web3 Social Hackathon

Orbis hosted the Web3 Social Hackathon to encourage developers to learn about leading Web3 technologies & win bounties by creating innovative projects that connect people.

Lit participated as a sponsor with a request for projects to build creative use cases of Lit Actions / PKPs with Orbis.

Winner: Magic Wallet

One Account, multiple seed-less wallets.

Introducing MagicWallet, the ultimate tool for stream ownership and seamless integration with the Orbis Protocol. With the app, you can use your Programmable Key Pairs (PKP) to access and execute all the functions of the Orbis Protocol, including sending transactions through a message monitoring system and connecting to other dApps like Uniswap to trade assets.

The app also offers PKP access notification, which are displayed in the grantee's dashboard when access to a PKP has been granted. Plus, the minified experimental version of the Orbis SDK allows you to create posts through Lit Action, streamlining your experience on the app.

Magic Wallet is designed to be a centralized platform where users can perform various actions based on their context, and welcomes new developers to develop their own apps. Experience the convenience and power of MagicWallet.me – try it out today!

FEATURES

  1. PKP & Stream Ownership - PKPs are created with DIDs and can own ceramic streams through the Orbis Protocol.
  2. Orbis Protocol Integration - The "Orbis Protocol" is fully integrated, allowing you to use your "PKP" to access and execute all of its available functions. These actions can be performed by authorized addresses with the necessary permissions.
  3. PKP Access Notification - When a PKP owner grants access to a PKP to another address, there is currently no way to get this information and determine whether or not you have been granted permission to use the PKP. To add this capability, a message with a specific payload will be sent through the "Orbis.club DM" from the granter to notify the user. The grantee will then look for authorization messages, which contain the permitted PKPs, and the user will be able to use them on the dashboard. This process allows for automatic updates to the dashboard whenever access to a PKP has been granted.
  4. Lit Action Create Post - A minified experimental version of the "Orbis SDK" has been extracted from the code and is able to create a post through "Lit Action". This is accomplished by bundling the Orbis SDK, creating a "DID" from the session key in Lit Action, passing it to the "Ceramic instance" in Lit Action, and using it to create a commit through "TileDocument". The post request is then sent without using "XMLHttpRequest", and a "Stream document" is composed and its "stream id" is retrieved.
  5. Message-based execution - You can use this feature when you want to execute an Orbis-message based action, such as sending a transaction to anyone using the command /send <eth_address> <wei>
  6. Connect to other dApp using your PKP - Use your PKP to connect to other dApps, such as Uniswap, and trade the underlying assets.

Runner Up: Orbis PKP Actions

If This Then That for Orbis - automate Orbis SDK via Lit Protocol PKP's actions, triggered by numerous web2 and web3 services. Enables event listening to trigger actions on Orbis.

With Orbis-PKP-Action webhook based automation can be built to automate Orbis actions through the Orbis SDK and abstraction (bots, account separation) is provided through Lit's PKP.

This is built using a NextJS file-based API routes that can be easily adapted for more generic serverless architecture.

Honorable mentions

Ceramic Multi Users

Currently, Ceramic only allows one user to own and update a stream. This can be a problem for applications that need multi-user capabilities such as sharing an account between multiple users. To overcome this limitation, we use Lit Actions and a membership NFT system to allow multiple users to interact with the same DID in a secure way. In order to interact with the Ceramic stream on behalf of the team account, the user must prove that they are a part of the team in order to be authenticated.

The user will request a signature on behalf of the team to connect to Ceramic with the PKP DID. The Lit Action will check if the user is part of the team by checking that he owns a valid membership NFT. If the user is part of the team, the Lit Action will sign the requested message and return it to the user. The user can now use the signature to authenticate on Ceramic with the team PKP DID and interact with the streams.

Features

  • Allow multiple ETH wallets to update the same ceramic stream
  • Team membership represented as an NFT via Unlock Protocol
  • Add/remove members from the team
  • Role based system (admin, editor), only admins can add/remove editors
  • Authenticate with the Orbis SDK to create posts, update profile etc..

Jumpstart

Web3 social graphs like Orbis enable frictionless ownership, interoperability and transportability of social graph data. This is an incentive that social graphs like Orbis offer over their web2 counterparts. A user's identity on Facebook and the data, content, and credentials associated with it, differs across applications from that of the same user's identity on another application, Twitter for example. The information related to this user's identity is not interoperable with one another; in essence, data relating to the same sovereign identity is fragmented between the identities on centralized social networks synonymous with Web2.

Jumpstart utilizes LIT protocol actions/PKP to create a Web2 - Web3 social graph bridge as a feature to GateKeeper. Jumpstart adds an additional layer of depth to the user via the aggregation that GateKeeper offers. The result is a bridge that enables users of GateKeeper to easily port over their web2 social lives when transitioning to using web3 social networks like Orbis Club.

What we’re excited about at Lit

As the development of Lit Actions and PKP’s becomes more mature, we’re seeing some awesome projects come out of the ecosystem. Just a few months ago, PKPs and Lit Actions was released and the possibilities of having multiple users write to a single Ceramic stream was just a distant possibility. If you’re feeling inspired to build after checking out these projects, we have a grants program and are looking to fund projects that extend the use of Lit.

We host biweekly office hours, with our first one of the year on January 25th, 2023 on Twitter Spaces at 1:30PM PT / 4:30PM ET. If you’re interested in building together reach out on Discord!