@anon
sign up
@anon
sign up
0 sats
\
2 replies
\
@RocketNode
14 Feb
\
on: SN release: NWC & LNBits for sending, LND for autowithdraw, NSFW labels, & more
meta
Why does attaching LND need
address
and
onchain
permission macaroons?
https://github.com/stackernews/stacker.news/blob/master/lib/macaroon.js#L61
Shouldn't
invoice:write
be sufficient for auto withdrawls?
write
preview
reply
100 sats
1468 sats
hot
recent
top
0 sats
\
1 reply
\
@k00b
OP
14 Feb
It doesn't need them, but I didn't anticipate people baking their own macaroons with granular perms. I assumed people would use the default macaroons.
If you wouldn't mind opening an issue I can narrow the perm check.
reply
1468 sats
\
0 replies
\
@RocketNode
14 Feb
https://github.com/stackernews/stacker.news/issues/827
reply
address
andonchain
permission macaroons? https://github.com/stackernews/stacker.news/blob/master/lib/macaroon.js#L61invoice:write
be sufficient for auto withdrawls?