See the demo in action here.
Inspect ./src/characters.ts and set character configuration.
Install dependencies and run:
yarn install
yarn startIn order to run this demo will need a MetaMask with an account funded with enough $MATIC to fund Policy creation.
It is also recommended to change secretKey values for Alice and Bob characters. See ./src/characters.ts for details.
In order to connect with the network, the demo uses a public instances of Porter.
nucypher-ts is in an early release. We recommend not using it in production just yet.
The current release of nucypher-ts supports Ursulas working on Ibex network and contracts deployed on Mumbai testnet.
This dApp is based on useDapp example.