Skip to content

About

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

Resources

Stars

0 stars

Watchers

2 watching

Forks

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/v2/query?q=overcat.xlm&type=domain'

Query domain name by address

curl 'https://sorobandomains-query.lightsail.network/api/v2/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

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages