Quickstart
1
Install NameGuard
2
Configure API keys
3
Install a server
4
Start the web server
Local Development
To run NameGuard locally, make sure to clone the repo:poetry:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run NameGuard yourself and protect against malicious ENS names.
Install NameGuard
pip install nameguard
Configure API keys
export PROVIDER_URI_MAINNET=https://eth-mainnet.g.alchemy.com/v2/[YOUR_ALCHEMY_API_KEY]
export PROVIDER_URI_SEPOLIA=https://eth-sepolia.g.alchemy.com/v2/[YOUR_ALCHEMY_API_KEY]
Install a server
pip install 'uvicorn[standard]'
Start the web server
uvicorn nameguard.web_api:app
git clone https://github.com/namehash/nameguard
poetry:
cd nameguard
poetry install
pytest ./api/tests/