Git Product home page Git Product logo

pushtx's Introduction

Pushtx by Umpei Kay Kurokawa
v 0.0 

INTRODUCTION:

This tools is for pushing transactions out into various cryptocurrency networks.

Coded with Python 2.7 and tested with Ubuntu 12.04/14.04. No support for Python 3 yet.  


CURRENT FEATURES:

Connect to Bitcoin/Litecoin/Dogecoin/Dashpay nodes and broadcast transactions 

USAGE:

pushtx.py [-h] [-num_peers P] [-addresses [Address]]
                 Crypto_Name Hex_transactions [Hex_transactions ...]

Command line interface for pushtx

positional arguments:
  Crypto_Name           Name of the cryptocurrency (Supports: ['bitcoin',
                        'litecoin', 'dogecoin','dashpay', 'bitcoin_testnet',
                        'litecoin_testnet', 'dogecoin_testnet','dashpay_testnet'])
  Hex_transactions      List of hex transactions to broadcast

optional arguments:
  -h, --help            show this help message and exit
  -num_peers P          Number of peers P to broadcast to
  -addresses [Address]  Comma seperated list of addresses to connect to (do
                        not use white space to seperate addresses)

Example: python pushtx.y bitcoin [transation in hex]

This will connect to crypto nodes and broadcast the transactions. Note that there is no check done on the transaction's validity, so this is useful for sending some transactions that would be labeled as invalid by bitcoind or blockchain.info's pushtx (i.e, tx's utilizing OP_RETURN).


You can also use pushtx_server.py to keep peer connections open and than use pushtx_client.py to push out new transactions for better efficiency.


KNOWN ISSUES:

Please submit any issues you find at https://github.com/kaykurokawa/pushtx/issues



pushtx's People

Contributors

kaykurokawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pushtx's Issues

Error

Traceback (most recent call last):
File "pushtx.py", line 49, in
main()
File "pushtx.py", line 46, in main
pushtx(crypto,num_peers_to_send,tx_list,addresses)
File "pushtx.py", line 16, in pushtx
num_tx_broadcasts=num_peers_to_send)
File "F:\Apache\www\TBG\pushtx-master\peersockets.py", line 64, in init
self.poller = select.poll()
AttributeError: 'module' object has no attribute 'poll'

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.