Everytime that a transaction is verified that's in a block header that you submit, you can earn some fees. See BTC Relay Incentives for Relayers.
-
pip install -r requirements.txt
-
Run an Ethereum client, unlock an account with some Ether, and enable RPC (localhost and port 8545).
-
python fetchd.py -s <YourUnlockedAccount> -r <BTCRelayAddress> -n btc --rpcPort 8545 --fetch -d --gasPrice 200000000000
use YourUnlockedAccount
If you want to set a fee, which is specified in units of wei, add --fee <weiAmount>
The -d
runs in daemon mode, so remove it if undesired.
Before pip install -r requirements.txt
you may want to use a virtualenv and
may need to do the following:
sudo apt-get install python-pip python-dev libssl-dev
pip install virtualenv
Then these steps:
$ cd my_project_folder
$ virtualenv venv
$ source venv/bin/activate
http://docs.python-guide.org/en/latest/dev/virtualenvs/
See full MIT License including:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.