[{"data":1,"prerenderedAt":674},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fporwr\u002Fwallet":54,"\u002Fdocs\u002Fporwr\u002Fwallet-surround":669},[4,19],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting Started","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,11,15],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-rocket",{"title":12,"path":13,"stem":14},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","1.docs\u002F1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Using Diogel","\u002Fdocs\u002Fgetting-started\u002Fusage","1.docs\u002F1.getting-started\u002F3.usage",{"title":20,"path":21,"stem":22,"children":23,"icon":53},"Porwr","\u002Fdocs\u002Fporwr","1.docs\u002F2.porwr\u002F1.index",[24,26,29,33,37,41,45,49],{"title":25,"path":21,"stem":22,"icon":10},"What is Porwr",{"title":12,"path":27,"stem":28},"\u002Fdocs\u002Fporwr\u002Finstallation","1.docs\u002F2.porwr\u002F2.installation",{"title":30,"path":31,"stem":32},"Dashboard","\u002Fdocs\u002Fporwr\u002Fdashboard","1.docs\u002F2.porwr\u002F3.dashboard",{"title":34,"path":35,"stem":36},"Key Management","\u002Fdocs\u002Fporwr\u002Fkeys","1.docs\u002F2.porwr\u002F4.keys",{"title":38,"path":39,"stem":40},"Profile Management","\u002Fdocs\u002Fporwr\u002Fprofile","1.docs\u002F2.porwr\u002F5.profile",{"title":42,"path":43,"stem":44},"Relay Management","\u002Fdocs\u002Fporwr\u002Frelay","1.docs\u002F2.porwr\u002F6.relay",{"title":46,"path":47,"stem":48},"Wallet Management","\u002Fdocs\u002Fporwr\u002Fwallet","1.docs\u002F2.porwr\u002F7.wallet",{"title":50,"path":51,"stem":52},"Extension Settings","\u002Fdocs\u002Fporwr\u002Fsettings","1.docs\u002F2.porwr\u002F8.settings","i-lucide-puzzle",{"id":55,"title":46,"body":56,"description":663,"extension":664,"meta":665,"navigation":666,"path":47,"seo":667,"stem":48,"__hash__":668},"docs\u002F1.docs\u002F2.porwr\u002F7.wallet.md",{"type":57,"value":58,"toc":638},"minimark",[59,63,68,90,94,97,120,124,127,130,133,137,140,151,154,172,175,179,182,185,223,226,230,259,262,266,269,289,292,296,302,305,337,340,344,353,356,359,378,382,388,391,423,426,430,435,438,454,458,461,464,487,490,494,497,500,503,529,532,536,543,546,550,573,577,582,588,591,595,598,602,605,609,612,635],[60,61,62],"p",{},"This feature is based on NIP-47. It lets Diogel talk to an external Lightning wallet service through Nostr relays.",[64,65,67],"h2",{"id":66},"important-safety-summary","Important safety summary",[69,70,71,75,78,81,84,87],"ul",{},[72,73,74],"li",{},"Diogel does not become a full Lightning wallet.",[72,76,77],{},"Diogel does not custody your funds.",[72,79,80],{},"Diogel stores NWC connection secrets inside the encrypted vault.",[72,82,83],{},"Wallet actions are internal to the extension.",[72,85,86],{},"Websites cannot trigger wallet payments through Diogel in the current MVP.",[72,88,89],{},"Payments require explicit user approval.",[64,91,93],{"id":92},"what-wallet-connections-is-for","What Wallet Connections is for",[60,95,96],{},"Use Wallet Connections to:",[69,98,99,102,105,108,111,114,117],{},[72,100,101],{},"import an NWC URI",[72,103,104],{},"label wallet connections",[72,106,107],{},"store connection secrets in the encrypted vault",[72,109,110],{},"fetch wallet capabilities",[72,112,113],{},"check wallet balance",[72,115,116],{},"pay BOLT11 invoices after explicit approval",[72,118,119],{},"review payment history",[64,121,123],{"id":122},"what-nostr-wallet-connect-is","What Nostr Wallet Connect is",[60,125,126],{},"Nostr Wallet Connect lets an app send wallet commands over Nostr events.",[60,128,129],{},"A wallet service gives you an NWC URI. Diogel stores that URI's secret and uses it to send encrypted wallet requests over the relays listed in the URI.",[60,131,132],{},"The wallet service decides which commands are allowed.",[64,134,136],{"id":135},"nwc-uri-format","NWC URI format",[60,138,139],{},"An NWC URI usually starts with:",[141,142,148],"pre",{"className":143,"code":145,"language":146,"meta":147},[144],"language-text","nostr+walletconnect:\u002F\u002F\n","text","",[149,150,145],"code",{"__ignoreMap":147},[60,152,153],{},"It may contain:",[69,155,156,159,162,165],{},[72,157,158],{},"wallet service public key",[72,160,161],{},"relay URLs",[72,163,164],{},"client secret",[72,166,167,168,171],{},"optional Lightning address (",[149,169,170],{},"lud16",").",[60,173,174],{},"Treat the full URI as sensitive. Do not share it publicly.",[64,176,178],{"id":177},"getting-an-nwc-uri","Getting an NWC URI",[60,180,181],{},"Exact steps depend on the wallet service.",[60,183,184],{},"General workflow:",[186,187,188,191,210,213,220],"ol",{},[72,189,190],{},"Open your wallet service.",[72,192,193,194,198,199,198,202,205,206,209],{},"Find ",[195,196,197],"strong",{},"Apps",", ",[195,200,201],{},"Connections",[195,203,204],{},"Developer",", or ",[195,207,208],{},"Nostr Wallet Connect",".",[72,211,212],{},"Create a new app connection.",[72,214,215,216,219],{},"Copy the full ",[149,217,218],{},"nostr+walletconnect:\u002F\u002F..."," URI.",[72,221,222],{},"Import it into Diogel.",[60,224,225],{},"Compatible wallet services may include tools such as Alby Hub or LNbits with NWC support, depending on your setup.",[64,227,229],{"id":228},"importing-a-connection","Importing a connection",[186,231,232,238,250,253],{},[72,233,234,235,209],{},"Open ",[195,236,237],{},"Wallet Connections",[72,239,240,241,198,244,205,247,209],{},"Enter an optional label, such as ",[149,242,243],{},"Alby",[149,245,246],{},"LNbits",[149,248,249],{},"Home Node",[72,251,252],{},"Paste the full NWC URI.",[72,254,255,256,209],{},"Click ",[195,257,258],{},"Import connection",[60,260,261],{},"Diogel validates the URI and stores the secret in the encrypted vault.",[64,263,265],{"id":264},"configured-connections","Configured connections",[60,267,268],{},"After import, Diogel shows configured connections with:",[69,270,271,274,277,280,283,286],{},[72,272,273],{},"local label",[72,275,276],{},"wallet service public key preview",[72,278,279],{},"client public key preview",[72,281,282],{},"configured relays",[72,284,285],{},"advertised capabilities after fetching info",[72,287,288],{},"last balance check when available",[60,290,291],{},"Connection summaries intentionally do not show the client secret.",[64,293,295],{"id":294},"wallet-info","Wallet info",[60,297,255,298,301],{},[195,299,300],{},"Info"," to ask the wallet service for its metadata and capabilities.",[60,303,304],{},"Capabilities may include:",[69,306,307,312,317,322,327,332],{},[72,308,309],{},[149,310,311],{},"get_info",[72,313,314],{},[149,315,316],{},"get_balance",[72,318,319],{},[149,320,321],{},"pay_invoice",[72,323,324],{},[149,325,326],{},"make_invoice",[72,328,329],{},[149,330,331],{},"lookup_invoice",[72,333,334],{},[149,335,336],{},"list_transactions",[60,338,339],{},"The exact list depends on the wallet service and the permissions granted to the NWC connection.",[64,341,343],{"id":342},"balance-checks","Balance checks",[60,345,255,346,349,350,352],{},[195,347,348],{},"Balance"," to send a NIP-47 ",[149,351,316],{}," request.",[60,354,355],{},"If successful, Diogel shows the balance in sats.",[60,357,358],{},"If it fails, check:",[69,360,361,364,367,370,375],{},[72,362,363],{},"wallet service is online",[72,365,366],{},"relays are reachable",[72,368,369],{},"NWC connection is still valid",[72,371,372,373],{},"wallet permits ",[149,374,316],{},[72,376,377],{},"browser network access is working",[64,379,381],{"id":380},"paying-invoices","Paying invoices",[60,383,384,385,387],{},"Diogel supports explicit user-approved ",[149,386,321],{}," requests.",[60,389,390],{},"Workflow:",[186,392,393,398,404,409,412,415,418],{},[72,394,255,395,397],{},[195,396,300],{}," for the wallet connection.",[72,399,400,401,403],{},"Confirm ",[149,402,321],{}," appears in capabilities.",[72,405,255,406,209],{},[195,407,408],{},"Pay invoice",[72,410,411],{},"Paste a BOLT11 invoice.",[72,413,414],{},"Review parsed amount and invoice preview.",[72,416,417],{},"Tick the acknowledgement checkbox.",[72,419,255,420,209],{},[195,421,422],{},"Approve and pay",[60,424,425],{},"Start with a tiny test invoice, such as 1-10 sats.",[64,427,429],{"id":428},"why-pay-invoice-may-be-disabled","Why Pay invoice may be disabled",[60,431,432,433,209],{},"The Pay invoice button is disabled unless the wallet advertises ",[149,434,321],{},[60,436,437],{},"If it is disabled:",[186,439,440,445,451],{},[72,441,442,443],{},"click ",[195,444,300],{},[72,446,447,448,450],{},"check whether ",[149,449,321],{}," appears",[72,452,453],{},"verify the wallet connection grants payment permission",[64,455,457],{"id":456},"payment-approval-dialog","Payment approval dialog",[60,459,460],{},"The approval dialog is intentionally direct because Lightning payments are real money.",[60,462,463],{},"It shows:",[69,465,466,469,472,475,478,481],{},[72,467,468],{},"selected wallet connection",[72,470,471],{},"BOLT11 invoice field",[72,473,474],{},"parsed amount where possible",[72,476,477],{},"shortened invoice preview",[72,479,480],{},"explicit acknowledgement checkbox",[72,482,483,484,486],{},"final ",[195,485,422],{}," action.",[60,488,489],{},"Diogel only sends the wallet payment command after final approval.",[64,491,493],{"id":492},"payment-history","Payment history",[60,495,496],{},"Payment history is stored inside the encrypted vault.",[60,498,499],{},"It records the latest 100 payment attempts.",[60,501,502],{},"Entries include:",[69,504,505,508,511,514,517,520,523,526],{},[72,506,507],{},"timestamp",[72,509,510],{},"wallet connection label",[72,512,513],{},"status: succeeded or failed",[72,515,516],{},"parsed amount when available",[72,518,519],{},"fees when returned",[72,521,522],{},"short payment hash when returned",[72,524,525],{},"invoice preview",[72,527,528],{},"error message for failed attempts",[60,530,531],{},"Diogel does not show the payment preimage in the UI.",[64,533,535],{"id":534},"removing-a-connection","Removing a connection",[60,537,538,539,542],{},"Use ",[195,540,541],{},"Remove"," to delete a wallet connection from the vault.",[60,544,545],{},"You should also revoke unused or exposed NWC connections from the wallet service itself. Removing the local copy from Diogel does not necessarily revoke the credential on the wallet provider side.",[64,547,549],{"id":548},"security-guidance","Security guidance",[69,551,552,555,558,561,564,567,570],{},[72,553,554],{},"Treat NWC URIs like API keys.",[72,556,557],{},"Do not post NWC URIs in support tickets, screenshots, chats, or logs.",[72,559,560],{},"Revoke exposed wallet connections immediately.",[72,562,563],{},"Use low limits where your wallet service supports them.",[72,565,566],{},"Start with small test payments.",[72,568,569],{},"Do not approve invoices you do not understand.",[72,571,572],{},"Remove old wallet connections you no longer use.",[64,574,576],{"id":575},"troubleshooting","Troubleshooting",[578,579,581],"h3",{"id":580},"import-fails","Import fails",[60,583,584,585,209],{},"Check that the URI is complete and starts with ",[149,586,587],{},"nostr+walletconnect:\u002F\u002F",[60,589,590],{},"It must include at least one relay and a valid secret.",[578,592,594],{"id":593},"info-times-out","Info times out",[60,596,597],{},"Wallet service or relays may be offline. Try again later or check the wallet service.",[578,599,601],{"id":600},"balance-times-out","Balance times out",[60,603,604],{},"Check relay connectivity, wallet service status, and whether the NWC connection is still valid.",[578,606,608],{"id":607},"payment-fails","Payment fails",[60,610,611],{},"Possible causes:",[69,613,614,617,620,623,629,632],{},[72,615,616],{},"invoice expired",[72,618,619],{},"wallet has insufficient balance",[72,621,622],{},"wallet refuses payment",[72,624,625,626,628],{},"NWC connection lacks ",[149,627,321],{}," permission",[72,630,631],{},"relays are unreachable",[72,633,634],{},"wallet service is offline.",[60,636,637],{},"Failed attempts should appear in payment history with an error where available.",{"title":147,"searchDepth":639,"depth":639,"links":640},2,[641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656],{"id":66,"depth":639,"text":67},{"id":92,"depth":639,"text":93},{"id":122,"depth":639,"text":123},{"id":135,"depth":639,"text":136},{"id":177,"depth":639,"text":178},{"id":228,"depth":639,"text":229},{"id":264,"depth":639,"text":265},{"id":294,"depth":639,"text":295},{"id":342,"depth":639,"text":343},{"id":380,"depth":639,"text":381},{"id":428,"depth":639,"text":429},{"id":456,"depth":639,"text":457},{"id":492,"depth":639,"text":493},{"id":534,"depth":639,"text":535},{"id":548,"depth":639,"text":549},{"id":575,"depth":639,"text":576,"children":657},[658,660,661,662],{"id":580,"depth":659,"text":581},3,{"id":593,"depth":659,"text":594},{"id":600,"depth":659,"text":601},{"id":607,"depth":659,"text":608},"Wallet Management is where Diogel manages Nostr Wallet Connect (NWC) connections and user-initiated Lightning wallet actions.","md",{},true,{"title":46,"description":663},"SX0LZevAisHcSVyDfKQwaqAcpy9CgZeeHuYFWwfZabE",[670,672],{"title":42,"path":43,"stem":44,"description":671,"children":-1},"Relay Management is where you configure the Nostr relays used by the active identity.",{"title":50,"path":51,"stem":52,"description":673,"children":-1},"Extension Settings controls extension preferences, vault behavior, media upload configuration, and vault backup\u002Frestore.",1781593969723]