spectrum-finance / ergo-dex-backend

Spectrum Finance backend services including AMM bots and OrderBook matcher
Creative Commons Zero v1.0 Universal
39 stars 17 forks source link

Add ' in a section of the config-example.env file #89

Open LucasRibeiroAlves opened 1 year ago

LucasRibeiroAlves commented 1 year ago

Currently, the file content is: JAVA_TOOL_OPTIONS="-Dnetwork.node-uri=http://<my node ip>:9053 -Dexchange.mnemonic='<my ergo mnemonic>' "

In my setup, it worked only when I added ' in the node-uri. To avoid this issue, I suggest it to be changed to the following content: JAVA_TOOL_OPTIONS="-Dnetwork.node-uri='http://<my node ip>:9053' -Dexchange.mnemonic='<my ergo mnemonic>' "

ccgarant commented 9 months ago

What kind of errors did you get without the quotes?

I actually used your recommendation and my bot is running. The Ergo Node also have the ip:9053 in quotes in the ergo.conf file too, so I thought you were correct. Will report back how it goes.