A static web page that generates call data and call hash for
polkadotXcm.transferAssetsUsingTypeAndThen, transferring the native token
between the Polkadot and Kusama Asset Hubs (DOT ⇄ KSM), optionally wrapped in
proxy.proxy.
It connects to a public RPC of the source chain to fetch live metadata, encodes the call entirely in the browser, and never signs or submits anything. Always verify the output before signing.
npm install
npm run devnpm run build # outputs static site to dist/The PAPI descriptors in .papi/ are committed so builds are deterministic.
After a runtime upgrade, refresh them with:
npx papi update # re-fetch metadata for the configured chains
npx papi generate