Public testnet RPC nodes

8 replies 310 views
Posts: 12 · Reputation: 184
#1Feb 8, 2024, 04:31 PM
Is there a way to send testnet coins to someone without needing to run my own full testnet node, but still using bitcoin-cli? I'm looking for any public RPC nodes that I can use to broadcast transactions or send coins. I tried a few URLs from Electrum's list and 1ml.com, but no luck there. So, is there a way to do this? I want a command-line method to use from my shell. I've got an address with some coins and the private key ready. Appreciate any help.
6 Reply Quote Share
Posts: 12 · Reputation: 184
#2Feb 8, 2024, 05:01 PM
Okay found this - https://mempool.space/testnet/docs/api/rest#post-transaction More full RPC open nodes are welcome - Thanks.
0 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#3Feb 8, 2024, 07:24 PM
Why not use Electrum's Command Line?
0 Reply Quote Share
Posts: 12 · Reputation: 184
#4Feb 10, 2024, 01:05 AM
I am using the portable version, not sure why it does not provide me with cmdline option - only gives a console through the GUI.
4 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#5Feb 11, 2024, 01:07 PM
If you don't specify any argument, it'll open the GUI by default. But if you run electrum-4.5.4-portable.exe --help on cmd, it should show basic information about using CLI version.
4 Reply Quote Share
Posts: 12 · Reputation: 184
#6Feb 12, 2024, 10:59 PM
Hi I have tried --help. That was the first thing I did. It does not display anything. I have clean installed it on a *nix box - not portable version and I got it working using CLI. I still feel bitcoin-cli is a faster option. Wish there was a way to use electrum's RPC testnet  URL with bitcon-cli. Thanks
1 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#7Feb 15, 2024, 07:13 AM
In Windows, it'll work in the installer version using the "debug" executable which is inside the install directory. If you want to use it like the pre-compiled Portable executable, add -P or --portable arg when starting the daemon and when issuing commands.
3 Reply Quote Share
LuckyCoinLegendary
Posts: 832 · Reputation: 4795
#8Feb 15, 2024, 10:40 AM
So basically, as long as you have a tool that can create and sign a testnet raw transaction from scratch, and some service that will push the transaction for you, then you are covered. For the first, zpywallet will work just fine as long as you have the outpoints i.e. inputs (make sure you use the master branch). As for testnet broadcasting, you can use the mempool.space link above, or you can use Electrum, or use a public bitcoin node with RPC enabled like this one.
2 Reply Quote Share
Posts: 12 · Reputation: 184
#9Feb 15, 2024, 03:01 PM
I had already done that. I used bitcoin-cli, but will try zypwallet as per your recommendation. Yes I am aware and was looking for an option for that since I have already the raw transaction. So mempool.space  is what I tried after I tried quicknode.com but they ( quicknode.com ) are so shameless - they wanted my credit card number and wanted to conduct KYC for using testnet! I will try this https://www.coinsdo.com/en/free-rpc-nodes Publicly usable RPC nodes are rare! I  think there should be an option to disallow / filter / locking up certain commands like looking up the private key - then maybe people might let others use their endpoints.
1 Reply Quote Share

Related topics