Install
Instantiate
NameGuard exports a singleton that can be imported that has the defaults instantiated already, these defaults are:- URL:
https://api.nameguard.io - Network:
mainnet
Configure Chain
You can customize the chain used by using thecreateClient method, and passing your desired network — See supported chains.
Custom Client
If you’re working locally with or have self-hosted the NameGuard API, you’ll need to update theurl for the API by creating a custom client.