Skip to content

A lightweight API deployed on Cloudflare Workers for querying data from Soroban Domains smart contracts.

License

Notifications You must be signed in to change notification settings

lightsail-network/sorobandomains-query

Repository files navigation

Soroban Domains Query

A lightweight API deployed on Cloudflare Workers for querying data from Soroban Domains smart contracts.

Introduction

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.

Example

Query address by domain name

curl 'https://sorobandomains-query.lightsail.network/api/v1/query?q=overcat.xlm&type=domain'

Query domain name by address

curl 'https://sorobandomains-query.lightsail.network/api/v1/query?q=GDMTVHLWJTHSUDMZVVMXXH6VJHA2ZV3HNG5LYNAZ6RTWB7GISM6PGTUV&type=address'

API Endpoints

Check the API documentation for more information.

Deploy to Cloudflare Workers

  1. Install the Wrangler CLI.
  2. Clone this repository.
  3. Check the vars in wrangler.toml and update them if necessary.
  4. Run wrangler login to authenticate with Cloudflare.
  5. Run wrangler deploy to deploy the API to Cloudflare Workers.

About

A lightweight API deployed on Cloudflare Workers for querying data from Soroban Domains smart contracts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published