Setup
WARNING
This guide assumes that you have scaffolded a hApp with the TNESH stack template.
- Run this to scaffold this zome in your hApp:
bash
nix run github:darksoil-studio/membrane-invitations-zome#scaffoldThis will do the following:
- Add the
github:darksoil-studio/membrane-invitations-zomeflake input in yourflake.nix. - Add the
membrane_invitationscoordinator and integrity zome packages to thedna.nixthat you select. - Add the UI package for
@darksoil-studio/membrane-invitations-zomeas a dependency of your UI package. - Add the
<membrane-invitations-context>element at the top level of your application.
That's it! You have now integrated the membrane_invitations coordinator and integrity zomes and their UI into your app!
Example
You can see a full working example of the UI working in here.