Understanding Ownership and Access Control in Solidity [A Detailed Guide]by@albertocuestacanada
5,744 reads

Understanding Ownership and Access Control in Solidity [A Detailed Guide]

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

In this article I’m going to discuss three approaches to permissioning in solidity smart contracts. These approaches are discussed in order of complexity, which is the order in which you should consider them for your project. I include code that you can reuse for each approach. Whitelist.sol keeps a list of addresses which then can be used to restrict functionality or any other purpose. RBAC.sol aims to give multi user functionality like you have in modern shared systems. It is very similar in functionality to OpenZeppelin’s Rolessol, although with some critical differences.

Company Mentioned

Mention Thumbnail
featured image - Understanding Ownership and Access Control in Solidity [A Detailed Guide]
Alberto Cuesta Cañada  HackerNoon profile picture

@albertocuestacanada

Alberto Cuesta Cañada


Receive Stories from @albertocuestacanada

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!