Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize bitcoin transfer api by python

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "python how to achieve bitcoin transfer api", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "python how to achieve bitcoin transfer api" bar!

Download and install OpenBazaar-Server

Install a virtual environment

$pip install virtualenv

$cd / Users/shijun/Desktop/openSourceProject/OpenBazaar-Server-master

Create a virtual environment

$virtualenv pytest-python=python2.7-no-site-packages

Activate the virtual environment

$source pytest/bin/activate

(pytest) shijundeMacBook-Pro:OpenBazaar-Server-master shijun$

Installation

$sudo pip install-r requirements.txt

Problem: the installation process encountered a timeout, continue with the installation

Question: ImportError: No module named requests

Solution: $pip install requests

test

$python openbazaard.py start-help

Start the service

$python openbazaard.py start-a 0.0.0.0

_ _

\ _

/ |\ _ / _ _\ /\ | | _ / _ _\ _ /\ _\ _

/ |\ | _ > > _ / | |\ |\ / _ _\ | |\ /

\ _ / _ > _ / (_ / _

\ / | _ _ |\ /

OpenBazaar Server 0.2.6 starting...

2018-07-02 14 failed to query seed 07 failed to query seed 59 ERROR 0800 [Server]: Signature was forged or corrupt

2018-07-02 14 failed to query seed 07 failed to query seed 59 Server] [ERROR] failed to query seed: [Errno 8] nodename nor servname provided, or not known

2018-07-02 14 no known neighbors 07 no known neighbors, so not writing to cache.

2018-07-02 14 no known neighbors 08 so not writing to cache 09 0800 [Server] [WARNING].

2018-07-02 14 08 09 0800 [-] [CRITICAL] Libbitcoin server offline

Solution: $brew install libbitcoin-server

$cd / usr/local/Cellar/libbitcoin-server/3.5.0_2/bin

$bs-initchain

06RU 37RU 04.700459 INFO [server] = startup =

06RU 37RU 04.700503 WARNING [server] = startup =

06RU 37RU 04.700646 ERROR [server] = startup =

06RU 37RU 04.700682 FATAL [server] = startup =

06Using config file 37purv 04.700717 INFO [server] Using config file: "/ usr/local/Cellar/libbitcoin-server/3.5.0_2/etc/libbitcoin/bs.cfg"

06RV 37RU 04.700818 INFO [server] Please wait while initializing "blockchain" directory...

06:37:11.586594 INFO [server] Completed initialization.

Run the service

$. / bs

0615 INFO 45 startup 52.430671 [server] =

06 startup 45 WARNING [server] = 52.430713

06 startup 45 ERROR [server] = 52.430849

06 startup 45 FATAL [server] = 52.430895

06VOV 45VOR 52.430923 INFO [server] Using config file: "/ usr/local/Cellar/libbitcoin-server/3.5.0_2/etc/libbitcoin/bs.cfg"

06:45:52.430949 INFO [server] Please wait while the server is starting...

06:45:52.432351 INFO [network] Starting manual session.

06:45:52.432685 INFO [server] Seeding is complete.

06 Node start height is 45 INFO 52.433524 Node start height is (0).

06:45:52.435284 INFO [network] Not configured for accepting incoming connections.

06:45:52.435363 INFO [network] Starting outbound session.

06:45:52.442370 INFO [server] Bound public query service to tcp://*:9091

06:45:52.444527 INFO [server] Bound public heartbeat service to tcp://*:9092

06:45:52.444928 INFO [server] Bound public block service to tcp://*:9093

06:45:52.445332 INFO [server] Bound public transaction service to tcp://*:9094

06:45:52.445387 INFO [server] Server is started.

0615 INFO [network] Connected outbound channel [218.75.158.221] (1)

Segmentation fault: 11

$python openbazaard.py start-testnet

$python openbazaard.py start-a 0.0.0.0

=

You are using an outdated and deprecated version of OpenBazaar. The current server is located here:

Https://github.com/OpenBazaar/openbazaar-go

Unless you want to install from source, I highly recommend downloading the installer from our main website:

Https://www.openbazaar.org/download/

=

$brew install git

$brew install go

$git-version

Git version 2.18.0

$go version

Go version go1.10.1 darwin/amd64

$cd / Users/shijun/Desktop/openSourceProject/openbazaar-go-master

$go run openbazaard.go start

Cannot find package "github.com/OpenBazaar/openbazaar-go/cmd" in any of:

$go get github.com/OpenBazaar/openbazaar-go

Cannot find package "github.com/op/go-logging" in any of:

$go get github.com/op/go-logging

Cannot find package "github.com/jessevdk/go-flags" in any of:

$go get github.com/jessevdk/go-flags

Cannot find package "github.com/ipfs/go-ipfs/repo/fsrepo/lock" in any of:

$go get-u-d github.com/ipfs/go-ipfs

Thank you for your reading, the above is the content of "python how to achieve bitcoin transfer api". After the study of this article, I believe you have a deeper understanding of how python achieves bitcoin transfer api, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report