This is a zkApp that stores a number as on-chain state and contains logic to only allow this number to be replaced by its square (e.g. 2 -> 4 -> 16...).
The smart contract is published on berkeley testnet.
npm run build
npm run test
npm run testw # watch mode
npm run coverage