-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Background
I successfully completed stage 1 of the tutorial using --no-macaroons.
Now I'm trying to learn how to use macaroons.
The tutorial does not explain how to create the admin.macaroon file.
When I run lnd, it waits for the either lncli create or lncli unlock. No admin.macaroon file can be found anywhere on disk at this point.
These commands (lncli) however seem to require the existence of an admin.macaroon file.
>lncli --rpcserver=localhost:10001 --macaroonpath=C:\work\lnd\alice\data\admin.macroon getinfo
[lncli] open C:\work\lnd\alice\data\admin.macroon: The system cannot find the file specified.
Tried to touch it and then I got
[lncli] empty macaroon data
So, how do I create an initial macaroon file?
Your environment
- lnd version 0.4.1-beta commit=097fd50747356a39593e5ac7625bf0b0fb1305a1
- Windows 10
- btcd compiled from source today from roasbeef branch commit a03db407e40d3b66ea29984263bbc8bf4d2f04c4
Metadata
Metadata
Assignees
Labels
No labels