example-client-app app implements client for the example-server-app over skywire net and is a external app.
It opens persistent skywire connection to the configured example-server-app and send a hello message and gets a response of hi.
The app takes the following flags
-addr(required) - pubKey and port of the server to connect to (e.g. :)-procAddr- proc server address to connect to (default: localhost:5505)-procKey(required) - proc server address to connect to
Compile app binary and start a visor:
$ make build-example
$ cd ./build
$ ./skywire-visor skywire-config.jsonRegister app and generate proc key
$ ./skywire-cli visor app register -a example-client-app
01cd10e65d88494481c50a1bb0659af2Run the app with the example-server-app addr and the generated proc key
$ ./build/apps/example-client-app -addr <example-server-app-pk>:<example-server-app-skywire-port> -procAddr 01cd10e65d88494481c50a1bb0659af2Deregister app after stopping the example-client-app
$ ./skywire-cli visor app deregister -k 01cd10e65d88494481c50a1bb0659af2