Skip to main content

Delegatable

The future of flexible permissions, gasless txs, and offchain txs.

What is Delegatable

The Delegatable Framework is a system designed to improve the way permissions and access controls are managed in the Ethereum blockchain. It allows users to have more control over when and how their transactions are executed. This framework introduces a more flexible and secure way to manage access rights for smart contracts, such as Non-Fungible Tokens (NFTs).

Where does this come from?

The Delegatable Framework, inspired by existing Object Capabilities and Capability security models, is a scalable peer-to-peer access control system for EVM (Ethereum Virtual Machine) compute environments. It uses counterfactual assertions to enable unforgeable and revocable on-chain delegations, allowing more granular and secure management of permissions for smart contracts.

In the context of gasless transactions (also known as meta-transactions), the Delegatable Framework leverages off-chain signatures and on-chain enforcers to enable users to interact with smart contracts without incurring gas fees themselves.

Find more resources here at Delegatable

Offchain Transactiosn

In the Delegatable Framework, off-chain transactions can be used to manage access controls and delegations without directly interacting with the blockchain. These transactions, which are not recorded on the blockchain, involve the use of off-chain signatures and counterfactual assertions.

To facilitate an off-chain transaction, the involved parties sign a message or a transaction data structure that includes the terms of the agreement, such as permissions, delegations, or ownership changes. These signed messages can be shared and verified by other parties without actually being submitted to the blockchain. The state of the agreements is maintained off-chain, known only to the involved parties.

Although off-chain transactions do not directly interact with the blockchain, they can still be used to prove ownership or permissions under certain conditions. Since the signed messages contain the cryptographic signatures of the involved parties, they can serve as valid proof of the agreement. The Delegatable Framework's counterfactual assertions ensure that these off-chain transactions are unforgeable and revocable, providing a reliable way of managing access controls and ownership.

Gasless Transactions

Delegations are meta-txs too so it's possible for users to pay no gas by simply signing a delegation over for someone else to pay.

How do I use it

At the moment delegation exist by using the delegatable preset, but we have not exposed the rest of the SDK for consumption. You're welcome to build Enforcer contracts, and use them with the NFT, directly from the contracts using the import {contracts} from "@1o1art/sdk" and accessing the OurDelegatableFacet in typescript. The contracts can be found https://delegatable.org . There will be improved tooling if you're interested in working on something drop us a line at info@1o1.art