bitcoinlib.services.litecoind module
- class bitcoinlib.services.litecoind.LitecoindClient(network='litecoin', base_url='', denominator=100000000, **kargs)[source]
Bases:
BaseClient
Class to interact with litecoind, the Litecoin deamon
Open connection to litecoin node
- Parameters:
network – Litecoin mainnet or testnet. Default is litecoin mainnet
base_url – Connection URL in format http(s)://user:password@host:port.
denominator – Denominator for this currency. Should be always 100000000 (satoshis) for litecoin
- Type:
str
- Type:
str
- Type:
str
- static from_config(configfile=None, network='litecoin', **kargs)[source]
Read settings from litecoind config file
- Parameters:
configfile – Path to config file. Leave empty to look in default places
network – Litecoin mainnet or testnet. Default is litecoin mainnet
- Type:
str
- Type:
str
- Return LitecoindClient: