In gnomobiletypes.go, add RPC messages GetRemoteRequest/Response and GetChainIDRequest/Response. In rpc.proto, add methods GetRemote and GetChainID. Run make generate .
In the gnomobileService struct, add remote to save the value of the remote string. Update initService to set the initial value and update the api method SetRemote to update it.
In api.go add GetRemote and GetChainID.
In use-gno.ts, add getRemote and getChainID. Also add setRemote and setChainID which were missing.
GetRemoteRequest/Response
andGetChainIDRequest/Response
. In rpc.proto, add methodsGetRemote
andGetChainID
. Runmake generate
.gnomobileService
struct, addremote
to save the value of the remote string. UpdateinitService
to set the initial value and update the api methodSetRemote
to update it.GetRemote
andGetChainID
.getRemote
andgetChainID
. Also addsetRemote
andsetChainID
which were missing.