This is a simple Angular application that will help you to see the behaviour of your local rust based mina node.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node@23.1.0curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm install 23.1.0Download Node.js v23.1.0 from the official website, open the installer and follow the prompts to complete the installation.
npm install -g @angular/cli@19.2.14Open a terminal and navigate to this project's root directory
cd PROJECT_LOCATION/openmina/frontendInstall the dependencies
npm installnpm startas of now, o1js is not prepared to work with Angular, therefore we need to use
the wrapper that is provided in the src/assets/o1js folder. This wrapper is a
simple javascript webpack based application that will allow us to use the o1js
library in our Angular application.
How to use it:
- Open a terminal and navigate to the
src/assets/o1jsfolder - Install the dependencies
npm install- Build the wrapper
npm run build-o1jswrapper- That's it. Now you can use your code from o1js-wrapper inside the Angular
application by using
BenchmarksWalletsZkService => o1jsInterface