A lightweight API deployed on Cloudflare Workers for querying data from Soroban Domains smart contracts.
Soroban Domains is a domain name service on the Soroban platform that allows users to register and manage memorable domain. This API provides a simple interface to query domain data.
curl 'https://sorobandomains-query.lightsail.network/api/v1/query?q=overcat.xlm&type=domain'
curl 'https://sorobandomains-query.lightsail.network/api/v1/query?q=GDMTVHLWJTHSUDMZVVMXXH6VJHA2ZV3HNG5LYNAZ6RTWB7GISM6PGTUV&type=address'
Check the API documentation for more information.
- Install the Wrangler CLI.
- Clone this repository.
- Check the
vars
inwrangler.toml
and update them if necessary. - Run
wrangler login
to authenticate with Cloudflare. - Run
wrangler deploy
to deploy the API to Cloudflare Workers.