KintabaHQ / EtherKit

Apache License 2.0
42 stars 6 forks source link

Split up different EtherKit pieces into separate files. #9

Closed SirensOfTitan closed 6 years ago

SirensOfTitan commented 6 years ago
  1. JSONRPC communication is now in EtherQuery.
  2. KeyManager is now in EtherKeyManager, and in the "Signable" protocol which allows for anything conforming to the protocol to be signed (the signatureData method should be the only one needing to be implemented)

Additionally:

On (2), if someone using the API wants to define gas and/or nonce themselves, they can just construct a SendTransaction struct, sign it, and send it themselves manually using the SendRawTransaction method.