magicwallet/public/js/index.js
2024-12-15 21:56:26 +01:00

6 lines
196 B
JavaScript

const user = $$("user")
const wallet = $$("wallet")
const nwc = $$("nwc")
console.log(`logged in as ${user.Name} with id ${user.Id}`)
console.log(`you have ${wallet.Msats} msats`)
console.log(nwc)