Bitcoin Forum
December 05, 2016, 12:25:32 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin receiving address from command line?  (Read 3402 times)
kabads
Newbie
*
Offline Offline

Activity: 6


View Profile
July 04, 2011, 09:34:05 AM
 #1

I have a headless remote box which is running bitcoin. I'm running the server - is there a command line I can use to find out the receiving address?

I've tried:

adam@XXXXX:~/.bitcoin/bitcoin-0.3.23/bin/64$ ./bitcoind getaccountaddress
error: {"code":-1,"message":"getaccountaddress <account>\nReturns the current bitcoin address for receiving payments to this account."}

but there it seems like it wants an address. I'm not sure what else to give it.


Thanks in advance.

Adam
1480897532
Hero Member
*
Offline Offline

Posts: 1480897532

View Profile Personal Message (Offline)

Ignore
1480897532
Reply with quote  #2

1480897532
Report to moderator
1480897532
Hero Member
*
Offline Offline

Posts: 1480897532

View Profile Personal Message (Offline)

Ignore
1480897532
Reply with quote  #2

1480897532
Report to moderator
1480897532
Hero Member
*
Offline Offline

Posts: 1480897532

View Profile Personal Message (Offline)

Ignore
1480897532
Reply with quote  #2

1480897532
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480897532
Hero Member
*
Offline Offline

Posts: 1480897532

View Profile Personal Message (Offline)

Ignore
1480897532
Reply with quote  #2

1480897532
Report to moderator
Bth8
Newbie
*
Offline Offline

Activity: 17



View Profile
July 04, 2011, 10:05:55 AM
 #2

Pass it the account's label.

1QAaq6YbMbbNb6QrsjDvCNkUAgWpLhmqQq
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x18B86F8EC85CFDBF)
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
July 04, 2011, 10:09:07 AM
 #3

If you need the accounting feats then pass it an account label. Otherwise just use getnewaddress.

kabads
Newbie
*
Offline Offline

Activity: 6


View Profile
July 04, 2011, 11:08:54 AM
 #4

I'm not sure of the accounting lable - I've never assigned one - is there a way to make one?
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
July 04, 2011, 11:47:01 AM
 #5

They're created automatically when you request an account-associated address.

deepceleron
Legendary
*
Offline Offline

Activity: 1470



View Profile WWW
July 04, 2011, 02:53:33 PM
 #6

For addresses that have received payments:

bitcoin listreceivedbyaddress

for a new address:

bitcoin getnewaddress

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!