An open API service indexing awesome lists of open source software.

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

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.