Framework-agnostic tooling that lets XRAY Mini Apps talk to host shells, plus optional CIP-30 helpers.
xray-mini-app-sdk– core messaging utilities, types, and constants for secure iframe communication.xray-mini-app-sdk-cip30– CIP-30 compatibility surface for XRAY mini apps that want a wallet-style API.
yarn install– install dependencies.yarn build– runstscin every workspace.yarn clean– removesdistfolders for each package (if the package defines the script).yarn publish:sdk/yarn publish:sdk-cip30– publishes the respective package to npm (--access publicis pre-configured).
- Update versions in the relevant package(s).
- Run
yarn installif dependencies changed to refresh the lockfile. - Run
yarn buildto verify the emitted bundles. - Publish with
yarn publish:sdkoryarn publish:sdk-cip30.
Both packages ship TypeScript declarations alongside ESM builds, so they work out of the box in modern bundlers.