Skip to content
View wrapnuts's full-sized avatar

Block or report wrapnuts

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
wrapnuts/README.md

This CLI was developed as a proof of concept for embedding cashu. Launch a test flight according to the steps below.

Wrapnuts-cli

A CLI that implements the functionality of embedded cashu by interacting with the Nutshell-wallet [I.]

Roadmap

  • Steghide tool by Hetzl, S. [II.]
  • Embedding cashu in photos (.jpg & .png)
  • Embedding cashu in audio files (.wav)
  • Encryption, let users choose passphrase
  • Let users choose amount of cashu to wrap
  • Support for users connected to multiple mints
  • Support and test more file types

Requirements

[I.] Install Nutshell & [II.] steghide, according to their docs. Or use a package manager, like apt:

  1. Install dependencies with apt:
sudo apt install -y steghide python3-pip python3-qrcode pkg-config python3.10-venv
  1. Create venv and upgrade pip:
python3 -m venv cashu_venv
source cashu_venv/bin/activate
python3 -m pip install --upgrade pip
  1. Install Nutshell:
pip install cashu
  1. Test cashu if it does not work, follow Cashu's README
cashu info

Test flight

  1. Make sure to have a compatible file (.jpg, .png, or .wav) in working directory of Wrapnuts-cli and then run:
python3 wrapnuts-cli.py
  1. Enter “1” in main menu of Wrapnuts-cli. If no balance is displayed, make sure to fulfill the two requirements:

    • Is Nutshell-wallet connected to a mint?
    • Do you have a balance?
  2. If balance is displayed, both requirements are met. Next, enter “2” in main menu to wrap (embed) a cashu. Follow instructions until wrapping process is complete.

  3. The file (with the embedded cashu) can be sent to someone else, before it is redeemed with Wrapnuts-cli.

  4. To redeem embedded cashu, enter “3” in main menu of Wrapnuts-cli. Follow instructions until the unwrapping process is complete.

Disclaimer

The author is NOT a cryptographer and this work has not been reviewed. This means that there is very likely a fatal flaw somewhere. Wrapnuts and Cashu are still experimental and not production-ready.

@wrapnuts's activity is private