# Summer of Bitcoin Agenda meeting 13 July 2022 ## Table of Content - Summary - Question & Topic - New Tool ## Summary TODO ## Question & Topic Please insert here any topic that you want discuss with your name as prefix! Kavan - Clearing the home view: 1. listpay or listfunds in list payment view 2. UI for expandable card? - The pay view UI, how to process pay request, QR code related talk ( package for generating qr: https://pub.dev/packages/qr_flutter, package for scanning qr: ???) Swapnil (Only if we release package) - Demo plugin? What will it be about and how to get started? - Annotations? Next steps? Gautam - donation component UI done, integrate real API - production UI change - we can use emotion instead of styled - what final command should be there below the donation qr code ## New Tool - Yesterday born a new cool package that it is called `lnlambda` and it use a tool called lnsocket to make a proxy and call your remote core lightning though lightning network protocol. - The tool is a server that works like the AWS lambda :) - You can run and try try to reach the server throw the following linke [ec2-52-55-124-1.compute-1.amazonaws.com:9002/welcome](http://ec2-52-55-124-1.compute-1.amazonaws.com:9002/welcome) - In order to ran the tool you need to have a plugin that it is called commando https://github.com/lightningd/plugins/tree/master/commando and add to your lightning the path for the commando.py file. - after that you need to generate a rune that is a lite [Macaroons](https://en.wikipedia.org/wiki/Macaroons_(computer_science)) to autenticate the plugin - I suggest the following command `lightning-cli --testnet commando-rune restrictions=readonly`. After that you can call your node from the server with a post request like this ``` ➜ ~ clightning --testnet getinfo { "id": "03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880", "alias": "SLICKERGOPHER-testnet", "color": "02bf81", "num_peers": 20, "num_pending_channels": 1, "num_active_channels": 20, "num_inactive_channels": 0, "address": [ { "type": "torv3", "address": "iopzsfi3pbtrimnovncctjthmot7nb6pvh2swr6pqvizmisy4ts62lid.onion", "port": 19735 } ], "binding": [ { "type": "ipv4", "address": "127.0.0.1", "port": 19735 } ], "version": "0.11.1", "blockheight": 2286156, "network": "testnet", "msatoshi_fees_collected": 30021, "fees_collected_msat": "30021msat", "lightning-dir": "/media/vincent/VincentSSD/.lightning/testnet", "our_features": { "init": "80282269a2", "node": "800080282269a2", "channel": "", "invoice": "02000020024100" } } ``` ``` curl --header "Content-Type: application/json" \ --request POST \ --data '{"method":"getinfo","params":{},"node_id":"028fe59bd7bbe3982699535e7e43b305c69099fbdd9902b1af5875a121fdb9a3dc","host":"52.55.124.1:19735","rune":"VTqT9VF2vngxiLsl_YxyxhrZju2o2URaI-3x_FIRp849NyZtZXRob2RebGlzdHxtZXRob2ReZ2V0fG1ldGhvZD1zdW1tYXJ5Jm1ldGhvZC9nZXRzaGFyZWRzZWNyZXQmbWV0aG9kL2xpc3RkYXRhc3RvcmU="}' \ http://ec2-52-55-124-1.compute-1.amazonaws.com:9002/lnsocket ``` Please note I have no public ip on my node, so the code below did not work, try with the server node :) but also I did not test it yet so may not work