I am running docker container with bitcoin node and want to create a new account, but I can't find good documentation about bitcoin RPC methods.
Bitcoin how to create a new account via RPC
1k Views Asked by JoshA At
2
There are 2 best solutions below
1
Lemon
On
You can create a new Bitcoin address by running the following command:
bitcoin-cli getnewaddress
You can also do the same using cURL:
curl --user myrpcusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
More information here
Related Questions in EXCHANGE-SERVER
- Create Exchange Message Items with EWS and mark them for deletion
- How to import meetings into office365 (EWS and Powershell?)
- EWS Service.FindItems() throws an exception when using SearchFilter.IsEqualTo
- Is there any way to get the list of available equipment in exchange server?
- How to download >1 MB Email attachment using EWS in C#
- Access Exchange mailbox information
- Programmatically determining whether or not Exchange is installed
- How to read from exchange server asynchronously using IMoniker and IStream Interface
- EWS Office 365 Impersonation not working
- calendar schedule request send to the user is accepted or not?
- Run Script to Append Subject and Body of Email
- Java - get contacts from outlook
- Create contacts in Exchange through EWS
- ActiveSync Co-existence failing
- perl office365 imap TLS access not working using IMAPClient
Related Questions in BLOCKCHAIN
- Blockchain receive API with same address
- panic: runtime error: invalid memory address or nil pointer dereference when running Blockchainr
- Cannot "Query" hyperledger-fabric, error code -32003
- Why is transactions not always record to the block? - Blockchain PBFT
- Hyperledger on Bluemix: Failed to launch chaincode spec(Could not get deployment transaction
- Connect to Multichain network using aws EC2
- Deploying Ethereum Private Network
- Does the "holy trinity" (Ethereum, Swarm and Whisper) support multimedia streaming?
- Hyperledger Fabric v0.6 using Docker Toolbox
- What is the ibm bluemix blockchain port for events?
- Unable to deploy Hyperledger Java chaincode via Github
- How to accurately measure the effort required to reduce a λ-term?
- IBM Blockchain (Hyperledger) - "Error when deploying chaincode"
- Transaction via Blockchain API using Multiple recipients
- Computing acoustic fingerprint in a distributed manner without exposing the whole file to any participant
Related Questions in BITCOIN
- Blockchain receive API with same address
- Unable to convert variable to GMP when initializing Bitpay client class (Laravel)
- Creating "wallets" for users with BlockCypher
- Transaction on bitcoin address derived from bitcoinjs-lib not showing in Bitcoin core
- How to event when BitcoinJ instance shut down before the transaction is confirmed?
- Connect to Multichain network using aws EC2
- Restart bitcoind daemon in case of crash with node.js code
- Bitcoin: How to check payment received on many bitcoin addresses
- (0.7/0.001)%10 is not returning 0
- Why is there no main() in bitcoin source?
- Send Multiple GET Requests to Server:80 port Simultaneously
- Transaction via Blockchain API using Multiple recipients
- Having trouble getting a specific value in JSON/PHP
- Bitcoin implementation with laravel
- com.coinbase.api.exception.UnauthorizedException
Related Questions in CRYPTOCURRENCY
- Unable to run the smartContract using Truffle Console. Getting error
- Is it possible to issue token with 0 transaction fees?
- Address without transactions in Blockchain
- Truffle contract deployment stuck
- How to use get_orderbook_tickers for a specific symbol?
- i am getting the error in truffle but in online compiler(remix)there is not showing any error in this keyword and selfdestruct function
- Proofs for UTXO set with Utreexo accumulator
- Tron fee estimation bofore confirming transaction
- Are there several implementations of the Stratum mining protocol?
- Conducting transactions on Bitcoin and Tron platforms with PHP
- How do I fix "retCode":170003 error using ccxt and bybit?
- How to get all accounts from near protocol blockchain?
- Is it possible to add Voltichange Widget to Android Java App
- Using websockets with thread in Python (for cryptocurrency trading)
- Issue with Backtesting.py - Why Sharpe, Sortino and Calmar Ratio all show 0?
Related Questions in BITCOIND
- Why does it take so long to run: bitcoind -reindex -txindex -debug=net -printtoconsole
- Transaction on bitcoin address derived from bitcoinjs-lib not showing in Bitcoin core
- When does walletnotify event occur on bitcoind
- Bitcoin api - how to create wallet
- How to extract all used hash160 addresses from Bitcoin blockchain
- How to recognise a deleted account from the GuldenD response
- How to get received/sent transactions from bitcoin core?
- bitcoin JSON-RPC Api requests in React native?
- Bitcoin core on osx and bitcoinlib socket error
- Is there a general way to get difficulty from any cryptocurrency coin?
- How can I get the number of all bitcoins in the network?
- How can I know the address that sent the BTC?
- Canceling a Bitcoin transaction
- Access Bitcoin Daemon from Another Server
- Coinpunk / Bitcoind / OSX Running on local machine error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To create account using RPC run:
Or, you can specify account and get this address assigned to new address:
I've found it here - Bitcoin cryptocurrency node administration guide
Also, if you running docker container don't forget to publish container's port (like
docker run -p "127.0.0.1:8332:8332")