See the demo in action here.
Inspect ./src/characters.ts and set character configuration.
Install dependencies and run:
yarn install
yarn startTo run this demo will need a MetaMask with an account funded with enough Ethereum to fund Policy contract creation.
It is also recommended to change secretKey values for Alice and Bob's characters. See ./src/characters.ts for details.
nucypher-ts is in early release. We recommend not using it in production just yet.
nucypher-ts-demo is configured to work on the Tapir network out-of-the-box. It uses a public Porter instance by default. See ./src/characters.ts for details.
This is a recommended way to use nucypher-ts on a testnet.
This dApp is based on useDapp example. See README.old.md for details.