counterpartyxcp / picopayments-hub Goto Github PK
View Code? Open in Web Editor NEWCounterparty micropayment channels
License: MIT License
Counterparty micropayment channels
License: MIT License
When starting the hub if your counterparty username and password is not rpc:1234 then an error is thrown and need to set manually when starting
picopayments-hub --testnet --host=0.0.0.0 --cp_username=USERNAME --cp_password=PASSWORD --cp_url=http://127.0.0.1:14000/api/
@F483
When following the guide here https://github.com/CounterpartyXCP/picopayments-hub/blob/master/docs/setup.md
wget https://transfer.sh/dhrzi/counterparty-lib-9.55.1-py3-none-any.whl
pip install --use-wheel --no-index --find-links=$PWD counterparty-lib
the coutnerparty-lib recommended doesnt exist at the url
ttps://transfer.sh/dhrzi/counterparty-lib-9.55.1-py3-none-any.whl
I used counterparty-server v1.1.2; counterparty-lib v9.55.2 instead but an error was thrown during parsing
2017-08-17 00:12:19][INFO] Block: 649999 (0.03s, hashes: L:8e0c7 / TX:09972 / M:37ce7)
[2017-08-17 00:12:19][ERROR] Unhandled Exception
Traceback (most recent call last):
File “/home/forge/counterparty/env/bin/counterparty-server”, line 11, in
load_entry_point(‘counterparty-cli==1.1.2’, ‘console_scripts’, ‘counterparty-server’)()
File “/home/forge/counterparty/env/lib/python3.5/site-packages/counterpartycli/init.py”, line 16, in server_main
GitHub
CounterpartyXCP/picopayments-hub
picopayments-hub - Counterparty micropayment channels
not sure if I installed correctly but get the following error after a few seconds on
~$ picopayments-hub --testnet --host=0.0.0.0 --cp_url=http://127.0.0.1:14000/api/
1503907075.1196153 RAWTXS: {'payout': {}, 'change': {}, 'expire': {}, 'commit': {}, 'revoke': {}, 'deposit': {}}
Traceback (most recent call last):
File "/home/forge/.local/bin/picopayments-hub", line 12, in
main(sys.argv[1:])
File "/home/forge/.local/lib/python3.5/site-packages/picopayments_hub/srv.py", line 71, in main
return _start_server(parsed)
File "/home/forge/.local/lib/python3.5/site-packages/picopayments_hub/srv.py", line 52, in _start_server
ssl_context=_ssl_context(parsed)
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 739, in run_simple
inner()
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 699, in inner
fd=fd)
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 593, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 521, in init
ssl_context = generate_adhoc_ssl_context()
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 395, in generate_adhoc_ssl_context
crypto = _get_openssl_crypto_module()
File "/home/forge/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 65, in _get_openssl_crypto_module
from OpenSSL import crypto
File "/home/forge/.local/lib/python3.5/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/home/forge/.local/lib/python3.5/site-packages/OpenSSL/SSL.py", line 112, in
if _lib.Cryptography_HAS_SSL_ST:
AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.