Installing package - wiresnchains/wave GitHub Wiki
- In your command line, navigate to your npm package in run
npm install @wave-frontend/wave-js
- Then, import the and classes in your scripts
- The package comes along with a declaration file for TypeScript
import { WaveApp, WaveStore } from "@wave-frontend/wave-js";
Or:
const { WaveApp, WaveStore } = requre("@wave-frontend/wave-js");