Browse Source

`bindings/cashu-js` amount example

thesimplekid 1 năm trước cách đây
mục cha
commit
de478c9c3c
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      bindings/cashu-js/examples/amount.js

+ 5 - 0
bindings/cashu-js/examples/amount.js

@@ -0,0 +1,5 @@
+const Amount = require("../");
+
+let amount = Amount.fromSat(10);
+
+console.log(amount)