Bitcoin Forum
November 30, 2026, 06:47:32 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best testnet to practice PSBT  (Read 147 times)
takuma sato (OP)
Hero Member
*****
Offline

Activity: 930
Merit: 841


View Profile
November 26, 2026, 04:58:23 AM
 #1

I use 2 Bitcoin Core instances on each laptop, one for the online watch-only wallet and the other for the airgap offline wallet. I want to practice PSBT with the latest version which apparently has been improved since I tried it last time, as I wasn't getting a proper 1:1 watch-only wallet on the online laptop as it lacked labels so I had no idea what address what was and it made it unusable for me, plus there was the problem of the transactions not being set in order. Anyway apparently this has been fixed. I wanted to practice with some fake coins in a real network. I have testnet3 and testnet4 synced, and now there's testnet5, but apparently it's designed for Bitcoin applications or something. If I just want to use good ole transactions and just want to practice PSBT with the 2 laptops without the risk of screwing up real funds, what is the best tesnet?

I know there's regtest and some other local stuff but I never got around this and just ended up syncing a testnet and testing there.
Antidote47k
Full Member
***
Offline

Activity: 182
Merit: 182


Spinly.io - Next-gen Crypto iGaming Platform


View Profile
November 26, 2026, 06:05:23 AM
Merited by pooya87 (5), Cookdata (1)
 #2

If I just want to use good ole transactions and just want to practice PSBT with the 2 laptops without the risk of screwing up real funds, what is the best tesnet?
I’d recommend signet as bitcoin core official offline signing tutorial used it for this type of workflow you’re describing which involves two-host PSBT, also it’s a public test network with more predictable block production compared to the traditional proof-of-work testnets.
Bitcoin Core: Offline Signing Tutorial⁠

Regtest is also interesting, you can use it to carry out controlled PSBT experiments, you can generate blocks, fund and repeat transactions without depending on public network activity.

Quote
I want to practice PSBT with the latest version which apparently has been improved since I tried it last time, as I wasn't getting a proper 1:1 watch-only wallet on the online laptop as it lacked labels so I had no idea what address what was and it made it unusable for me,
Wallet labels are classified under wallet metadata so it’s not standard PSBT transaction field, PSBT was designed to carry transactions and signing information, not sure it’ll automatically synchronize all wallet organization details between separate wallet instances.

nc50lc
Legendary
*
Offline

Activity: 3346
Merit: 9400


Self-proclaimed Genius


View Profile
November 27, 2026, 04:12:37 AM
Merited by ABCbits (1)
 #3

If I just want to use good ole transactions and just want to practice PSBT with the 2 laptops without the risk of screwing up real funds, what is the best tesnet?
Since you already synced TestNet 3 and 4, and RegTest isn't an option;
Then go for testnet4.

Testing PSBT doesn't strictly require a specific network.
It's mostly the creation, signing and broadcast part that's used to test it.

Getting confirmation isn't that much important on its test workflow, so those network's slow average confirmation time shouldn't be an issue.
If you want to check that it's standard, use the default policies and your node will reject a non-standard/malformed transaction upon broadcast.

pooya87
Legendary
*
Offline

Activity: 4298
Merit: 12828



View Profile
November 27, 2026, 05:25:19 AM
Merited by athanred (1)
 #4

NetworkTestNet3TestNet4TestNet5SignetRegTest
Sync difficultyHardest (5.3 million blocks)Moderate (163k blocks)Easy (8.5k blocks)Moderate (330k blocks)Easiest (created locally)
ConfirmationFastFastModerately fastFast and predictable (~2.5 min target)Fastest (instant blocks)
MiningAlmost impossibleAlmost impossibleModerate (hashrate is high though)Impossible (requires authorization from a Signet signer)A piece of cake (blocks found instantly on your machine)
Finding coins to spendHardest (majority of faucets are dead, impossible to mine)Moderate (there are working faucets)Moderate (1 faucet found)Moderate (there are working faucets)Easiest (you mine it instantly yourself)

Considering the fact that in order to test PSBT you'll need:
- to sync your node (it has to be fast and cheap)
- to find new coins for free and fast to be able to spend them which may require mining it yourself
- get your sent transaction propagated and confirmed fast
I'd say the best option is RegTest first, TestNet4 or SigNet second and if you didn't like those then as the last option go for TestNet3

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
athanred
Full Member
***
Offline

Activity: 236
Merit: 469


View Profile
November 27, 2026, 05:32:39 AM
 #5

Quote
Impossible (requires authorization from a Signet signer)
Mining in signet is possible to some extent, through Proof of Work faucets, see: https://delvingbitcoin.org/t/proof-of-work-based-signet-faucet/937

Also, depending on what you need, you can always make a local signet, or change a signet challenge to be compatible with existing one. Then, you can accept for example official blocks, and your blocks, at the same time (and also test chain reorgs in this way).

