0.1.0 • Published 9 months ago

televerse-ec-did-suite v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

TSPN Snap

Overview

This is a Proof-of-Concept Decentralized Application (dapp) and Metamask Snap using the Hedera SDK js.

This mono-repository includes two packages:

  1. site: is a React App for the purposes of invoking and connecting the MM Snap in the Browser for testing and development purposes; and,
  2. snap: is a Metamask Snap which interacts with the Hedera Consensus Service and is a secure context for the End Customer.

Development Notes

To set up the project, run the following command from the root directory:

pnpm install && pnpm start

Start both the React App site (port: 8000) and the MM Snap (port: 8080) with the following command:

pnpm start

Other commands include:

pnpm lint
pnpm clean

Notes

Snap In order to invoke the @hashgraph/sdk within the MM Snap post-processing of the dist/snap.js bundle is required. This post processing polyfills and replaces code that is not Secure ECMAScript compliant, or which is otherwise unsupported within a browser like environment.