Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 967 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 967 Bytes

rbac-solidity 🃏

CircleCI

This is a RBAC (Role-Based Access Control) library based on openzeppelin-solidity but using bytes32 type for roles. We use this RBAC implementation, combined with a delegate proxy in r8-app project.

Getting started

You will need Truffle framework:

# Make sure we have the latest truffle version
npm uninstall -g truffle
npm install -g truffle@latest

To test this project locally, clone the repo and run:

# install dependencies
npm install

# run tests
truffle test

To use the code we provide an NPM package:

# install dependencies
npm install @runningbeta/rbac-solidity