浏览代码

rename amount

thesimplekid 1 年之前
父节点
当前提交
127ada01eb
共有 1 个文件被更改,包括 5 次插入0 次删除
  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())