Merge pull request #5766 from JssDWt/update-csharp-grpc-docs-grpc.net.client

Update C# grpc docs to use Grpc.Net.Client
This commit is contained in:
Oliver Gugger authored and GitHub committed 2021-09-29 12:02:03 +02:00
commit 3385d38414
6 files changed
+63 -21

No files matched your search

+4
View File
@@ -102,6 +102,10 @@ In the build section, we'll need to configure the following things :
</build>
```
#### Main.java
Use the code below to set up a channel and client to connect to your `lnd` node.
Note that when an IP address is used to connect to the node (e.g. 192.168.1.21 instead of localhost) you need to add `--tlsextraip=192.168.1.21` to your `lnd` configuration and re-generate the certificate (delete tls.cert and tls.key and restart lnd).
```java
import io.grpc.Attributes;
import io.grpc.CallCredentials;