Hi I need to keep a regular update for this dev blog as I manage to release more often than I am writing these posts. I have a decent progress and I am adding more and more HIveEngine actions to the bot. Currently, there are 9 actions and I think this is almost all for now as I am not sure what else could be added. **By all mean the Bot is still at most Beta version so please be aware that some actions might not always work as the amount selected are not correct** # New token actions I have added the ability to add liquidity to a pool as well as a token swap function. However, I have some issues with calculating the correct amount and as a result, actions do not work all the time yet, but this will be fixed soon. ``` { "name": "SwapToken", "parameters": { "tokenPair": "SPORTS:AFIT", "token": "SPORTS", "amountToSwap": "*", "maxSlippage": "0.673619" } }, ``` # New support action What is more, there is a new FlushAndBalance action that combines both flush (i.e. sent operations to blockchain) with balance(i.e. read hive engine to get tokens value) with a 3 seconds delay between them to ensure that all blocks are updated. ``` { "name": "FlushAndBalanceAction" } ``` # New better config I have introduced a new part of the confi g allowing users to set a number of tokens and execute the same operation on them. So now instead of having 3 nodes doing exactly the same operation on the different tokens/token pairs you can have one. ``` { "name": "Series", "parameters": { "action": "AddToPool", "splitParameterName": "tokenPair", "splitOn": "PKM:SPS;SWAP.HIVE:THGAMING;FORGE:DEC", "leftAmount": "*", "rightAmount": "*" } }, ``` # Where to find the Bot All releases (that is compiled version of the bot), as well as source code, could be found on Github: [https://github.com/Assassyn/universal-hive-bot/releases/](https://github.com/Assassyn/universal-hive-bot/releases/) Posted with [STEMGeeks](https://stemgeeks.net)
author | assassyn |
---|---|
permlink | let-s-build-a-bot-universal-hive-bot-dev-blog-2 |
category | hive-163521 |
json_metadata | "{"tags":["universal-bot","stem","hive-engine","waivio","pimp","leo"],"links":["https://github.com/Assassyn/universal-hive-bot/releases/"],"app":"stemgeeks/0.1","format":"markdown","canonical_url":"https://stemgeeks.net/@assassyn/let-s-build-a-bot-universal-hive-bot-dev-blog-2","description":"universal hive bot dev blog #2 ","users":[],"image":[]}" |
created | 2023-05-22 11:35:57 |
last_update | 2023-05-22 11:37:12 |
depth | 0 |
children | 0 |
last_payout | 2023-05-29 11:35:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.127 HBD |
curator_payout_value | 0.121 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,182 |
author_reputation | 27,348,274,521,994 |
root_title | "Let's build a Bot - Universal Hive Bot Dev Blog #2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 123,726,281 |
net_rshares | 548,962,879,491 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
slider2990 | 0 | 3,166,574,976 | 50% | ||
apoloo1 | 0 | 4,012,534,018 | 30% | ||
roleerob | 0 | 882,185,203 | 0.17% | ||
steemseph | 0 | 10,797,464,463 | 10% | ||
steembasicincome | 0 | 49,330,346,007 | 0.66% | ||
enforcer48 | 0 | 222,445,876,551 | 20% | ||
stemgeeks | 0 | 1,495,189,504 | 50% | ||
stemcuration | 0 | 0 | 50% | ||
babytarazkp | 0 | 3,559,248,217 | 40% | ||
abh12345.stem | 0 | 1,404,680,081 | 100% | ||
elianaicgomes | 0 | 1,671,136,265 | 5% | ||
stem.alfa | 0 | 2,894,545,395 | 100% | ||
bozz.sports | 0 | 2,812,117,615 | 4% | ||
yggdrasil.laguna | 0 | 0 | 25% | ||
brofund | 0 | 2,938,917,751 | 0.87% | ||
stuntman.mike | 0 | 9,028,284,689 | 100% | ||
dorkpower | 0 | 3,926,090,193 | 100% | ||
brofund-stem | 0 | 992,290,113 | 50% | ||
stemline | 0 | 3,228,978,953 | 25% | ||
sillybilly | 0 | 485,852,406 | 100% | ||
he-index | 0 | 2,941,053,620 | 10% | ||
meestemboom | 0 | 476,066,394 | 25% | ||
scooter77.stem | 0 | 511,906,392 | 50% | ||
krishu.stem | 0 | 650,610,506 | 100% | ||
peerfinance | 0 | 53,047,381,649 | 100% | ||
adamada.stem | 0 | 2,943,829,412 | 100% | ||
brofi | 0 | 106,629,469,947 | 0.87% | ||
moraviareosa | 0 | 42,678,725 | 100% | ||
juecoree.stem | 0 | 655,977,236 | 100% | ||
nfttunz | 0 | 6,655,719,081 | 0.43% | ||
holovision.stem | 0 | 1,722,344,684 | 100% | ||
star.stem | 0 | 1,430,489,762 | 50% | ||
solominer.stem | 0 | 771,253,197 | 100% | ||
assassyn | 0 | 15,517,534,728 | 100% | ||
bizoku | 0 | 1,419,110,407 | 100% | ||
saboin.stem | 0 | 337,302,610 | 50% | ||
alamut-he | 0 | 18,035,514,505 | 100% | ||
lasort | 0 | 9,653,351,861 | 50% | ||
stem-shturm | 0 | 448,972,375 | 100% |