Fantom-foundation / Artion-Server

Artion API Server

Home Page:https://artion.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VALIDATORADDRES

wojciech-turek opened this issue · comments

Hi Team,

Not sure why would VALIDATORADDRESS property exist and why do we need it in the server code. Could anyone elaborate on that, how is it used and when?

Thank you!

Hey man, I don't have an answer to your question but I need help with this project BIG TIME! I've tried reaching out to the Artion dev team for help on different occasions, but I got no reply. So, I've cloned every Artion Repo so far and I'm unable to connect the dots between all of the repos. My questions for you:

  1. Does "Artion Client V2" serve as the front end for "Artion Graphql" repo?
  2. Does "Artion Client" serve as the front end for "Artion Server" repo?
  3. If the answers to my first two questions is no, then how do I get those repos to communicate with each other?

I'm assuming you've passed the stage of experimentation that I'm currently on . Hopefully you can help me out with understanding this. Thanks!

Hey,

  1. I don't know because I dont use v2.
  2. Yes.

Setup mongoDb instance, connect to server, set up trackers, connect frontend to server and you should be running.

Thanks for getting back to me . So, do you use the Artion Graphql API? Or does the Artion Server do the samething?

I'm just trying to understand why you don't use Client V2?

Oh yeah, in regards to your "Validator Address" issue yesterday; If you go to https://studio.apollographql.com/ and sign up using your GitHub account, you can connect to Artion Graphql server. Use one of the server endpoint urls @ Artion-API-GraphQL/internal/graphql/definition/.graphqlconfig. I'm new to coding, so this helped me understand what's happening on the backend. I didn't see anything about the Validator Address, but maybe I missed it. I hope this helps

I don't want to make any assumptions. But after poking around and comparing "Artion Graphql API" to "Artion Server Backend" repo it looks like they have the same functionality. The Artion Server repo may be the most stable version, because they're apparently still actively adding to the Graphql repo.

Taken me many months to piece everything together, thanks to you @wojciech-turek, something you mentioned in another thread about the trackers helped me out a lot.

In case others are wondering, the VALIDATORADDRESS that is set in the .env file should point to a deployed price feed contract. This should already have an oracle registered for FTM but it is also possible to register oracles for other paytokens found on Fantom ChainLinks page