Browse Source

rename amount

thesimplekid 1 năm trước cách đây
mục cha
commit
127ada01eb
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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())