https://github.com/douganderson444/warpwallet
A Flexible, Bookmarkable Seed Manager, extensible with Wallet Plugins
https://github.com/douganderson444/warpwallet
Last synced: 3 months ago
JSON representation
A Flexible, Bookmarkable Seed Manager, extensible with Wallet Plugins
- Host: GitHub
- URL: https://github.com/douganderson444/warpwallet
- Owner: DougAnderson444
- Created: 2023-08-11T21:47:29.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-28T12:42:30.000Z (almost 2 years ago)
- Last Synced: 2025-01-24T19:47:12.590Z (4 months ago)
- Language: JavaScript
- Homepage: https://douganderson444.github.io/warpwallet
- Size: 354 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Secure Bookmark Wallet
A Secure Bookmark Wallet. Set Warp Wallet up with a Libp2p Request-Response protocol that uses a Wurbo WIT UI handler to generate proofs
## Wallet Design
The standalone wallet is in the [wallet](/wallet) folder. It builds to a single file app that has an [integrity hash](https://coins.github.io/secure-bookmark/) that can be bookmarked and verified witht he browser when in use.
### Develop on Inner Wallet
```bash
cd wallet
npm install
npm run dev
```### Build Inner Wallet
```bash
cd wallet
npm run build
```This build step will put the assets in the [wallet/dist](/wallet/dist) folder.
## Wallet Loader
The loader is a simple Svelte app that loads the inner wallet and provides a UI for the user to load the wallet as a [secure bookmark](https://coins.github.io/secure-bookmark/).
### Build the Wrapper
Once the [wallet](/wallet) has been built, the [/wallet/dist/index.html](/wallet/dist/index.html) needs to be wrapped in a JavaScript loader that can be called from the loader app below. This step is done in [vite.config.js](/vite.config.js) by the loader in the root direcotry.
This wrapping step is done using base64 encoding so that the Javascript can be embedded without causing any conflicts with the loader JavaScript.
## Future Work: Extensibility
TODO: This wallet loader _could_ load other people's modules using the WebAssembly [WIT Component Model](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md) and the [`wurbo`](https://github.com/DougAnderson444/wurbo) framework. This would allow for a plugin system to be built on top of the wallet to extend functionality.