Skip to content

scorpiotzh/das-account-indexer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Das-Account-Indexer

This repo introduces a simple server, which provided some APIs for search DAS account's records or reverse records

Prerequisites

  • Ubuntu >= 18.04
  • MYSQL >= 8.0
  • go version >= 1.15.0
  • Redis >= 5.0 (for cache, not necessary)

Install

# get the code
git clone https://github.com/DeAccountSystems/das-account-indexer.git

# edit conf/config.yaml for your own convenient
vi conf/config.yaml

# init mysql database
mysql -uroot -p
> source das-account-indexer/tables/sql.sql
> quit;

# compile and run
cd das-account-indexer
make default
./das_account_indexer_server --config=conf/config.yaml
# it will take about 3 hours to synchronize to the latest data(Dec 15, 2021)

Usage

Here is the main document about APIs

  • If you are come from das_account_indexer, you probably need do nothing, the new APIs are compatible with the old ones. More details see deprecated-api-list, but we still suggest you replace with the corresponding new APIs
  • If you are a newcomer, just read api-list

Others

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.9%
  • Makefile 1.1%