gnosisguild / zodiac-modifier-roles

Smart account toolkit for role-based access control
https://roles.gnosisguild.org
GNU Lesser General Public License v3.0
80 stars 39 forks source link

add sdk package #114

Closed jfschwarz closed 2 years ago

jfschwarz commented 2 years ago

This PR adds a new package to the monorepo: the zodiac roles SDK. It also sets up typechain on the evm package.

The SDK is still in an experimental state, but I'm already using it for programmatically configuring roles' permissions. The plan is to make is a bit generally useful and then release it as an npm package.

As a next step (subsequent PR), I'd like to make it compatible with our subgraph API so we can apply presets as patches onto an existing role configuration (as read from the subgraph).