Bitcoin Forum
July 24, 2017, 08:59:03 PM *
News: BIP91 seems stable: there's probably only slightly increased risk of confirmations disappearing. You should still prepare for Aug 1.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin receiving address from command line?  (Read 3892 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
Decentralized search
Search for products or services and get paid for it
pre-sale Token CAT
25 July 50% discount
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1500929943
Hero Member
*
Offline Offline

Posts: 1500929943

View Profile Personal Message (Offline)

Ignore
1500929943
Reply with quote  #2

1500929943
Report to moderator
1500929943
Hero Member
*
Offline Offline

Posts: 1500929943

View Profile Personal Message (Offline)

Ignore
1500929943
Reply with quote  #2

1500929943
Report to moderator
1500929943
Hero Member
*
Offline Offline

Posts: 1500929943

View Profile Personal Message (Offline)

Ignore
1500929943
Reply with quote  #2

1500929943
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: 1372


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: 1372


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: 1498



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!