Explorar el Código

`bindings/cashu-js` amount example

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