Skip to content

Instantly share code, notes, and snippets.

@kdmukai
kdmukai / README.md
Last active August 8, 2024 13:22
Unchained Vault using SeedSigner

Creating an Unchained Vault using SeedSigner

unchained.com

seedsigner.com

Create two new keys via SeedSigner

Standard seed creation via dice, picking bip39 words, or image entropy

@kdmukai
kdmukai / fountain_status.txt
Created September 18, 2023 14:42
Fountain decoding attempt w/lots of XOR frames
0.0% | 6.7% | done: 1, mixed: 0, queued: 0, frames: 0 | []
3.8% | 10.0% | done: 1, mixed: 4, queued: 0, frames: 1 | [[0, 4, 6, 14]]
7.6% | 13.3% | done: 1, mixed: 12, queued: 0, frames: 2 | [[0, 4, 6, 14], [2, 3, 4, 5, 6, 9, 10, 11, 12, 13]]
11.4% | 16.7% | done: 1, mixed: 14, queued: 0, frames: 3 | [[0, 4, 6, 14], [2, 3, 4, 5, 6, 9, 10, 11, 12, 13], [0, 1, 2, 3, 5, 6, 7, 9, 10, 12, 13, 14]]
15.2% | 20.0% | done: 1, mixed: 14, queued: 0, frames: 4 | [[0, 4, 6, 14], [2, 3, 4, 5, 6, 9, 10, 11, 12, 13], [0, 2, 5, 7, 9, 10, 12, 13, 14], [1, 3, 6]]
19.0% | 23.3% | done: 1, mixed: 14, queued: 0, frames: 5 | [[0, 4, 6, 14], [4, 6, 9, 10, 12], [0, 2, 5, 7, 9, 10, 12, 13, 14], [1, 3, 6], [2, 3, 5, 11, 13]]
22.9% | 23.3% | done: 1, mixed: 14, queued: 0, frames: 6 | [[0, 4, 6, 14], [4, 6, 9, 10, 12], [0, 2, 5, 7, 9, 10, 12, 13, 14], [1, 3, 6], [2, 3, 5, 11, 13]]
26.7% | 26.7% | done: 1, mixed: 14, queued: 0, frames: 7 | [[0, 4, 6, 14], [4, 6, 9, 10, 12], [0, 2, 5, 7, 9, 10, 12, 13,
@kdmukai
kdmukai / README.md
Created September 3, 2023 13:24
Fix Realtek r8111 / r8169 NIC driver in Proxmox 8.x host

Overview

Have to install r8168 driver and remove r8169.

Update package sources:

/etc/apt/sources.list

deb http://ftp.us.debian.org/debian bookworm main contrib non-free non-free-firmware

deb http://ftp.us.debian.org/debian bookworm-updates main contrib
@kdmukai
kdmukai / README.md
Last active August 7, 2023 21:23
Workshop: Creating Your Own Multisig Setup

Creating Your Own Multisig Setup

Software

Download Sparrow Wallet: sparrowwallet.com

  • Verify the release (instructions on the download page)
  • Connect Sparrow to your private electrum server (e.g. Umbrel) or a public server

Create a disposable test multisig wallet in Sparrow

  • "Policy Type": "Multi Signature"
@kdmukai
kdmukai / Flow-based test pseudocode changes
Last active April 14, 2023 13:33
SeedSigner main loop pseudocode to demonstrate changes in the Flow-based testing PR #339
Controller:
create initial Destination (** configurable; MainMenuView by default)
infinite while loop:
next_destination.run()
Destination.run():
** Destination._instantiate_view():
instantiate View
** Destination._run_view():
View.run():
do some setup
@kdmukai
kdmukai / README.md
Last active March 18, 2023 02:48
Creating a custom SeedSigner SD card image

Configure the SD card on a dev SeedSigner.

Bring the SD card over to a Mac and run:

diskutil list

and identify the name of the SD card (e.g. /dev/disk4).

Unmount the SD card and run dd to copy its contents:

@kdmukai
kdmukai / README.md
Last active April 27, 2025 20:00
Configuring a Raspberry Pi to relay an ethernet-connected device over wifi to a Tailscale exit node

The problem

You want a device, let's call it a BRoku, to route its traffic through your home IP even though it's actually physically located in someone else's house on their wifi network.

The solution

  • BRoku connects over wired ethernet directly to a Raspberry Pi (3B+ or 4).
  • Raspi connects to local wifi.
  • Raspi's traffic is routed to a Tailscale exit node (potentially another Raspi) in your home LAN.
@kdmukai
kdmukai / README.md
Last active February 2, 2023 00:45
Airgapped NIP-26 Nostr key delegation via SeedSigner
@kdmukai
kdmukai / README.md
Last active September 28, 2024 14:41
Airgapped Nostr event signing via SeedSigner
@kdmukai
kdmukai / README.md
Last active March 14, 2025 18:00
Generate a new airgapped Nostr key via SeedSigner

Generate a new airgapped Nostr key via SeedSigner

Create a new key with your own entropy, save it as a standard bitcoin BIP-39 mnemonic phrase and/or SeedQR, then export for use in Nostr.


Demo of Keith's experimental Nostr integration.

Other posts:

  • Generate a new airgapped Nostr key via SeedSigner