Skip to content

Instantly share code, notes, and snippets.

@themikemoniker
themikemoniker / a1.md
Created April 2, 2025 03:12
postmarketOS + Bitcoin Core on Xiaomi Mi A1 (tissot)

✅ postmarketOS + Bitcoin Core on Xiaomi Mi A1 (tissot)

Date: April 02, 2025
Device codename: tissot
PostmarketOS Channel: edge
UI: console (no touchscreen)
Username: jordan


@themikemoniker
themikemoniker / gist:4ccc703c86dd87a0ab7ab6e504797066
Created November 9, 2024 22:04
Creating testnet bitcoin wallet with Electrum
1. Install Electrum via Homebrew
To install Electrum using Homebrew, run the following command:
brew install –cask electrum
This will download and install Electrum on your macOS system.
2. Run Electrum in Testnet Mode
Once installed, start Electrum in testnet mode by running:
/Applications/Electrum.app/Contents/MacOS/run_electrum –testnet
You should see [testnet] in the title bar of the Electrum window, indicating it is running on the Bitcoin testnet.
3. Create a New Wallet
When Electrum opens in testnet mode, follow these steps to create a new wallet:
@themikemoniker
themikemoniker / bitcoin-psbt-guide.md
Last active October 31, 2024 04:32
Step-by-Step Guide to Creating, Signing, and Broadcasting Bitcoin PSBT Transactions

Step-by-Step Guide to Create, Sign, and Broadcast a Bitcoin PSBT Transaction

This guide walks you through creating a PSBT from an existing transaction, reducing the change output, and broadcasting the transaction.


Step 1: Obtain the Transaction ID If you have a pending channel or transaction, start by obtaining the transaction ID (txid) for the input UTXO. This may be done using relevant blockchain explorer tools or directly through bitcoin-cli commands.