Bitcoin Forum
December 15, 2024, 07:30:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bash command  (Read 587 times)
brunozisterer (OP)
Full Member
***
Offline Offline

Activity: 265
Merit: 100



View Profile
April 17, 2013, 04:14:21 AM
 #1

Question: Is there a bash command to produce priv. btc keys ?
Justin00
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
April 17, 2013, 12:50:34 PM
 #2

if your using the main client their are sum commands you can run to do a bunch of things
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

You could put them into bash scripts i suppose..

tiktoc
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
April 17, 2013, 07:27:03 PM
 #3

Do you mean generate a new address, or get a private key from a address already in the wallet?

generate a new address in the default account wallet is on the command line
if on unix
Code:
bitcoind getnewaddress ""

to get the private key of a address

Code:
bitcoind listaddressgroupings

Find the address you are looking for in the list and copy it.

Code:
bitcoind dumpprivkey <paste the  copied address here>


You can do the same in the debug window in bitcoin-qt
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!