The Worldcoin Developer Portal provides tools to interact with the World ID Protocol. Along with IDKit, it's the fastest way to get started with proof of personhood 🚀
All the technical docs for the Worldcoin SDK, World ID Protocol, examples, guides can be found at https://docs.worldcoin.org/
The Developer Portal uses some external services to operate. You do not need all the real credentials to run locally.
.env.test
into a local env filecd web/
cp .env.test .env
The following command will start two containers with the Postgres database, and Hasura server. Additionally, it will run the Next.js app from the /web directory. All Hasura migrations and metadata are automatically applied.
docker compose up --detach
cd web && pnpm dev
If you need to update anything related to the database (model, permissions, events, etc.) the easiest way is with the Hasura console.
cd hasura
hasura console --endpoint http://localhost:8080 --admin-secret secret!
Warning Make sure to only make the changes in the Hasura console (usually
http://localhost:9665
), if you make changes onhttp://localhost:8080
the migrations will not be generated and your changes will be lost.💡 The admin secret in stored in
docker-compose.yml
file in the root of the repo.