THE FOLLOWING WALLET COMPROMISES SAFE BITCOIN HANDLING FOR (VERIFIABLE) SIMPLICITY!
Use at your own risk, preferably with small amounts of bitcoin. Avoid using this wallet ONLINE with large amounts of assets.
OFFLINE use is SMART.
-
basic knowledge of NodeJS, study / verify the code, then:
npm install
-
run wallet-address-sign.js as is to obtain your key (and store safely!)
-
edit wallet-address-sign.js to use the key generated in step 1 (and delete afterwards appropriately!)
-
send bitcoin to the generated address (check if received / confirmed: https://mempool.space/address/PutAddressHere)
-
you have bitcoin!
-
use address to generate your desired (unsigned) CNTRPRTY transaction hex (you can use: xcp.dev/wallet)
-
input the generated unsigned hex into wallet-address-sign.js
-
run wallet-address-sign.js to generate a signed transaction hex
-
finally broadcast your signed transaction (https://mempool.space/tx/push)
Script based on counterwallet.