example_client cleanup

This commit is contained in:
2025-06-10 16:08:04 +02:00
parent e92762c2ee
commit b521c32bec

View File

@@ -187,8 +187,8 @@ class BreezClient:
# Example usage
if __name__ == "__main__":
# Configuration
API_URL = "http://localhost:8000" # Change to your deployed API URL
API_KEY = "kurac" # Set your API key here
API_URL = "<url-to-your-api>" # Change to your deployed API URL
API_KEY = "<api-key-you-set>" # Set your API key here
# Initialize client
breez = BreezClient(api_url=API_URL, api_key=API_KEY)
@@ -225,4 +225,4 @@ if __name__ == "__main__":
# Onchain payment example (commented out for safety)
# print("\n⛓ Sending Onchain Payment...")
# result = breez.send_onchain(address="bitcoin_address_here", amount_sat=10000)
# print(json.dumps(result, indent=2))
# print(json.dumps(result, indent=2))