Explorar el Código

rename amount

thesimplekid hace 1 año
padre
commit
127ada01eb
Se han modificado 1 ficheros con 5 adiciones y 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())