Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.25 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.25 KB

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.