Refactor JVM API
usernolan opened this issue · 0 comments
usernolan commented
ethereum/src/nuid/ethereum.cljc
Line 72 in 3d81cf8
Currently developers using this library need to be aware of significant differences in the API between the JVM and JS, which directly opposes the intent.
send-transaction
is the worst example, and would be an easy fix—it should use a future
that puts the response of the synchronous .sendTransaction
on c
.
One alternative would be to eliminate raw-transaction-manager
and retrieve nonce
manually similar to the JS API, manually sign the transaction, and use .sendAsync
as get-transaction
does.