SEP-0008: Real Time Access Control

SEP Specifications

SEP: 0008
Title: Real Time Access Control
Author: Devs Do Something
Network: All Chains
Type: Request for Enhancement
Status: Proposed
Created: 2024/10/04 00T00:00:00.000Z
Proposal: Enable real time access control in the smart contracts for high throughput events
Note: **

Simple Summary

There is a need for the contracts to move away from merkle root-based access lists. The following challenges exist with the current merkle root structure:

  • A list of 1,000 addresses may take up to ten minutes to generate and publish on chain
  • When a new address needs to be added, the merkle root needs to be regenerated and re-published to the network

These two issues make it such that the system cannot facilitate high-scale transactions.

There needs to be a way to publish the merkle root information to the smart contract in a manner that scales with new address additions.

Abstract:

Merkle root-based access lists require multiple interactions with centralized and decentralized networks. The first being the merkle root generation which can take ten minutes to generate and instantiate onchain. The next bottleneck occurs when a new address needs to be added to the merkle root. This makes it prohibitive for high-scale, live applications. A decentralized, real-time solution can provide smart-contract based applications the desired solution at web-scale.

2 Likes

This will be a confident step forward, bringing relevant prospects.

1 Like

A decentralized and scalable solution would bring significant benefits. I agree that this is a necessary step and look forward to its implementation.