From 127ada01ebf025b01033410dd6d1fea4ceb130e0 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Tue, 29 Aug 2023 09:27:45 +0100 Subject: [PATCH] rename amount --- bindings/cashu-ffi/bindings-python/examples/amount.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bindings/cashu-ffi/bindings-python/examples/amount.py diff --git a/bindings/cashu-ffi/bindings-python/examples/amount.py b/bindings/cashu-ffi/bindings-python/examples/amount.py new file mode 100644 index 00000000..ab9add40 --- /dev/null +++ b/bindings/cashu-ffi/bindings-python/examples/amount.py @@ -0,0 +1,5 @@ +from cashu_protocol import Amount + +amount = Amount().from_sat(10) + +print(amount.to_sat())