- Node.js v22+
- Yarn v1
- Wrangler CLI (
npm install -g wrangler@latest) - Cloudflare account (for deployment)
-
Install dependencies:
yarn install --ignore-engines
-
Create a
.envfile (see.env.local.samplefor reference):VUE_APP_NETWORK=mainnet VUE_APP_TITLE=Radix ExplorerValid
VUE_APP_NETWORKvalues:mainnet,stokenet,milestonenet,rcnet,releasenet,sandpitnet,localnet
yarn serveBuilds the app and serves it locally using Wrangler:
yarn previewThis runs at http://localhost:8788 by default.
-
Log in to Cloudflare:
wrangler login
-
Deploy:
yarn deploy
This builds the app and deploys the
dist/directory to theolympia-explorerCloudflare Pages project.
- The build uses
NODE_OPTIONS=--openssl-legacy-providerto support the older Webpack version with Node.js 22+. - The app connects to Radix gateway endpoints based on the configured
VUE_APP_NETWORKvalue. For mainnet, this ishttps://olympia-gateway.radixdlt.com.