210 похожих чатов

Hello, does anybody know how to connect the DFI-CLI and

PYTHON. I read today about it and think to use"subprocess" in PYTHON, like subprocess.run([DFI-CLI listoracles,....], shell = true)? I don`t know how to give the cli-commands in PYTHON. Thank u for ur help.

3 ответов

9 просмотров

from bitcoinrpc.authproxy import AuthServiceProxy #pip install pyton-bitcoinrpc def create_connection_rpc(): url = "http://%s:%s@%s:%s/"%(rpcuser, rpcpassword, rpcbind, rpcport) return AuthServiceProxy(url) rpc_connection = create_connection_rpc() print(rpc_connection.getblockcount()) However, the topic does not fit here in the general chat room. Here better switch to the masternodes room.

Sebastian- Автор вопроса
Bernd Mack
from bitcoinrpc.authproxy import AuthServiceProxy ...

Ok. First thank u very much. I was not suire If this is a masternode topic

Sebastian
Ok. First thank u very much. I was not suire If th...

It's not, but here in the channel it surely confuses more people than it helps. in the masternodechannel the experts for commandline and the technology behind it are hidden from price discussions and what else is discussed here.

Похожие вопросы

Обсуждают сегодня

Карта сайта