Bitcoin Forum
May 06, 2024, 09:41:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin core ubuntu server  (Read 101 times)
david739 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 1


View Profile
January 03, 2022, 04:56:27 PM
 #1


 hi i need to create a btc wallet in another form but i haven't found any command information except this one

./bitcoin-cli getnewaddress

bc1qfe8y4q9lcmqakem98v5uvezs97gmhd820csvpg

but I need it in this form 3KcvE7hcqTAGyEbZxtn5swfqbr7TZVe7WT



Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
January 04, 2022, 12:06:34 AM
 #2


 hi i need to create a btc wallet in another form but i haven't found any command information except this one

./bitcoin-cli getnewaddress

bc1qfe8y4q9lcmqakem98v5uvezs97gmhd820csvpg

but I need it in this form 3KcvE7hcqTAGyEbZxtn5swfqbr7TZVe7WT

See the RPC docs here: https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/getnewaddress/

What you want is address_type "p2sh-segwit":

./bitcoin-cli getnewaddress -addresstype p2sh-segwit
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!