Browse Source

rename amount

thesimplekid 1 year ago
parent
commit
127ada01eb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      bindings/cashu-ffi/bindings-python/examples/amount.py

+ 5 - 0
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())