#### Dependence: libcurl, lua #### windows/msys compile: gcc -shared steem.cpp -o steem.dll -lcurl -llua #### Linux compile: gcc -shared steem.cpp -o steem.so -lcurl -llua #### Details The Steem library for lua has been designed to allow lua/game developers to easily access Steem blockchain. The library is steem.cpp. Finished and tested below functions, please see test.lua for how to use them. All of below functions return 2 values, the first one is a json string, similar as the steemjs. the second one is the length of json string. get_trending_tags get_discussions_by_trending get_discussions_by_created get_discussions_by_active get_discussions_by_cashout get_discussions_by_payout get_discussions_by_votes get_discussions_by_children get_discussions_by_hot get_discussions_by_feed get_discussions_by_blog get_discussions_by_comments get_block_header get_block get_state get_config get_feed_history get_current_median_history_price get_hardfork_version get_next_scheduled_hardfork get_reward_fund get_vesting_delegations get_key_references get_accounts get_account_references lookup_account_names lookup_accounts get_account_count get_conversion_requests get_account_history get_recovery_request #### Test: lua test.lua #### Test result: {"result":598618,"id":1}24.0 #### Submit screenshot:  #### [Source code](https://github.com/AlanZheng/steemlua) #### [Commit history](https://github.com/AlanZheng/steemlua/commits/master) <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@steemlua/steemlua-the-steem-library-for-lua">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
author | steemlua | ||||||
---|---|---|---|---|---|---|---|
permlink | steemlua-the-steem-library-for-lua | ||||||
category | utopian-io | ||||||
json_metadata | {"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":117055937,"name":"steemlua","full_name":"AlanZheng/steemlua","html_url":"https://github.com/AlanZheng/steemlua","fork":false,"owner":{"login":"AlanZheng"}},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","steemdev","lua","development","programming"],"users":["steemlua"],"links":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1515738955/jiprez22ghuvzgi3sto6.png","https://github.com/AlanZheng/steemlua","https://github.com/AlanZheng/steemlua/commits/master"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1515738955/jiprez22ghuvzgi3sto6.png"],"moderator":{"account":"dutch","flagged":true,"reviewed":false,"pending":false}} | ||||||
created | 2018-01-12 06:40:06 | ||||||
last_update | 2018-01-14 01:41:15 | ||||||
depth | 0 | ||||||
children | 4 | ||||||
last_payout | 2018-01-19 06:40:06 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.036 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 1,730 | ||||||
author_reputation | 399,121,771,055 | ||||||
root_title | "steemlua -- the steem library for lua" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 28,934,964 | ||||||
net_rshares | 6,428,309,272 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
authors.leage | 0 | 144,733,524 | 5% | ||
alanzheng | 0 | 2,903,375,479 | 100% | ||
azcax | 0 | 614,590,892 | 100% | ||
reyha | 0 | 1,600,263,322 | 19% | ||
xiaodong | 0 | 246,042,605 | 100% | ||
zhengxiaodong | 0 | 246,031,846 | 100% | ||
steemlua | 0 | 245,909,250 | 100% | ||
xvz | 0 | 304,461,317 | 100% | ||
hao.zheng | 0 | 122,901,037 | 100% |
### Greetings my friend! **I am glad that our community has increased with one more member! I hope that you will find here a way to realize yourself, and to benefit others Be yourself, be sincere, be honest and worthy of the place you are in.** I Upvoted your post and Resteem of your greeting in my feed, where you you can search friends and other minnows... I think you can use this collected information: --- First off all! Most answers to your questions you can find here https://www.steemithelp.net/ --- Blockchain Explorer [https://steemd.com/@_Your_Steemit_Nickname](https://steemd.com) Blockchain Explorer and statistics [https://steemdb.com/@_Your_Steemit_Nickname_](https://steemdb.com) Your account achievements [https://steemitboard.com](https://steemitboard.com/board.html?user=clixmoney) Navigate the prices and exchanges where you can buy Steem or sell SBD [Steem](https://coinmarketcap.com/currencies/steem/#markets) [SBD](https://coinmarketcap.com/currencies/steem-dollars/#markets) --- _For the your first post use please #introduceyourself tag! Thank you:)_ _You can become a participant in the competitions, by selecting the desired in the tag #contest or invent and organize your own._ _More_ [_useful tips_](https://steemit.com/inspiration/@clixmoney/the-best-steemit-tips-for-my-dear-followers-and-all-steemit-users) _and_ [_steemit app_](https://steemit.com/steemit/@clixmoney/the-best-steemit-tools-for-my-dear-followers-and-all-steemit-users) _you can find in #steemit & #steem tag_ --- There is a Steemit chat with various rooms, in which you can ask questions, advice, or place your post to advertise it to the community https://steemit.chat Upvote chat in the telegram massager: https://t.me/steem https://t.me/intercambiosteemit https://t.me/Steemplus Similarly, by reading the posts of other Steemians you can find invitations to the Discord channels! They often contain upvote chats, and you can easily find friends of interest in them Here are some of them: <sub>_World Of Photography https://discord.gg/4Ezx2eM_ _MinnowBOOSTER https://discord.gg/k7fWQD7_ _SteemSports https://discord.gg/ApvKKUF_ _WhaleShares https://discord.gg/DX7zErC_ _Steem Gigs https://discord.gg/NuFVxKA_ _SteemTrail https://discord.gg/gHt2aGN_ _Minnow-Power channel https://discord.gg/WvFQzXu_ <sub>notify</sub> _Steemit Lover https://discord.gg/EVKhssF_ _GuideSteemit https://discord.gg/nkwh36Y_ _BuildAWhale https://discord.gg/yebax27_ _Steemit ramble https://discord.gg/9pUSjv8_ _VotoVZLA https://discord.gg/VhgeFJQ_ _Steem Life https://discord.gg/SD3ReMm_ _SteemLab https://discord.gg/phWQveU_ _MinnowsUnite https://discord.gg/CJEEfgb_ _Steemians https://discord.gg/uR95R7t_ _Society for Narwhal https://discord.gg/repxc9v_</sub> Territorial communities <sub>Steemit Philippines https://discord.gg/VyG83AN | https://discord.gg/Q8956PF Steem NIGERIA https://discord.gg/Y3u2z6T East Coast Steem https://discord.gg/QXduBuk Ukraine SteemOn https://discord.gg/cxq8JQd Ru-Steem Trail https://discord.gg/8KyDBUx</sub> _Let us know if you know more or create new!_ --- **Alternative interfaces:** https://zappl.com https://busy.org https://steepshot.io (-mobile app have to) Forums https://chainbb.com --- **Mobile app** - eSteem : for Android https://play.google.com/store/apps/details?id=com.netsolutions.esteem&hl=ru for iOS https://itunes.apple.com/us/app/esteem-mobile/id1141397898?mt=8 --- **Forget about youtube! There is https://d.tube!** **Have fun and joke yourself with https://dmania.lol/** --- A public SQL database with all blockchain data http://steemsql.com https://sql.steemhelpers.com From Developers https://steemconnect.com **Rewarding Open Source Contributors** **https://utopian.io | https://discord.gg/kPYBCYK** --- **Autocuration**1 https://steemvoter.com **Autocuration**2 https://streemian.com/profile/curationtrail/trailing/943 **Bot Tracker** https://s3.amazonaws.com/yabapmatt/bottracker/bottracker.html#paid --- Use @minnowbooster for boost your rewards! More https://www.minnowbooster.net https://www.minnowbooster.net/minnowbannericon.jpg --- ## You also need to select witnesses and vote for them. These are people who ensure decentralization of the work of the blockchain. Make your choice consciously, by choosing responsible and useful delegates https://steemit.com/~witnesses --- **[Golos](https://steemit.com/sbdgiveaway/@dimarss/dejstvitelno-li-golos-russkoyazychnaya-platforma-12-08) wait for you too!** Find more [here](https://coinmarketcap.com/currencies/golos/) about Golos.io blockchain platform - analogue Steemit! This is Steemit,s younger brother! **Join us: https://golos.io/create_account** --- _Regarding the correction, insertion or deletion of your information, please contact @Dimarss_
author | authors.leage | ||||||
---|---|---|---|---|---|---|---|
permlink | re-steemlua-steemlua-the-steem-library-for-lua-20180112t083632 | ||||||
category | utopian-io | ||||||
json_metadata | {"app":"steem-go"} | ||||||
created | 2018-01-12 08:36:03 | ||||||
last_update | 2018-01-12 08:36:03 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2018-01-19 08:36:03 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 4,888 | ||||||
author_reputation | 7,709,068,048,036 | ||||||
root_title | "steemlua -- the steem library for lua" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 28,952,883 | ||||||
net_rshares | 756,372,053 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dreamon | 0 | 63,313,098 | 5% | ||
asuleymanov | 0 | 548,325,431 | 15% | ||
authors.leage | 0 | 144,733,524 | 5% |
Your contribution cannot be approved because it is not as informative as other contributions. See the [Utopian Rules](https://utopian.io/rules). Contributions need to be informative and descriptive in order to help readers and developers understand them. On Utopian we want actively maintained and promising open source projects - not private projects. It is important that you provide all the required information about your work, and that your project has a quality README file. You can contact us on [Discord](https://discord.gg/UCvqCsx). **[[utopian-moderator]](https://utopian.io/moderators)**
author | dutch |
---|---|
permlink | re-steemlua-steemlua-the-steem-library-for-lua-20180112t134441222z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-12 13:44:42 |
last_update | 2018-01-12 13:44:42 |
depth | 1 |
children | 1 |
last_payout | 2018-01-19 13:44:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 600 |
author_reputation | 11,905,004,165,125 |
root_title | "steemlua -- the steem library for lua" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,006,947 |
net_rshares | 0 |
@dutch, thanks for reveiw! I updated descriptions, please review it again.
author | steemlua |
---|---|
permlink | re-dutch-re-steemlua-steemlua-the-steem-library-for-lua-20180113t013828638z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-13 01:38:27 |
last_update | 2018-01-13 01:49:15 |
depth | 2 |
children | 0 |
last_payout | 2018-01-20 01:38:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 74 |
author_reputation | 399,121,771,055 |
root_title | "steemlua -- the steem library for lua" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,126,555 |
net_rshares | 0 |
<html> <p>Congratulations <a href="/@steemlua" target="_blank">@steemlua</a>, you have decided to take the next big step with your first post! The Steem Network Team wishes you a great time among this awesome community.</p> <hr> <div class="pull-left"><img src="https://steemitimages.com/DQmaAdLUJ3yaSkmcmWECWyPGPWcjfbCoZ8Tu4RM6H4DbjCi/steem-network-thumbs-up.gif" alt="Thumbs up for Steem Network´s strategy" title="I suggest Steem Network´s strategy" width="320" height="222"></div> <h1>The proven road to boost your personal success in this amazing Steem Network</h1> <p>Do you already know that awesome content will get great profits by following these <a href="/steem-network/@steem-network/spread-your-posts-through-this-proven-strategy-and-get-great-profits-in-return--for-posts-created-at-2018-01-12" target="_blank" alt="Steem Network" title="Follow Steem Network´s suggestions to boost your success">simple steps</a>, that have been worked out by experts?</p> </html>
author | steem-network |
---|---|
permlink | re-steemlua-the-steem-library-for-lua-20180113t033746 |
category | utopian-io |
json_metadata | "{"tags": ["steem-network"], "users": ["steem-network", "steemlua"], "image": ["https://steemitimages.com/DQmaAdLUJ3yaSkmcmWECWyPGPWcjfbCoZ8Tu4RM6H4DbjCi/steem-network-thumbs-up.gif"], "links": ["/@steemlua", "/steem-network/@steem-network/spread-your-posts-through-this-proven-strategy-and-get-great-profits-in-return--for-posts-created-at-2018-01-12"], "community": "steem-network", "app": "steem-network/1.0.1", "format": "html"}" |
created | 2018-01-13 03:37:48 |
last_update | 2018-01-13 03:37:48 |
depth | 1 |
children | 0 |
last_payout | 2018-01-20 03:37:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 977 |
author_reputation | -788,969,433,247 |
root_title | "steemlua -- the steem library for lua" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,142,955 |
net_rshares | 0 |