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

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

by Alberto Cuesta Cañada 5mDecember 18th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Alberto Cuesta Cañada

Alberto Cuesta Cañada

@alcueca

Hello. I design and build blockchain solutions. I like to make the complex simple.

About @alcueca
LEARN MORE ABOUT @ALCUECA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Alberto Cuesta Cañada  HackerNoon profile picture
Alberto Cuesta Cañada @alcueca
Hello. I design and build blockchain solutions. I like to make the complex simple.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite