Skip to content

Commit

Permalink
update README, rm old code
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Jun 13, 2024
1 parent f85208f commit 5dac61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Then, users just bookmark the data URL and bring that up any time they want to u

Structure:

- [./inner-app/src/App.svelte](./wallet/src/App.svelte) The inner app that is built and hashed.
- [./inner-app/src/App.svelte](./inner-app/src/App.svelte) The inner app that is built and hashed.
- [./src/routes/+page.svelte](./src/routes/+page.svelte) The outer app that loads the inner app only if the hash matches.

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), build the [./inner-app](./inner-app/) and start a development server using [just](https://just.systems/man/en/):
Expand All @@ -40,7 +40,7 @@ You can preview the production build with `npm run preview`.
To manually [generate the SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity#tools_for_generating_sri_hashes) for a file, use openssl:

```bash
cat wallet.js | openssl dgst -sha256 -binary | openssl base64 -A
cat static/innerApp.js | openssl dgst -sha256 -binary | openssl base64 -A
```

To check the integrity of the app, you can use the `sri` command:
Expand Down

0 comments on commit 5dac61d

Please sign in to comment.