Tandemly / eos-api-service

EOS API Service platform to allow third-party clients to connect to an eosd blockchain network.
MIT License
47 stars 25 forks source link

How to synchronize data to mongodb? #16

Closed gglzf4 closed 6 years ago

gglzf4 commented 6 years ago

Hi,how to synchronize data to mongodb?

datchley commented 6 years ago

Check out the README on the web wallet to see how to setup an eosd node as the connector.

https://github.com/Tandemly/eos-web-wallet

That connector node's plugin setup for the mongodb host/port should match the one the api service is connecting to. That node will sync blocks/transactions/etc. to that mongodb used by the API service.

We'll update the docs on this repo on our next release to cover that here as well.

gglzf4 commented 6 years ago

Because i had add db_plugin but not sync the chain data to mongodb, I will try to add the db_plugin then run the eosd node again, Thank you very much!