Enable Domain
Enable Domain
In order to use this endpoint you must sign a message from get-siwe-message
This POST route is used to enable new domains for NameStone programatically.
It returns a NameStone api key.
and switch your domain's resolver to ours: 0xd17347fA0a6eeC89a226c96a9ae354F785e94241
Parameters
  • company_name (string): the name of your company
  • email (string): The link for an ipfs or ipns website.
  • address (string): The ethereum address that owns the domain
  • domain (string): The domain ("testbrand.eth").
  • signature (string): the message from get-siwe-message. signed with your ethereum address
  • api_key (string)(optional): If you want to use an existing NameStone api key that your wallet has access to, you can add it here.
Curl Example for Enable domain
curl -X POST \ -H 'Content-Type: application/json' \ -d '{ "company_name": "your_company_name", "email": "your_email@company.com", "domain":"testbrand.eth", "address":"0xE997d9b785Dd99832d21b3Ce5A34fCacC6D53C57", "signature": "signed_siwe_message" }' \ https://namestone.xyz/api/public_v1/enable-domain