Git Product home page Git Product logo

zerolink-util's Introduction

Zerolink Utility (outdated)

I'm still wrapping my head around the protocol and API so this may not be entirely correct but its not giving any errors so ¯\_(ツ)_/¯

Setup

  1. Make sure you have Bitcoin Core running.

  2. Make sure you have a native segwit output in Bitcoin Core.

Usage

from zerolink import client

zl = client.ZeroLink()

zl.postInputs()

zl.postConfirmation(loop=True)

zerolink-util's People

Contributors

kelbie avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

22388o

zerolink-util's Issues

sometimes getting: "Invalid blinded output hex."

"Invalid blinded output hex."
2018-06-13 17:48:02 - Post Input(s) - <Response [400]>
lines: 
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "../zerolink/client.py", line 110, in postConfirmation
    self.reference["uniqueId"],
TypeError: string indices must be integers

Not sure what triggers it right now because it only sometimes throws this error.

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.