mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-10 08:25:55 +01:00
13 lines
186 B
JavaScript
13 lines
186 B
JavaScript
const {Amount, loadWasmAsync, loadWasmSync } = require("..");
|
|
|
|
|
|
function main() {
|
|
loadWasmSync();
|
|
|
|
let amount = Amount.fromSat(BigInt(10));
|
|
|
|
console.log(amount.toSat())
|
|
}
|
|
|
|
main();
|