Building on substrate-browser-node-demo
, this repo shows using @polkadot/api
to interact with a Substrate WASM node running inside the browser.
=> index.tsx
yarn && yarn start
# or
npm install && npm start
# then open the console in your web browser