This is a simple server that implements some endpoints that provide data extracted from the blockchain via RPC.
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",
]
}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"
]
}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 startThere should be a server running on port 3000.
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