Bitcoin Forum
December 15, 2024, 11:53:32 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Open testnet URLs  (Read 170 times)
ascqrwasc33 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
May 07, 2024, 05:44:53 AM
Last edit: May 07, 2024, 05:58:59 AM by ascqrwasc33
 #1

Is it possible to send testnet coins to someone without running a testnet full node yourself BUT using bitcoin-cli?
I am wondering if there are any public RPC nodes (open) that would let me broadcast a transaction / send coins.
I tried some urls from electrum's list and 1ml.com but no luck. Is what I need possible? I need a command-line solution that I can use from my shell. I have an address with coins and the private key. Thanks.
ascqrwasc33 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
May 07, 2024, 06:23:20 AM
 #2

Okay found this - https://mempool.space/testnet/docs/api/rest#post-transaction
More full RPC open nodes are welcome - Thanks.
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17829


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 07, 2024, 06:53:31 AM
 #3

I need a command-line solution that I can use from my shell.
Why not use Electrum's Command Line?

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
ascqrwasc33 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
May 07, 2024, 07:50:37 AM
 #4

I am using the portable version, not sure why it does not provide me with cmdline option - only gives a console through the GUI.
ABCbits
Legendary
*
Offline Offline

Activity: 3094
Merit: 8186


Crypto Swap Exchange


View Profile
May 07, 2024, 09:22:45 AM
Merited by pooya87 (2), LoyceV (2)
 #5

I am using the portable version, not sure why it does not provide me with cmdline option - only gives a console through the GUI.

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ascqrwasc33 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
May 07, 2024, 10:22:55 PM
 #6

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
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6513


Self-proclaimed Genius


View Profile
May 08, 2024, 03:48:13 AM
 #7

I am using the portable version, not sure why it does not provide me with cmdline option - only gives a console through the GUI.
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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1820
Merit: 7478


Top Crypto Casino


View Profile WWW
May 09, 2024, 05:59:07 AM
 #8

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.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ascqrwasc33 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
May 11, 2024, 04:06:28 AM
Last edit: May 11, 2024, 09:33:50 AM by ascqrwasc33
 #9

as long as you have a tool that can create and sign a testnet raw transaction
I had already done that. I used bitcoin-cli, but will try zypwallet as per your recommendation.

"some service that will push the transaction for you"

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.
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!