orb.cln.cln module

orb.cln.cln.Cln(fallback_to_mock=True, cache=True, use_prefs=True, hostname=None, protocol=None, mac_secure=None, mac=None, cert_secure=None, cert=None, rest_port=None, grpc_port=None, version=None)

Return the appropriate Cln class based on protocol.

class orb.cln.cln.Protocol

Bases: object

grpc = 'grpc'
mock = 'mock'
rest = 'rest'
orb.cln.cln.decode_pref_mac(pref_mac)
orb.cln.cln.set_cln_grpc_path_for_version(version='v0.11.2')

Make sure the path to cln’s grpc libraries are in python’s path