ethereumjs-monorepo icon indicating copy to clipboard operation
ethereumjs-monorepo copied to clipboard

Add browser docs

Open acolytec3 opened this issue 1 year ago • 3 comments

This adds an initial readme for building for the browser.

  • Lists a few projects that use our code in browser
  • Lists knoown dependency incompatibilities that require polyfills

acolytec3 avatar Mar 18 '24 13:03 acolytec3

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.90%. Comparing base (48e6a30) to head (46aa89d).

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 88.43% <ø> (ø)
blockchain 91.61% <ø> (ø)
client 84.85% <ø> (ø)
common 98.43% <ø> (ø)
devp2p 82.12% <ø> (ø)
ethash ∅ <ø> (∅)
evm 74.10% <ø> (ø)
genesis 99.98% <ø> (ø)
rlp ∅ <ø> (?)
statemanager 77.08% <ø> (ø)
trie 89.32% <ø> (ø)
tx 95.08% <ø> (ø)
util 89.34% <ø> (ø)
vm 79.90% <ø> (ø)
wallet 88.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

codecov[bot] avatar Mar 18 '24 13:03 codecov[bot]

an idea to add to this is to addstack blitz example using ethereumjs in browser. Cool thing about that is you can get a forkable working example up and running in one click.

I did an example of what this looks like for OP here: https://github.com/ethereum-optimism/docs/pull/574

roninjin10 avatar Mar 19 '24 23:03 roninjin10

an idea to add to this is to addstack blitz example using ethereumjs in browser. Cool thing about that is you can get a forkable working example up and running in one click.

I did an example of what this looks like for OP here: https://github.com/ethereum-optimism/docs/pull/574

That's brilliant! I'm gonna have to try that out.

acolytec3 avatar Mar 19 '24 23:03 acolytec3