Another thing is if you have testnet3 or testnet4, then you can easily mine a new block on your CPU, by just disconnecting, and waiting 20 minutes.
pooya87
Legendary
*
Offline

Activity: 4298
Merit: 12828



View Profile
November 27, 2026, 06:07:53 AM
Merited by athanred (1)
 #6

Another thing is if you have testnet3 or testnet4, then you can easily mine a new block on your CPU, by just disconnecting, and waiting 20 minutes.
It is still a complicated manipulative process and it works best if you can write the code to mine it yourself. But on top of that, a lot of others with higher hashrate are doing this which is why the blocks are always timestamped 2 hours in the future. Something that makes it even more difficult for a regular user with a CPU to mine a block using this trick.

Which means in comparison to RegTest, the RegTest wins since the mining is instant. You just click (or type the command in core's console) and 101 blocks are found in a second (101 blocks since the first reward needs to mature to be spendable).

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
Freya Noemi
Newbie
*
Offline

Activity: 6
Merit: 0


View Profile
November 28, 2026, 05:49:41 PM
 #7

Interestingly nobody has mentioned that Core 32.0 addressed the issue of creating a 1:1 watch-only wallet. New RPC command (and there is also a GUI option), ‘exportwatchonlywallet’, can now be used to export watch only wallet containing relevant public descriptors, transactions and address book; but importantly, without any private keys. This is then imported onto your online laptop using ‘restorewallet’ command. Offline signing guide has been amended to show how to utilise this feature rather than the previous ‘listdescriptors’ and ‘importdescriptors’ method.

Ensure both your laptops are running at least Core 32.0. As noted by Antidote47k, labels are still not incorporated into a PSBT. Therefore, if you add labels on one laptop, these will not be automatically transferred across. Thus, please label items prior to exporting. However, there are some restrictions on the number of derived keys included when exporting wallets which contain hardened derivation paths.

Regarding networks, I would concur with pooya87 suggestion of initially using regtest. Then for something more akin to real world scenario, either signet or testnet4 can be used.
nc50lc
Legendary
*
Offline

Activity: 3346
Merit: 9400


Self-proclaimed Genius


View Profile
November 29, 2026, 07:19:09 AM
 #8

Interestingly nobody has mentioned that Core 32.0 addressed the issue of creating a 1:1 watch-only wallet. New RPC command (and there is also a GUI option), ‘exportwatchonlywallet’, can now be used to export watch only wallet containing relevant public descriptors, transactions and address book; but importantly, without any private keys.
That's because it's been mentioned in two or more of takuma sato's previous threads already, even when it's still an unmerged PR.
At least on my case since I've reminded him when that feature was implemented, others might not be aware of it.

This is probably why he also mentioned that it's "improved in the latest version" and everything related is in past tense.

athanred
Full Member
***
Offline

Activity: 236
Merit: 469


View Profile
November 29, 2026, 09:37:37 AM
 #9

Quote
Which means in comparison to RegTest, the RegTest wins since the mining is instant.
Of course. But if for someone, synchronizing the whole testnet chain is easier, than just launching regtest, and building any chain from scratch, then you no longer know, what is "easy", and what is "complicated". Because if someone knows, how to launch testnet, then launching regtest is just one command line option away.

You know, in that world, this is "easy":
Code:
./bitcoin-qt --testnet
But for some reason, this is "complicated":
Code:
./bitcoin-qt --regtest

Quote
I know there's regtest and some other local stuff but I never got around this and just ended up syncing a testnet and testing there.
See? Changing command line from "testnet" to "regtest" seems to be too complex somehow. I don't know, maybe it is related to Bitcoin Core for Windows, which has a shortcut icon for testnet, and not for regtest? And then, in that context, maybe it is easier to click the icon in the bottom right corner, disable network activity, and wait 20 minutes, than to change command line options? I don't know, I can only guess.
Freya Noemi
Newbie
*
Offline

Activity: 6
Merit: 0


View Profile
November 29, 2026, 03:28:19 PM
 #10

That's because it's been mentioned in two or more of takuma sato's previous threads already, even when it's still an unmerged PR.
At least on my case since I've reminded him when that feature was implemented, others might not be aware of it.

This is probably why he also mentioned that it's "improved in the latest version" and everything related is in past tense.
Fair point, I wasnt aware it had come up in his earlier threads. Thanks for clarifying.
takuma sato (OP)
Hero Member
*****
Offline

Activity: 930
Merit: 841


View Profile
Today at 05:27:01 AM
 #11

Interestingly nobody has mentioned that Core 32.0 addressed the issue of creating a 1:1 watch-only wallet. New RPC command (and there is also a GUI option), ‘exportwatchonlywallet’, can now be used to export watch only wallet containing relevant public descriptors, transactions and address book; but importantly, without any private keys. This is then imported onto your online laptop using ‘restorewallet’ command. Offline signing guide has been amended to show how to utilise this feature rather than the previous ‘listdescriptors’ and ‘importdescriptors’ method.

Ensure both your laptops are running at least Core 32.0. As noted by Antidote47k, labels are still not incorporated into a PSBT. Therefore, if you add labels on one laptop, these will not be automatically transferred across. Thus, please label items prior to exporting. However, there are some restrictions on the number of derived keys included when exporting wallets which contain hardened derivation paths.

Regarding networks, I would concur with pooya87 suggestion of initially using regtest. Then for something more akin to real world scenario, either signet or testnet4 can be used.

What do you mean about the labels? I thought that this latest version solved this. So if I make a transaction and label it like "sent to Coinbase" from the online laptop, then on the watch-only, it will show up as "sent to Coinbase" in label, but once I send the PSBT file to the offline wallet, then the corresponding address will not have "sent to Coinbase" because the PSBT file does not carry this Label information? Well, it would be useful to have to get the change address with this label showing up on your offline node wallet, so you know that this change address corresponds as change from this transaction that was sent to Coinbase. Or perhaps this should correspond to what the original funds were from. Like if you are sending coins that you earned in a signature campaign, like "Bitcointalk signature campaign" and you have it showing up like that on your offline node wallet, and you want to send a portion of this to say Coinbase, how would you frame this whole thing to keep track of the funds and know what's going on?

If let's say I have 0.2 BTC from "Bitcointalk signature campaign" and I create the watch-only wallet. According to achow, it does now a perfect 1:1 copy so I would have the watch-only wallet showing up with the 0.2 BTC with the correct "Bitcointalk signature campaign" and correct date. Okay everything is ok and synced and ready to send. I have the 2 laptops opened, an so I proceed to do the PSBT.

I create the PSBT file using Coin Control and selecting 0.1 BTC from this "Bitcointalk signature campaign" labeled address from the watch-only wallet laptop, and I ge this PSBT file inside an usb key (encrypted for good measure). I put it on the offline laptop, decrypt it and load it with the offline Bitcoin Core, I sign it, and now I have this file ready to be broadcasted, so I encrypt it again, put it on the USB, and load it on the online Bitcoin Core, and I can click this button (not my screenshot, example)



The transaction is completed. Now, I should receive 0.1 BTC as change. Thanks to Coin Control in the Tree mode, I can easily see that this is change that corresponds to "Bitcointalk signature campaign", so for future transactions, I know I still have 0.1 BTC left that come from these "Bitcointalk signature campaign" earnings, however, this will not show up in the offline wallet. In theory I have these funds, because I own any generated change addresses, as the watch-only comes from the offline wallet's seed, but for sanity I would like to at all times have a 1:1 copy on the offline wallet of what im seeing on the online wallet, that is to say, I want to see that 0.1 BTC corresponding to the "Bitcointalk signature campaign" address and it's change address. This is how im not sure how to proceed. Basically, I want to be able to have things properly stored and labeled on both watch-only and offline wallet, so I know what im doing and im spending, and for peace of mind, see that the private key is there properly labeled with it's corresponding label and any derived change addresses that correspond to each amount.

I hope all of this makes sense. It's just that this PSBT gives me PTSD (no pun intended) of doing things in one wallet that are not properly label in the other wallet and accidentally moving funds that shouldn't have been moved, or mislabeling things, change addresses or something. Would like to know your workflows for anyone that uses 2 Bitcoin Cores and how to go about this to keep a perfect tidied up record of things on both ends.
takuma sato (OP)
Hero Member
*****
Offline

Activity: 930
Merit: 841


View Profile
Today at 05:31:40 AM
 #12

Quote
Which means in comparison to RegTest, the RegTest wins since the mining is instant.
Of course. But if for someone, synchronizing the whole testnet chain is easier, than just launching regtest, and building any chain from scratch, then you no longer know, what is "easy", and what is "complicated". Because if someone knows, how to launch testnet, then launching regtest is just one command line option away.

You know, in that world, this is "easy":
Code:
./bitcoin-qt --testnet
But for some reason, this is "complicated":
Code:
./bitcoin-qt --regtest

Quote
I know there's regtest and some other local stuff but I never got around this and just ended up syncing a testnet and testing there.
See? Changing command line from "testnet" to "regtest" seems to be too complex somehow. I don't know, maybe it is related to Bitcoin Core for Windows, which has a shortcut icon for testnet, and not for regtest? And then, in that context, maybe it is easier to click the icon in the bottom right corner, disable network activity, and wait 20 minutes, than to change command line options? I don't know, I can only guess.

Because the concept of an actual online blockchain with "fake coins" is easier to understand than some locally generated blockchain. How do I know the blockchain I generated locally on laptop 1 is the same as the one in laptop 2 so I can test this PSBT workflow there? etc. I would need to read on this and see how this works, but everytime I've needed to test something I just synced testnet3 (now 4) and end up doing whatever thing there because I didn't have the time to read how this local mining thing works and so on.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!