php-lightning /
lnaddress
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use PhpLightning\Config\LightningConfig; |
||
| 6 | |||
| 7 | return (new LightningConfig()) |
||
| 8 | ->setDomain('localhost') |
||
| 9 | ->setReceiver('default-receiver') |
||
| 10 | ->setSendableRange(min: 100_000, max: 10_000_000_000) |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 11 | ->setCallbackUrl('localhost:8000/callback') |
||
| 12 | ->addBackendsFile(__DIR__ . DIRECTORY_SEPARATOR . 'nostr.json') |
||
| 13 | ; |
||
| 14 |