Skip to content

Repository files navigation

Vault - A Bitcoin Powered Web Wallet

Overview

Vault is a browser extension inspired by MetaMask that enables seamless interaction with the L402 protocol. It acts as a "web wallet" for managing macaroon tokens and facilitating payments over the Lightning Network. The wallet is designed to simplify the process of authenticating and paying for API services using the L402 standard.

Features

  • Macaroon Token Management: Store, retrieve, and manage macaroon tokens securely.
  • Lightning Wallet Integration: Connect to a Lightning wallet to make payments and retrieve preimages.
  • L402 Protocol Support: Handle the full L402 flow, including token minting, invoice payments, and token validation.
  • User-Friendly Interface: A clean and intuitive UI for managing tokens, viewing payment history, and configuring wallet settings.
  • Secure Storage: Encrypt sensitive data like tokens and preimages for enhanced security.

Getting Started

Prerequisites

  • A Lightning wallet (e.g., LND, Phoenix, or any compatible wallet).
  • A server implementing the L402 protocol (e.g., amper).

Installation

  1. Clone the repository:

    git clone https://github.com/Byzantium-ETS/vault.git
    cd vault
  2. Install dependencies:

    npm install
  3. Build the extension:

    npm run build
  4. Load the extension into your browser:

    • Open your browser's extensions page.
    • Enable "Developer mode."
    • Click "Load unpacked" and select the dist folder.

Usage

  1. Connect your Lightning wallet in the settings page.
  2. Use the wallet to pay for API services that support the L402 protocol.
  3. Manage your macaroon tokens and view payment history in the dashboard.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and push them to your fork.
  4. Submit a pull request.

Resources

About

A Bitcoin Powered Web Wallet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages