@shaurya2k06/embed
v0.1.1
Published
Standalone embed scaffold for ChainLoyalty widgets
Readme
@chainloyalty/embed
Standalone embed package scaffold for mounting ChainLoyalty widgets via script-driven initialization.
Status
This package is a scaffold. It currently exposes a minimal mount API that renders wallet + leaderboard cards.
Development
npm install
npm run typecheck
npm run buildEntry point
src/index.ts
Browser usage target
The module attaches:
window.ChainLoyaltyEmbed.mount(target, options)
After bundling for distribution, this can be delivered as an embeddable script.
