kongkrit / alienworlds-api

Alien Worlds API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alien Worlds API

API to index and read Alien Worlds data

Building

yarn yarn build

Configuring

cp config.example.js dist/config.js

Edit the config file as necessary

Run directly or use pm2

Fetch ABIs

It is necessary to do a one-time fetch of the contract ABIs (this must be redone if the ABI changes)

node ./fetch_abis.js

Setup Mongo Indexes

node ./mongo_setup.js

Running

Run the filler first

node ./filler.js

Then the processor

node ./processor.js

About

Alien Worlds API


Languages

Language:TypeScript 88.8%Language:JavaScript 11.2%