This project contains sample web applications using the monero-ts library.
- Download and install Monero CLI
- Start monero-daemon-rpc with authentication and CORS access. For example:
./monerod --stagenet --rpc-login superuser:abctesting123 --rpc-access-control-origins http://localhost:9100
- Start monero-wallet-rpc with authentication and CORS access. For example:
./monero-wallet-rpc --daemon-address http://localhost:38081 --daemon-login superuser:abctesting123 --stagenet --rpc-bind-port 38083 --rpc-login rpc_user:abc123 --rpc-access-control-origins http://localhost:9100 --wallet-dir ./
git clone https://github.com/woodser/xmr-sample-app
cd xmr-sample-app
npm install
- If using Node.js >16, set OpenSSL legacy provider:
- Unix:
export NODE_OPTIONS=--openssl-legacy-provider
- Windows:
set NODE_OPTIONS=--openssl-legacy-provider
- Unix:
./bin/build_browser_app.sh
- Access web app at http://localhost:9100