Skip to main content

developer

Glitter provides multiple development processes. Developers can easily build their own DAPP through Glitter's components.

developer backend development process

Docusaurus

1 Developer queries host by himself

  • Developer searches for host (engine-server service) on the chain according to dataset_name
  • Chain returns the host corresponding to dataset
  • Developer builds sql to request the engine-server corresponding to host
  • Engine-server returns the query results, and developer builds his own DAPP service based on the returned results.

2 Developer uses gateway to query

  • Developer constructs (dataset_name, sql) parameters to request gateway
  • Gateway queries host on the chain according to dataset_name and caches the results.
  • Gateway queries the corresponding engine-server according to the host
  • Engine-server returns the query results, and the developer builds his own DAPP service based on the returned results.

geteway port

demo