Bitcoin Forum
December 15, 2024, 06:16:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Another method apart from bitcoin public PRC getnewaddress.  (Read 114 times)
Cleanshit (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 07, 2024, 10:02:14 PM
 #1

Good day to you all.

I was on a serious project within the week for which I needed a wallet, so I was trying to create a wallet  and secret from the Bitcoin public RPC endpoint (getBlock.io). and it seems like using this method, getnewaddress, somehow is not allowed, which means I need to create the wallet, but now I am confused, which is why I came to the right place to get my answers.

So, is there any node method available that I can use to generate wallets? Also, if anything specific to Ruby is possible,.
Any help is highly appreciated and welcomed. thanks
ranochigo
Legendary
*
Offline Offline

Activity: 3052
Merit: 4444


Crypto Swap Exchange


View Profile
May 08, 2024, 02:01:46 AM
Merited by ABCbits (1)
 #2

You should not be retrieving anything sensitive from anything that is facing the internet, it is just asking for a disaster to happen. The RPC is not allowed because they are not suppose to function like a wallet.

If you want to do so, then you should run your own instance of Bitcoin Core and then use the RPC method as intended. If not, then you should find an online wallet that provides you with an API.

█▀▀▀











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











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

Activity: 2632
Merit: 6513


Self-proclaimed Genius


View Profile
May 08, 2024, 04:52:17 AM
Merited by ABCbits (2)
 #3

I was on a serious project within the week for which I needed a wallet, so I was trying to create a wallet  and secret from the Bitcoin public RPC endpoint (getBlock.io). and it seems like using this method, getnewaddress, somehow is not allowed, which means I need to create the wallet, but now I am confused, which is why I came to the right place to get my answers.

So, is there any node method available that I can use to generate wallets? Also, if anything specific to Ruby is possible,.
Confusing indeed, "XY Problem" perhaps?
First, you need a "wallet" so you've used a third-party RPC Endpoint to try to create an "address", but it's a walletRPC so it wont work without wallet loaded.
Then with that, you're back to square one looking for a way to create a wallet. (which is a bad idea it it worked)

In your old threads, you've mentioned that you have created a wallet.dat file but don't want to download the entire blockchain.
There are good replies but you didn't replied (just like most of your topics).

So, if you do not want to use that wallet.dat file due to the blockchain requirement, use an SPV wallet and just feed your project with its "extended public key"
to be able to generate the same addresses as your wallet without exposing its private key, but most SPV wallets have limitation on the number of transactions its servers allow.
Since that is a "serious project" we know nothing about, do your extensive research about that matter.

█▀▀▀











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











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

Activity: 1820
Merit: 7478


Top Crypto Casino


View Profile WWW
May 09, 2024, 06:05:04 AM
Merited by ranochigo (1)
 #4

Do not create wallets using the Bitcoin Core RPC interface for production purposes. The reason is two-fold. First, as mentioned, it is quite insecure as among other things, RPC traffic is not encrypted by default and the authentication is sent in plaintext (?).

The second reason that doing anything with a wallet that contains many addresses will take a very long time and that is because the rescanning process causes the wallet's performance to be degraded.

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

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!