RLP | @ethereumjs/rlp

Basic usage of this library in the browser (using Vite)

Run the Example

  1. Go to the library root directory (packages/[LIBRARY_NAME]/)
  2. Build "dist" folder with: npm run build
  3. Start Vite development server with: npx vite
  4. Open the example URL in the browser (http://localhost:5173/examples/browser.html)
  5. Open the development console (e.g. Chrome Developer Tools)
  6. See example results and play with the code

Interactive CLI

  1. Open the "Sources" or "Debugger" tab in the browser development console
  2. Eventually reload the page, set a breakpoint within the referenced TypeScript .ts file
  3. Now you can use the debugger and play with and change the imported EthereumJS code