I tried to work on this earlier but just couldn’t find the time and was probably over complicating things. So here is a simple dashboard that gets the data from omniexplorer, ethereum network (emaid smart contract) and gnosis-safe (mint queue).
You can find the website here for now, which can get a proper web domain later on: http://emaid.online/ (https not working yet)
The dashboard is now updated to be fully responsive and also adjust to phone screens and other window sizes. I’m really proud that I finally managed to do the CSS, working with divs really breaks my head sometimes…
The downside is that I’ve found it impossible to get my Flask API to connect to the ReactJS Front-end.
It’s serving API data on emaid.online:5000/api but I get errors regarding Cors or mixed content (http request while site is https).
Yeah still working on the API it’s giving me headaches. First I had the client-side make requests from browser but that seemed to throw issues, only server-side calls were allowed. Now I make API that fetches the data from the different sources and servers it as one JSON dict, but still having issue with getting it to work with the current front-end.
Would it be possible to have Apache2 point a url, e.g. /api that is sources from localhost:5000/api?
I’m trying to find a way to have Apache2 serve the Flask API directly so it’s not using a different port when React tries to fetch it.
You could have a Reverse Proxy (traefik) in Front of everything so all services don’t need to worry about any certificate stuff (traefik takes care of that and even creates/extends lets encrypt certificates)
With the one reverse proxy in front you can get rid of all cross Site Trouble and the proxy internally routes all Traffic according to your needs
(it probably would be easiest to do this stuff when using docker containers to wrap your services (really not a lot of hassle) and then using traefik and the docker provider for stitching it all together)
OMG IT WORKED. I used the reverse proxy on apache2 and it does the job beautifully. First the API was also running on HTTPS but now I can run it as HTTP and the Proxy serves the forwarded local API as HTTPS!
Took three whole days but it’s working and I got smarter
Some updates and fixes on the dashboard!
-Gnosis Minting now shows up in real-time after a bug was fixed, so whenever anyone mints an amount it will show up on the dashboard.
-The ‘last update’ is server time, when last successfull update was made to the API.
-Added tickers for tracking eMAID-, MAID- and BTC prices.
-More mobile-friendly now.
Feel free to give more suggestions on what to improve.
Edit: I was thinking to make additional ticker(s) for eMAID/BTC (adjusted), EMAID/MAID * 100% to see how much the spread is between two pairs, also liquidity +/-5% for moving price (# of emaid or # of maid).
Hello frens, I finally got the time and would like to convert my Omni MAID to Ethereum eMAID
I searched the forum, found this thread and would like co confirm beforehand, that https://emaid.online/ and the process described on this page are still valid and working?
The page is just a tracker, nothing more. You need to go to Altcoinomy - Onboarding platform by Altcoinomy and follow their steps for the on-boarding procedure. Just to note, don’t burn any MAID to the burn address before your KYC is completed, altcoinomy will send you an email when your on-boarding submission is accepted.
Edit: The dashboard shows -1 in Gnosis queue due to some error I still need to fix. You can see the current queue by following the link on the dashboard.