<p>The <a href="https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29#JSON-RPC">JSON-RPC</a> interface is a way for other programs to interact with Bitcoin-Qt or <code>bitcoind</code> while it's running. It's useful for doing things like mining or building a web site that needs to talk to the Bitcoin network directly. Most users don't need to worry about it or set it up.</p>

CC BY-SA 3.0
2013-06-05T17:18:33.297Z
Useful to miners you say ? Will i need this for an ASIC ?
NewBitcoiner
CC BY-SA 3.0
2013-06-05T18:59:34.917Z
You may, if you want to solo mine (I wouldn't advise that). Otherwise, no.
Colin Dean
CC BY-SA 3.0
2013-06-05T20:19:14.077Z
Why would you not advise solo mining ? Also how would i know if i need it or not while solo mining ?
NewBitcoiner
CC BY-SA 3.0
2013-06-07T01:26:42.697Z
You will need it for solo mining. I don't advise solo mining because of the inconsistency of return. You could solo mine for months or years and not see a return.
Colin Dean
CC BY-SA 3.0
2013-06-04T23:51:00.580Z
2013-06-04T23:51:00.580Z
Colin Dean
<p>I have recently finished installing the Bitcoin client. One site i was using to help guide me is called <a href="http://www.weusecoins.com/en/" rel="nofollow">http://www.weusecoins.com/en/</a>. On the mining guide section of that site it says, If you're mining on your own you need to start by setting up your Bitcoin client and set it up for JSON-RPC. I was trying to figure out what it is and how to set it up if i need it but i could not figure it out. My questions then are what is JSON-RPC and do i need it ? Is it set up by default in the original Bitcoin client ? </p>

CC BY-SA 3.0
2013-06-04T20:24:38.067Z
To answer your questions in order: Only to mine or automate payments; no.
Nick ODell
CC BY-SA 3.0
2013-06-04T21:43:33.300Z
Are you saying no its not needed or no its not set up by default ? If i need it to mine how do i enable it ?
NewBitcoiner
CC BY-SA 3.0
2013-06-05T01:53:57.007Z
You need to set up the bitcoin.conf file for it to work. You also need to make sure you allow Json-rpc commands in the .conf file. You can find a sample configuration file here:https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.conf. YOu dont need it to mine. Only if you are trying to use bitcoin data on your own site or for your custom fpga miner or something along those lines
Enthusiast
CC BY-SA 3.0
2013-06-05T17:17:51.343Z
You mentioned it could be needed for custom FPGA. What about for an ASIC from butterfly labs when it ships ?
NewBitcoiner
<client><json-rpc><mining-setup>
What is JSON-RPC and do i need it?
NewBitcoiner
# What is JSON-RPC and do i need it?

(Asked by: username_0 on 2013-06-04)

I have recently finished installing the Bitcoin client. One site i was using to help guide me is called <http://www.weusecoins.com/en/>. On the mining guide section of that site it says, If you're mining on your own you need to start by setting up your Bitcoin client and set it up for JSON-RPC. I was trying to figure out what it is and how to set it up if i need it but i could not figure it out. My questions then are what is JSON-RPC and do i need it ? Is it set up by default in the original Bitcoin client ?

**Tags:** client, json-rpc, mining-setup

> **Comments:**
> **username_1**: To answer your questions in order: Only to mine or automate payments; no.  
> **username_0**: Are you saying no its not needed or no its not set up by default ? If i need it to mine how do i enable it ?  
> **username_2**: You need to set up the bitcoin.conf file for it to work. You also need to make sure you allow Json-rpc commands in the .conf file. You can find a sample configuration file here:https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.conf. YOu dont need it to mine. Only if you are trying to use bitcoin data on your own site or for your custom fpga miner or something along those lines  
> **username_0**: You mentioned it could be needed for custom FPGA. What about for an ASIC from butterfly labs when it ships ?  

---

## 1 answers

### Answer by username_3 on 2013-06-04. Score: 5

The [JSON-RPC](https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29#JSON-RPC) interface is a way for other programs to interact with Bitcoin-Qt or `bitcoind` while it's running. It's useful for doing things like mining or building a web site that needs to talk to the Bitcoin network directly. Most users don't need to worry about it or set it up.

> **Comments:**
> **username_0**: Useful to miners you say ? Will i need this for an ASIC ?  
> **username_3**: You may, if you want to solo mine (I wouldn't advise that). Otherwise, no.  
> **username_0**: Why would you not advise solo mining ? Also how would i know if i need it or not while solo mining ?  
> **username_3**: You will need it for solo mining. I don't advise solo mining because of the inconsistency of return. You could solo mine for months or years and not see a return.  

---

