Skip to content

Backend powering World App username registration and querying.

Notifications You must be signed in to change notification settings

worldcoin/wld-usernames

Repository files navigation

World Usernames

This is our open source implementation of ENS compatible Usernames

Prerequisite

In order to use sqlx commands, you need to install sqlx-cli

cargo install sqlx-cli

🚀 Running Locally

cp .env.example .env
docker compose up --detach

cargo run

// go to localhost:8000

Updating Queries

In order to update the queries, you need to run the following command:

cargo sqlx prepare

🛳️ Finding Deployments

Production Deployment ENS Resolver

Rust required installations

# For MacOS Core M
rustup target add aarch64-apple-darwin
# For Linux ARM64
rustup target add aarch64-unknown-linux-musl
# For Linux ARMv7
rustup target add armv7-unknown-linux-musl
# For Linux x86/64
rustup target add x86_64-unknown-linux-musl

How to Build

To build for a specific target, specify it in the cargo build command:

cargo build --target aarch64-unknown-linux-musl
cargo build --target armv7-unknown-linux-musl
cargo build --target x86_64-unknown-linux-musl

This setup ensures that your binaries are compiled correctly for the specified architectures and configurations.

About

Backend powering World App username registration and querying.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published