MiniKit is currently available on npm. To install, run:
pnpm i @worldcoin/minikit-js
or use the CDN:
https://cdn.jsdelivr.net/npm/@worldcoin/minikit-js@[version]/+esm
For comprehensive setup instructions and usage examples, visit our developer documentation.
To run the example mini app locally:
pnpm i
cd demo/with-next
pnpm dev
This will launch a demo mini app with all essential commands implemented, allowing you to explore and test the features.