Skip to content
decentralandPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Repository files navigation

DCL Lists server

This is a simple server that implements some endpoints that provide data extracted from the blockchain via RPC.

Consuming the API

Banned names endpoint

This endpoint is used to retrieve the list of banned names (those included in the nameDenyList contract).

POST https://dcl-lists.decentraland.org/banned-names
Content-Type: application/json

===

HTTP/1.1 200 OK
Date: Tue, 08 Aug 2023 15:13:11 GMT
Content-Type: application/json

{
  "data": [
    "banned-named-1",
    "banned-named-2",
    "banned-named-3",
  ]
}

Points of interest endpoint

This endpoint is used to retrieve the list of points of interest (those included in the poi contract).

POST https://dcl-lists.decentraland.org/pois
Content-Type: application/json

===

HTTP/1.1 200 OK
Date: Tue, 08 Aug 2023 15:20:11 GMT
Content-Type: application/json

{
  "data": [
    "-29,55",
    "-108,-30",
    "144,-34",
    "-10,58"
  ]
}

Running the server

For development

For development purposes, just clone this repository, build the project and run:

git clone https://github.com/decentraland/dcl-lists.git
yarn
yarn build
yarn start

There should be a server running on port 3000.

For production

For running a production server, it is recommended to use the docker image published by this repository. It is important to provide proper values for LiveKit configuration using --env CLI options, as follows:

docker pull quay.io/decentraland/dcl-lists
docker run --name dcl-lists -p 3000:3000 quay.io/decentraland/dcl-lists

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages