소스 검색

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())