Posts

Aliento Pay - Updates in our Delegation Bot [ENG-ESP]

avatar of @aliento
25
@aliento
·
0 views
·
6 min read


What is Aliento Pay?

Aliento Pay (@aliento.pay) is an application based on the Python language that allows us to make transfers automatically to Hive users who delegate to the @Aliento Project. It is semi-automatic, and everything is done via Discord.

How does it work?

I invite you to read this post to learn more details about the bot. The APR is no longer the same as before, thanks to the last Hard Fork changes.

With Aliento, we vote on content manually and weekly vote over 200 posts from about 160 different users. Much of this curation is done by community leaders who are part of our small incubator. Most communities are Hispanic, but we also support some communities that do not have Spanish as their primary language.

Every Wednesday, we analyze the last week's rewards and send the liquid Hive to the delegators. The bot allows us to know the percentage and the amount to send through some simple commands. Once we have the exact amount, we send the Hive to an account that distributes that Hive automatically to all the delegators. That is why we say it is semi-automatic. The bot may, even more, automate it in the future, but we like the way it currently works.

What changes were made to the bot?

  • Connected to HiveSQL developed by @arcange to be able to extract data from delegators in a faster way.

  • We used the pymssql package of the Python language to connect to the HiveSQL database.

  • We used sqlite3 to connect to our database to avoid transactions to HiveSQL.

  • We reduced the number of HIVE API's and used the following:

'https://anyx.io/' - 'https://api.hive.blog/' - 'https://api.openhive.network/'

  • We did a basic debug to optimize the code and make the responses faster.

Code release:

The code will be available in 15 days on Github to contribute to the development and get a better application.

The coding and setup of the bot were done by @enrique89.



Versión en Español:

¿Qué es Aliento Pay?

Aliento Pay (@aliento.pay) es una aplicación basada en el lenguaje Python que permite hacer transferencias de forma automática a los usuarios de Hive que delegan al Proyecto @Aliento. Es semi automática y todo se hace vía Discord.

¿Cómo funciona?

Los invito a leer esta publicación para conocer más detalles sobre el bot. El APR ya no es el mismo que antes, gracias a los cambios que se realizaron en el último Hard Fork.

Con Aliento votamos contenido manualmente. Semanalmente votamos más de 200 publicaciones de alrededor de 160 usuarios diferente. Gran parte de esta curación es realizada por líderes de comunidades que son parte de nuestra pequeña incubadora. La mayoría de las comunidades son hispanas, pero también apoyamos algunas comunidades que no tienen como idioma principal el español.

Todos los miércoles se hace analizan las recompensas de la última semana y se envía el Hive liquido a los delegadores. El bot nos permite conocer el porcentaje y la cantidad que debemos enviar por medio de algunos comandos sencillos. Una vez que tenemos la cantidad exacta enviamos el Hive a una cuenta que tiene la función de repartir ese Hive de manera automática a todos los delegadores. Por eso decimos que es semi automático. En un futuro es posible que sea aún más automatizado, pero nos gusta como funciona actualmente.

¿Qué cambios se realizaron en el Bot?

  • Se conectó a HiveSQL desarrollado por @arcange, para poder extraer los datos de los delegadores de una manera más rápida.

  • Se usó el paquete de pymssql del lenguaje Python para poder conectarnos a la base de datos de HiveSQL.

  • Se usó sqlite3 para conectarnos a una propia base datos, para evitar transacciones hacia HiveSQL.

  • Reducimos la cantidad de API's de HIVE y usamos las siguientes:

'https://anyx.io/' - 'https://api.hive.blog/' - 'https://api.openhive.network/'

  • Se hizo un debug básico para optimizar el código y que las respuestas sean más rápidas.

Liberación del código:

El código estará disponible en 15 días en Github para que la comunidad pueda aportar en el desarrollo y obtener una mejor aplicación.

Todo el código y la confiuguración del bot fue realizada por @enrique89.


Some stats of Aliento / Algunas estadísticas de Aliento:

https://hivestats.io/@aliento


Last Aliento Stats
7 Days curation30 Days CurationTotal HP
144.86628.3281289.76
APR %85% used for paymentDate
9.27123.13Nov 17 2021 11:13:28

Last Payment:

DelegatorHP Delegated% of participationAmount to Pay ($HIVE)Date of delegation
stoicoin1579224.5830.08Apr 01 2021
therealyme1293120.1324.63Apr 25 2021
uwelang1023515.9319.49Feb 24 2021
olijr199528684.465.46Oct 06 2021
khaleelkazi257344.89Dec 24 2020
traciyork25063.94.77Oct 20 2021
netaterra18332.853.49Apr 25 2021
neuerko10261.61.96Feb 01 2021
primersion10271.61.96Jan 18 2021
jongolson10271.61.96Jan 17 2021
samgiset10111.571.92Jul 08 2021
drricksanchez10041.561.91Oct 05 2021
faffy8891.381.69Oct 29 2021
desic5220.810.99Jun 19 2021
preparedwombat5140.80.98Jan 17 2021
marijo-rm5060.790.97Jul 05 2021
hivetrending5060.790.97Jun 30 2021
enrique895010.780.95Oct 31 2021
hectgranate4810.750.92Nov 04 2021
palimanali4040.630.77Jul 27 2021
divadstrokes4040.630.77Jul 12 2021
mtzrene4050.630.77Jun 24 2021
marybellrg4010.620.76Oct 06 2021
nohyperec3820.590.72Sep 17 2021
marpolaris3680.570.7Oct 27 2021
taitux3570.560.69Mar 29 2021
fmbs253070.480.59Feb 09 2021
reinaldoverdu3040.470.58Sep 13 2021
evagavilan23020.470.58Sep 09 2021
samgiset.life3050.470.58May 12 2021
jonsnow19832250.350.43Feb 24 2021
elizabeths142050.320.39Mar 15 2021
argeh2000.310.38Nov 08 2021
alejandramonzon2020.310.38Jul 30 2021
emperatriz15032020.310.38Jul 03 2021
pacoandujar1380.210.26Oct 27 2021
r0str01200.190.23Oct 09 2021
jesustiano1000.160.2Oct 27 2021
mayifiestas1000.160.2Oct 27 2021
vicokiwi1010.160.2Sep 10 2021
ricardo9931010.160.2Jul 19 2021
elemarg251010.160.2Jun 19 2021
mballesteros1020.160.2Apr 15 2021
daniel20011020.160.2Apr 13 2021
actioncats1020.160.2Apr 02 2021
yonnathang1030.160.2Jan 19 2021
valeryc650.10.12Aug 21 2021
keco500.080.1Aug 02 2021
anibal-aa510.080.1Jun 22 2021
soychalbed510.080.1Jun 19 2021
esthersanchez510.080.1Jun 03 2021
mariale07510.080.1Dec 25 2020

Total Hive Paid: 122.37


Users need to delegate at least 50 Hive Power to be eligible for a weekly payment. Curations rewards are earned after seven days from the start of delegations.

You can delegate Hive Power to Aliento at any time. If you have questions on how to do this, please comment or reach out to us on our Discord Server.

Los usuarios tienen que delegar al menos 50 Hive Power para poder optar a un pago semanal. Las recompensas de Aliento se ganan después de siete días desde el inicio de las delegaciones.

Puedes delegar Hive Power a Aliento en cualquier momento. Si tienes preguntas sobre cómo hacerlo, por favor haz un comentario o comunícate con nosotros en nuestro Servidor Discord.

¡Únete al Discord aquí! / Join the Discord here!

Translated with the help of https://www.deepl.com/translator
[Main Image Source](https://unsplash.com/photos/kmF_Aq8gkp0) edited with https://www.photopea.com/