Skip to content

Setup

WARNING

This guide assumes that you have scaffolded a hApp with the TNESH stack template.

  1. Run this to scaffold this zome in your hApp:
bash
nix run github:darksoil-studio/membrane-invitations-zome#scaffold

This will do the following:

  • Add the github:darksoil-studio/membrane-invitations-zome flake input in your flake.nix.
  • Add the membrane_invitations coordinator and integrity zome packages to the dna.nix that you select.
  • Add the UI package for @darksoil-studio/membrane-invitations-zome as 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.