-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: initial implementation of grpc #14
Conversation
|
||
// WithDefaultRemote init a default remote node address. | ||
var WithDefaultRemote GnomobileOption = func(s *gnomobileService) error { | ||
s.remote = "testnet.gno.berty.io:26657" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between this default remote and the one in the Client struct?
https://github.com/gnolang/gnomobile/blob/a07f32725fef3ec12c256445659d00afb81ade2e/service/client.go#L36
remote string | ||
chainID string | ||
|
||
activeAccount keys.Info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the active account need to be maintained in this struct? It seems that this duplicates the functionality of nameOrBech32 in the Client struct.
https://github.com/gnolang/gnomobile/blob/a07f32725fef3ec12c256445659d00afb81ade2e/service/client.go#L23
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
…be squashed.) Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: Jeff Thompson <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
3101d6f
to
0907fef
Compare
Signed-off-by: Jeff Thompson <[email protected]>
chore: Rename gnoland/gnomobile to gnolang/gnomobile
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me on iOS simulator.
Add rule Makefile to build the protobuf:
make api.generate