Explorar o código

rename amount

thesimplekid %!s(int64=2) %!d(string=hai) anos
pai
achega
127ada01eb
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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())