Decentralized Access Control Comes to Evmos with Lit Protocol

Evmos
The Evmos Blog
Published in
3 min readOct 5, 2022

Lit Protocol makes it possible to set on-chain conditions to control who can access content while maintaining decentralization. Lit Protocol is already in use on EVM chains, Cosmos, and Solana as an open-source and decentralized access control protocol, and now it’s available for users on Evmos.

What can you do with Lit Protocol?
Whether it’s for your company, app, DAO, or just yourself, Lit Protocol gives you control over who can see your content. It does this via encryption, encoding data to prevent anyone without key access from seeing it. If this sounds a little familiar, that’s because encryption is the same tech that makes all of crypto possible.

Through Lit Protocol’s decentralized access control, you can set on-chain conditions like “wallet must hold an NFT” , and the network will provision signatures and decryption keys for wallets that meet that condition. In other words, you can lock content to hide it from users that don’t meet that condition, and unlock it for those who do.

Example access control where a wallet must possess at least 1 EVMOS token:

const accessControlConditions = [
{
contractAddress:‘0xBF183E0d2f06872e10F5DBEc745999aDfcB5f000’,
standardContractType: ‘ERC20’,
chain: ‘evmos’,
method: ‘balanceOf’,
parameters: [‘:userAddress’],
returnValueTest: {comparator: ‘>’, value: ‘0’}
}
]

On-chain conditions like these can be used to control access to a variety of things — from static content like images, to dynamic content like a server or network resource. Lit Protocol access control can:

  • Encrypt and lock static content (images, videos, music, etc) behind an on-chain condition (for example, possession of an NFT).
  • Decrypt static content that was locked behind an on-chain condition.
  • Authorize network signatures that provide access to dynamic content (for example, a server or network resource) behind an on-chain condition.
  • Request a network signed JWT that provisions access and authorization to dynamic content behind an on-chain condition.

Learn more about what decentralized access control is and what you can do with it here.

What’s coming in the future

Look forward to a new set of features from Lit Protocol in the future, Programmable Key Pairs (PKPs) and Lit Actions. Together, they enable functionality similar to that of smart contracts if they have their own public and private keypairs.

PKPs are a decentralized cloud wallet platform with distributed custody. They work in tandem with Lit Actions, which are JavaScript functions that instruct the PKP to write to a state machine, such as Ethereum or the Interplanetary File System (IPFS).

Lit Actions utilize the threshold cryptography that powers the Lit Protocol. You can write some JavaScript code, upload it to IPFS, and ask the Lit Nodes to execute that code and return the result. Lit Protocol provides JavaScript functions you can use for threshold signing and decryption, so that you can ask the Lit Nodes to sign or decrypt data for you with their private key share.

Today, PKPs and Lit Actions are in alpha sandbox mode. Learn more here.

About Lit Protocol

Lit Protocol is decentralized cryptography for access control, computation, and encryption. Lit Protocol allows decentralized access control for web3 apps and enables private data on the open web through encryption. Using threshold cryptography, Lit provides a key without a main key holder that works across blockchains, storage networks, and platforms. This opens up the ability to write smart contracts that can read and write from any HTTP endpoint, blockchain, state machine, or decentralized storage system.

Join the ecosystem:

💻 Developer Documentation: https://developer.litprotocol.com

👾 Official Discord: https://litgateway.com/discord

🐙 GitHub: https://github.com/LIT-Protocol

🕊 Twitter: https://twitter.com/LitProtocol

🖥 Lit Protocol Website: https://litprotocol.com/

About Evmos

Evmos is an Ethereum Virtual Machine–based blockchain in the Cosmos ecosystem and enables developers to launch apps that run smart contracts across any number of EVM- and Cosmos-based blockchains. It makes that process as simple and seamless as possible by allowing developers to continue creating apps in Solidity and Vyper like they’re accustomed to in the Ethereum ecosystem. Evmos opens a new frontier for blockchain applications, expanding the functionality of the EVM by enabling cross-chain applications that tap the liquidity and user bases of multiple blockchain ecosystems to provide a more unified experience.

Follow our journey below

💻 Developer Documentation: https://evmos.dev/

👾 Official Discord: https://discord.gg/evmos

🐙 GitHub: https://github.com/tharsis/evmos

🕊 Twitter: https://twitter.com/EvmosOrg

📯 Telegram: @EvmosOrg

📄 Medium: https://evmos.blog/

🖥 Evmos Website: https://evmos.org

--

--

The Evmos Blog
The Evmos Blog

Published in The Evmos Blog

Evmos is an application-agnostic chain that is interoperable with the Ethereum Mainnet, EVM-compatible environments, and other BFT chains via IBC — making it easy for users and developers to move value between chains. evmos.org

Evmos
Evmos

Written by Evmos

Enter a world of Ethereum-based applications and assets enhanced by the interoperability of Cosmos.

No responses yet