salvatoshi's avatar
salvatoshi
npub157y6...60gr
#bitcoin
salvatoshi's avatar
salvatoshi 1 year ago
If you often use regtest, you often need to manually mine blocks to test things. If you're on linux, add this to ~/.bashrc: ``` mine() { if [ "$#" -eq 0 ]; then bitcoin-cli -regtest -generate 1 else bitcoin-cli -regtest -generate "$1" fi } alias mine=mine ``` Now you can write: ``` $ mine ``` to mine a block, or: ``` $ mine 100 ``` to mine 100 blocks and make your Liana timelocks expire. Another useful alias for .bashrc: ``` alias lastblock='bitcoin-cli -regtest getblock $(bitcoin-cli -regtest getbestblockhash) 2' ``` So you can just write 'lastblock' on the terminal to see all the transactions in the last block. Please reply below with your best regtest aliases and scripts.
salvatoshi's avatar
salvatoshi 2 years ago
I use Amethyst and Phoenix. Can I use it to receive zaps? If not... why not?
salvatoshi's avatar
salvatoshi 2 years ago
Is there any tool to automate posting on both Nostr and Twitter?
salvatoshi's avatar
salvatoshi 2 years ago
Suppose that you could program your hardware signing device to do anything (and that it was extremely easy). What would you build?
salvatoshi's avatar
salvatoshi 2 years ago
How many people read me on Nostr? Should I post here more often?
salvatoshi's avatar
salvatoshi 3 years ago
Is there a curated list of non-twitter-clone applications that are being built on nostr?