This repo introduces a simple server, which provided some APIs for search DAS account's records or reverse records
- Ubuntu >= 18.04
- MYSQL >= 8.0
- go version >= 1.15.0
- Redis >= 5.0 (for cache, not necessary)
# 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)
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