Giter Site home page Giter Site logo

counterpartyws's Introduction

counterpartyws

A simple webserver + HTML GUI for Counterparty

Requirement

  • you must have bitcoind running with txindex=1 and server=1 in config file

OR

Quick install

brew update
brew install sqlite

pip3 install bottle appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1
pip3 install https://github.com/rogerbinns/apsw/archive/master.zip

git clone --recursive https://github.com/JahPowerBit/counterpartyws.git

python3 counterpartyws.py -h

Run as heavy GUI

You must have bitcoind running. Counterpartyd follows blocks and uses local sqlite database to compose transaction.

screen -S follower
python3 followblocks.py
ctrl+a+d

screen -S counterpartyws
python3 counterpartyws.py
ctrl+a+d

Run as light GUI

You must have pyrpcwallet running and set composer-host and composer-port in config file. Counterpartyws uses distant counterpartyws running as Transactions Composer.

screen -S pyrpcwallet
python3 pyrpcwallet.py
ctrl+a+d

screen -S counterpartyws
python3 counterpartyws.py --light
ctrl+a+d

Run as Transactions composer

You must have bitcoind running.
Used by light counterpartyws to compose transactions.

screen -S follower
python3 followblocks.py
ctrl+a+d

screen -S counterpartyws
python3 counterpartyws.py --composer
ctrl+a+d

Configuration file

OS Path
MacOS ~/Library/Application Support/counterpartyd/counterpartyd.conf
XP C:\Documents and Settings\username\Application Data\counterpartyd\counterpartyd.conf
Vista, 7 C:\Users\username\AppData\Roaming\counterpartyd\counterpartyd.conf
Linux ~/.config/counterpartyd/counterpartyd.conf
[Default]
bitcoind-rpc-connect=192.168.2.254
bitcoind-rpc-port=8332
bitcoind-rpc-user=xxxxx
bitcoind-rpc-password=xxxxx
rpc-password=xxxxx

gui-host=localhost
gui-port=8080
gui-user=xxxxx
gui-password=xxxxx

composer-host=xcpcomposer.jahpowerbit.org
composer-port=8332

Todo

  • add the ability to request several composer server and compare result
  • decode localy the transaction generated by the server
  • write tests

counterpartyws's People

Contributors

wseng avatar

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.