Skip to content

Instantly share code, notes, and snippets.

@OR13
Last active July 9, 2017 02:49
Show Gist options
  • Save OR13/75bb9222eacb17413ced3f3e9d1a3550 to your computer and use it in GitHub Desktop.
Save OR13/75bb9222eacb17413ced3f3e9d1a3550 to your computer and use it in GitHub Desktop.
Transmute CLI Commands
{ readModelStoreKey: 'Permissions:0xe2c2f8a71100dcf98815d66350a269f6b781d832',
readModelType: 'Permissions',
contractAddress: '0xe2c2f8a71100dcf98815d66350a269f6b781d832',
lastEvent: 8,
model: { admin: { event: [Object], write: [Object] } } }
$ npm run transmute -- ipfs deploy --env local --target ./cli/mock
$ npm run transmute eventstore create
$ npm run transmute -- eventstore permissions --contractAddress 0x1cc9bbbef5918672997dffe449bd71b0eb44fe37
$ npm run transmute -- eventstore grant --contractAddress 0xe2c2f8a71100dcf98815d66350a269f6b781d832 --g admin,write,create:any,"['*']"
$ npm run transmute -- eventstore can --contractAddress 0xe2c2f8a71100dcf98815d66350a269f6b781d832 --q admin,create:any,event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment