/indexer

custom sui indexer for scallop platform

Primary LanguageRust

sui indexer for scallop

sui custom indexer docs

scallop data are starting from 7 976 007 - checkpoint ... +- epoch 80 ...

install mongodb,redis, turn on checkpoint executor by adding to sui full node config:

checkpoint-executor-config:
    checkpoint-execution-max-concurrency: 200
    local-execution-timeout-sec: 30
    data-ingestion-dir: /mnt/sui/ingestion
    

also possible to use option to create service ( exit when there are no files ...) but there can be problem with sinchronization ... exit if there is indexer process? or system service will file?

[Unit]
Description= Triggers the service

[Path]
DirectoryNotEmpty=/path/to/monitor

[Install]
WantedBy=multi-user.target

also for fetching full checkpoints: ... /checkpoints/{checkpoint_sequence_number}/full another way how to get full checkpoint - using rest api ( enable-experimental-rest-api - needs to be enabled on rpc node) curl -H "Accept: application/bcs" http://localhost:9000/rest/checkpoints/27837398/full more about rest api ...

lowest via experimental - 27883573