GithubHelp home page GithubHelp logo

bitcoinarmory-daemon's Introduction

BitcoinArmory-Daemon

No Longer Maintained! as of 2013-15-01

Please consult the BitcoinArmory project for the new daemon.

This repository is kept as a reference for the purposes of the original author.


BitcoinArmory-Daemon provides a JSON-RPC interface to Armory which is suitable for use on webservers and other instances where a GUI is not desired.

Installation

  • Install dependencies, including armory dependencies (see below).
  • Download and extract the files.
  • Copy your watch-only wallet to the same directory as you extracted the source.

How To Use

Ensure bitcoind is running.

Start the bitcoind-daemon json-rpc server

$ python armory-daemon.py

Run this command from the directory the source was extracted to.

Now any client can access through jsonrpc. See https://en.bitcoin.it/wiki/API_reference_(JSON-RPC) for examples of how to run a json-rpc client.

The default port for the rpc server is 7070, and can be changed in armory-daemon.py

Available Methods

getbalance()

Returns a decimal value in BTC for the total remaining balance in the wallet.

getnewaddress()

Returns the next address in the wallet as a string.

getreceivedbyaddress(address)

Returns a decimal value in BTC for the amount received by the address.

sendtoaddress(address, amount)

amount is a decimal value in BTC. Returns an unsigned transaction as a string. Implementation of signing and broadcasting is left to the client.

Dependencies

The usual armory dependencies still apply, in addition to

txjson-rpc

$ sudo pip install txJSON-RPC

More info at https://launchpad.net/txjsonrpc

bitcoinarmory-daemon's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.