Conflux-Chain/go-conflux-sdk

Better to refactor the interfaces defined in SDK

Opened this issue · 0 comments

boqiu commented

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