feat: Add minimal WASM api #1265
roninjin10
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tasks
tevm.getAccount
action in @tevm/revm package.What this looks like is a javascript function wrapping a revm implementation imported from the
@tevm/revm
package that has a function calledgetAccount
that implements some subset of thegetAccountHandler
interface. This interface takes an address and returns general account information likebalance
,deployedBytecode
, andnonce
.Acceptance criteria
Description
Tevm is currently implemented purely is js with ethereumjs. We want to use revm compiled to wasm to implement the same MemoryClient api.
The most logical place to start is with the simplist action which is currently
getAccount
.Helpful examples
Follow up tasks
The following tasks will be unblocked after this task is closed
Beta Was this translation helpful? Give feedback.
All reactions