CryptoLions / EOS-mongo-history-API

API to get actions using EOS mongo plugin (similar to history plugin)
MIT License
52 stars 24 forks source link

Usage in a Node.js environment ? #1

Closed MarcelBlockchain closed 5 years ago

MarcelBlockchain commented 5 years ago

How do I use it ? Can you upload a simple Node.js example ?

MarcelBlockchain commented 5 years ago

from the telegram group:

Hi, please check start script https://github.com/CryptoLions/EOS-mongo-history-API/blob/master/start.sh

just clone a git repo, do npm install, change config to your node with mongo db plugin. and start

but before you need to run node with mongo_db plugin and parametr mentioned in git readme, and do replay with this plugin to have old history