* feat(discord-bot): integrate with spartan-ecdsa (#462)
* chore: remove uneeded deps/files
* chore: fix deps
* feat: use en vars for VERIFICATION_CHANNEL_ID and VERIFIED_ROLE_ID
* refactor: change formatting of messages sent by bot
link to channels
use different font style
* chore: remove unused deps
* feat: verify spartan proof with discord bot
* fix: bump @types/node
Need > 20 to have fetch typings
* chore: update comment
* ci: remove debug step
* docs: update .env.example
* docs: update discord/bot/README
* refactor: update error message if missing env var
* fix(ui): do not pre render /api/verify route
* refactor: use verifier object to load wasm async
* fix: link wasm files to `server/static`
webpack 5 breaks dynamic import of wasm
https://github.com/vercel/next.js/issues/25852
* ci: link wasm files to `.next/server/static` in Dockerfile
* chore: debug
* fix(ui): set CORS headers
* refactor: add info logs
* ci: refactor Dockerfile and fly toml
* fix: remove remaining merge hints
* feat: restrict verification request to discord bot origin (#466)
* refactor: add info logs
* wip
* fix import
* refactor: remove wallet connect id from fly config
Set already in Dockerfile
* ci: refactor setting of env vars in Dockerfile and fly configs (#469)
ci: update dockerfiles and fly env vars
* add gcloud to `.tool-versions`
* refactor: define cache at module level
* feat: handle dune out of credit error with specific exception
And add more logs
* fix: use keyFile path instead of parsed json string to auth bitgquery requests
* Revert "fix: use keyFile path instead of parsed json string to auth bitgquery requests"
This reverts commit 75cd26ebe219bc88a7d5e97b770fbeb881f5ac0a.
* refactor: rename GOOGLE_APPLICATION_CREDENTIALS to GOOGLE_APPLICATION_CREDENTIALS_JSON_STR
GOOGLE_APPLICATION_CREDENTIALS is what `gcloud` CLI uses by default.
It expects a path, not a JSON string
* update .env.example
* fix .lintstagedrc
prettier should only be ran for files extension that it supports
* bump lock file
* delete `/apis/prove`
* move `/apis/query/` into `query-api/`
* remove `/infra`
* update config files
* format
* remove @anonklub/proof ts reference from circom pkg
* tsignore
* pin `@anonklub/proof` package in ui
* remove unused config in hook
* tsignore (discord bot)
* delete apis/prove
* remove tsignore directive
* update env vars
* skip build of `@anonklub/proof` in vlaidate workflow
version was pinned in UI and CLI
* avoid pre rendering for beacon query page
see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
By default, next will try to pre-render and fetch the data at build time
However, this is a dune query that is subject to query credits... sometimes the query fails. It should not prevent building the app though.
* Remove prove api url from ui config