This is our open source implementation of ENS compatible Usernames
In order to use sqlx commands, you need to install sqlx-cli
cargo install sqlx-clicp .env.example .env
docker compose up --detach
cargo run
// go to localhost:8000In order to update the queries, you need to run the following command:
cargo sqlx prepare
Production Deployment ENS Resolver
# 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-muslTo 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-muslThis setup ensures that your binaries are compiled correctly for the specified architectures and configurations.