Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CLI to hide and embed your nuts with steganography

License

wrapnuts/wrapnuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wrapnuts-cli

A CLI that implements the functionality of embedded cashu by interacting with the Nutshell-wallet [I.]. This CLI was developed as a proof of concept for embedding cashu. Launch a test flight according to the steps below.

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

Install wrapnuts

  1. Clone repo
git clone https://github.com/wrapnuts/wrapnuts.git
  1. Set permissions
chmod 700 wrapnuts/wrapnuts-cli.py
chmod 700 wrapnuts/.cache/cache.sh
chmod 700 wrapnuts/.cache/redeem.sh

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.

About

CLI to hide and embed your nuts with steganography

Resources

License

Stars

Watchers

Forks

Packages

No packages published