Skip to content
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

Better to refactor the interfaces defined in SDK #71

Open
boqiu opened this issue Apr 27, 2021 · 0 comments
Open

Better to refactor the interfaces defined in SDK #71

boqiu opened this issue Apr 27, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@boqiu
Copy link
Collaborator

boqiu commented Apr 27, 2021

Now, a god interface ClientOperator is defined for all RPCs/APIs. Suggest to separate interfaces for different kinds of purpose:

  1. public rpc: Cfx
  2. local rpc: LocalCfx, or use namespace as prefix.
  3. contract operations
  4. Extension methods when account manage configured, e.g. send transaction
@boqiu boqiu added the enhancement New feature or request label Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants