English
Hi there Hivers. A big hug for my new friend @ecoinstats because he is helping me to get the most out of this experience and also, pushing me for more.
Ok, what is going on? Well I am trying to communicate myself in english here. I know my english is not "very good looking" but I will try my best. Dunno if you guys know me but I have been working as a #HIVE developer since 2020, and before that I was known as the first Venezuelan Guy who made a big noise in Social Web3, a.k.a: steemit.
Anyway I did some of the following so you can get to know me a bit more:
Now As I plan to keep working with HIVE and in the near future ask DHF to fund one of my projects, I was thinking about making a
Yes my main idea, before getting into a large projects as the ones I have proposed in previous posts was making a liquidity pool simulator to "simulate positions" and attract more HIVERS to put coins into those pools.
I would like to quote this question because I have been there many times:
Ok I want to create this...but how do I get that data? what do I do? Where do I ask about this? Are there more developers available to help? Is just documentation enough?
The answer is not a linear one.
We all are welcome in the discord channels:
Using those 2 channels, getting into developers channels, you can ask whatever you need about coding. Many good users there, even when they are busy they can help. Some of them even will send you code that you can use.
It is been something I am starting to learn here:
Web3 & HIVE is being created as we speak so we must ask, read documentation, practice, try code and repeat over and over
So I was starting my project about making a LP simulator and then I realized than there is no actual way to get the trading activity for a liquidity pool day after day. I mean we can get the real time data going on but an index of persistent data about trading volumes of LP, nope.
Right now tribaldex.com is the one and I think the only one doing that, those people is too busy and last time I asked "read the docs".
But let me explain:
Hive have layers of data / activity
L1: The one having data about posting, the blockchain when we transfer coins, etc
L2: The layer of deeper data which includes Engine Operations, Tokens, Liquidity Pools and so on
I know this is a bit hard to chew when you are not a developer. Anyway, I needed to get the volumen data of a token pair, in order to calculate what are the fees.
By having the trading volumes in a 24h range of a pair of tokens(Liquidity Pool)
At least of 2 days. I could calculate the fees(0.2%) of that amounts and later on, I could calculate, based on a user's shares on that pools, how much coins he gets as fees
So as there is no place to each 24h store the Liquidity pool data, which is:
{
"_id": 112,
"tokenPair": "AFIT:AFITX",
"baseQuantity": "2640357.59843536",
"baseVolume": "41742999.59466189",
"basePrice": "0.00050848",
"quoteQuantity": "1342.58242031",
"quoteVolume": "11664.08687893",
"quotePrice": "1966.62607709",
"totalShares": "58727.31265509210142249948",
"precision": 8,
"creator": "actifit"
}
I came up with a solution and thanks God @ecoinstats is pushing me to see the issue as "AN OPPORTUNITY TO CREATE A SOLUTION AND, IN THE PROCESS, HELP OTHERS FOR THE FUTURE OF HIVE". By doing so right now I came up with a backend solution right here:
https://github.com/theghost1980/hive-liquidity-pools-data-index
The idea of having this, is to help when gathering useful data about LP and more specifically Layer 2 related content of HIVE blockchain.
Keep working on this Data Index, improve it, make some endpoints that may be useful as:
At the beginning YES! So I can gain track and trust that I really want to help coding the Hive Web 3. I am not here only for the money I have been getting much more benefits than just coins from HIVE and I want to keep working so I can be able to make a big project and help a lot of people in the process!!
So any suggestions, ideas about this HIVE Liquidity Pool Data Index, are most welcome. I am open to keep working for HIVE, even when I live in Venezuela and I may not have the best conditions, there are no excuses when you really want something in life!
Español
Hola Hivers. Un gran abrazo para mi nuevo amigo @ecoinstats porque me está ayudando a sacar el máximo provecho de esta experiencia y también, empujándome para más.
Ok, ¿qué está pasando? Bueno, estoy tratando de comunicarme en Inglés aquí. Sé que mi inglés no es «muy bonito» pero intentaré hacerlo lo mejor posible. No se si ustedes me conocen, pero he estado trabajando como desarrollador #HIVE desde 2020, y antes de eso yo era conocido como el primer chico venezolano que hizo un gran ruido en Social Web3, a.k.a: steemit.
En fin hice algo de lo siguiente para que me conozcan un poco más:
Ahora Como tengo la intención de seguir trabajando con HIVE y en un futuro próximo pedir DHF para financiar uno de mis proyectos, yo estaba pensando en hacer un
Sí mi idea principal, antes de meterme en un proyecto grande como los que he propuesto en posts anteriores era hacer un simulador de pool de liquidez para «simular posiciones» y atraer a más HIVERS a meter monedas en esos pools.
Me gustaría citar esta pregunta porque me ha pasado muchas veces:
Vale quiero crear esto... pero ¿cómo consigo esos datos? ¿qué hago? ¿Dónde pregunto sobre esto? ¿Hay más desarrolladores disponibles para ayudar? ¿Es suficiente con la documentación?
La respuesta no es lineal.
Todos somos bienvenidos en los canales de discord:
Usando esos 2 canales, entrando en los canales de desarrolladores, puedes preguntar lo que necesites sobre codificación. Muchos buenos usuarios allí, incluso cuando están ocupados pueden ayudar. Algunos de ellos incluso les enviará código que se puede utilizar
Es algo que estoy empezando a aprender aquí:
Web3 y HIVE están siendo creados mientras hablamos así que debemos preguntar, leer documentación, practicar, probar código y repetir una y otra vez
Así que estaba empezando mi proyecto sobre hacer un simulador de LP y entonces me di cuenta de que no hay manera real de obtener la actividad comercial de un fondo de liquidez día tras día. Quiero decir que podemos obtener los datos en tiempo real, pero un índice de datos persistentes sobre los volúmenes de negociación de LP, no.
En este momento tribaldex.com es el único y creo que el único que hace eso, esa gente está demasiado ocupada y la última vez que le pregunté «lea los documentos» fue la respuesta que tuve.
Pero permítanme explicar:
Hive tiene capas de datos / actividad
L1: La que tiene datos sobre la contabilización, el blockchain cuando transferimos monedas, etc
L2: La capa de datos más profundos que incluye Operaciones del Motor, Tokens, Liquidity Pools y así sucesivamente
Sé que esto es un poco difícil de masticar cuando no eres un desarrollador. De todos modos, necesitaba obtener los datos de volumen de un par de tokens, con el fin de calcular cuáles son las tasas.
Teniendo los volúmenes de negociación en un rango de 24h de un par de tokens(Liquidity Pool)
Al menos de 2 días. Podría calcular las comisiones(0.2%) de esas cantidades y posteriormente, podría calcular, en base a las participaciones de un usuario en ese pools, cuantas monedas recibe como comisiones
Así que como no hay lugar para cada 24h almacenar los datos de Liquidity pool, que es:
{
"_id": 112,
"tokenPair": "AFIT:AFITX",
"baseQuantity": "2640357.59843536",
"baseVolume": "41742999.59466189",
"basePrice": "0.00050848",
"quoteQuantity": "1342.58242031",
"quoteVolume": "11664.08687893",
"quotePrice": "1966.62607709",
"totalShares": "58727.31265509210142249948",
"precision": 8,
"creator": "actifit"
}
Se me ocurrió una solución y gracias a Dios @ecoinstats me está empujando a ver el asunto como "UNA OPORTUNIDAD DE CREAR UNA SOLUCIÓN Y, EN EL PROCESO, AYUDAR A OTROS PARA EL FUTURO DE HIVE". Al hacerlo ahora mismo se me ocurrió una solución backend aquí mismo:
https://github.com/theghost1980/hive-liquidity-pools-data-index
La idea de tener esto, es ayudar a la hora de recopilar datos útiles sobre LP y más específicamente el contenido relacionado con la Capa 2 de HIVE blockchain.
Seguir trabajando en este Índice de Datos, mejorarlo, hacer algunos endpoints que puedan ser útiles como:
Al principio ¡SÍ! ¡¡¡Así que puedo ganar terreno y la confianza de que realmente quiero ayudar a codificar el Hive Web3. No estoy aquí sólo por el dinero que he estado recibiendo mucho más beneficios que sólo monedas de HIVE y quiero seguir trabajando para que pueda ser capaz de hacer un gran proyecto y ayudar a mucha gente en el proceso!!!
Y en un futuro espero contar con fondos del DHF para un macro proyecto creado solo por empleados Hivers Latinos!!!
Así que cualquier sugerencia, idea sobre este HIVE Liquidity Pool Data Index, es bienvenida. Estoy abierto a seguir trabajando para HIVE, incluso cuando vivo en Venezuela y puede que no tenga las mejores condiciones, ¡no hay excusas cuando realmente quieres algo en la vida!