https://github.com/nucypher/nucypher-ts-demo
Demo for nucypher/nucypher-ts
https://github.com/nucypher/nucypher-ts-demo
ethereum nucypher
Last synced: about 1 year ago
JSON representation
Demo for nucypher/nucypher-ts
- Host: GitHub
- URL: https://github.com/nucypher/nucypher-ts-demo
- Owner: nucypher
- Created: 2021-07-16T13:16:54.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T10:58:26.000Z (about 3 years ago)
- Last Synced: 2025-04-02T22:33:17.134Z (about 1 year ago)
- Topics: ethereum, nucypher
- Language: TypeScript
- Homepage: https://nucypher-ts-demo.netlify.app/
- Size: 854 KB
- Stars: 3
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nucypher-ts-demo
See the demo in action [here](https://nucypher-ts-demo.netlify.app/).
## Installation
Inspect `./src/characters.ts` and set character configuration.
Install dependencies and run:
```bash
yarn install
yarn start
```
## Usage
To 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.
### Mainnet (Polygon)
`nucypher-ts` is in early release. We recommend **not** using it in production _just yet_.
### Tapir (Matic Mumbai)
`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.
## References
This dApp is based on [`useDapp` example](https://github.com/EthWorks/useDapp/tree/master/packages/example). See `README.old.md` for details.