EVM | @ethereumjs/evm
Basic usage of this library in the browser (using Vite)
Run the Example
- Go to the library root directory (packages/[LIBRARY_NAME]/)
- Build "dist" folder with: npm run build
- Start Vite development server with: npx vite
- Open the example URL in the browser (http://localhost:5173/examples/browser.html)
- Open the development console (e.g. Chrome Developer Tools)
- See example results and play with the code
Interactive CLI
- Open the "Sources" or "Debugger" tab in the browser development console
- Eventually reload the page, set a breakpoint within the referenced TypeScript .ts file
- Now you can use the debugger and play with and change the imported EthereumJS code