0.1.1 • Published 2 years ago

@smartpkg/devtools v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

SmartPkg Devtools

React components for displaying captured Smart Contract function calls from using Smartpkg client.

Installation

npm install @smartpkg/devtools

Usage

In main.tsx, import devtool and add the component.

// main.tsx
import SmartpkgDevtool from '@smartpkg/devtools';

ReactDOM
  .createRoot(document.getElementById('root') as HTMLElement)
  .render(
    <React.StrictMode>
      <App />
      <SmartpkgDevtool />
    </React.StrictMode>
  );