To write a Snapp, we recommend using the Snapp CLI, which makes writing a Snapp easy by including SnarkyJS & providing project scaffolding, a test framework, and formatting.
SnarkyJS's documentation is available here.
npm install
npm run build
./run src/examples/api_exploration.ts
npm install
npm run start:web
Then go to http://localhost:8000/
npm run test
# Make sure to have proper NPM credentials before publishing.
# To get credentials, use `npm login`
./scripts/publish.sh