Setup Lightwalletd
Actually, Lightwalletd (LWD) does not require much configuration. Everything can be specified on the command line.
$ ./lightwalletd --no-tls-very-insecure --zcash-conf-path ./regtest_dir/zcash.conf --data-dir lwd-data --log-file /dev/stdout --grpc-bind-addr 0.0.0.0:9168no-tls-very-insecureindicates that we are not using SSL, i.e encrypted HTTPzcash-conf-pathmust point to the samezcashdconfiguration filedata-dirgives the path to the LWD data directorylog-fileis self-explanatorygrpc-bind-addris where LWD should listen. Here it on port 9168 This must match the configuration ofzcash-warpLWD_URL.
LWD should quickly import the first 101 blocks and wait for block #102.
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 102","time":"2024-09-23T08:58:25+08:00"}