create account

steemlua -- the steem library for lua by steemlua

View this thread on: hive.blogpeakd.comecency.com
· @steemlua · (edited)
$0.04
steemlua -- the steem library for lua
#### 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:

![图片.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1515738955/jiprez22ghuvzgi3sto6.png)

#### [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/>
👍  , , , , , , , ,
properties (23)
authorsteemlua
permlinksteemlua-the-steem-library-for-lua
categoryutopian-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}}
created2018-01-12 06:40:06
last_update2018-01-14 01:41:15
depth0
children4
last_payout2018-01-19 06:40:06
cashout_time1969-12-31 23:59:59
total_payout_value0.036 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,730
author_reputation399,121,771,055
root_title"steemlua -- the steem library for lua"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,934,964
net_rshares6,428,309,272
author_curate_reward""
vote details (9)
@authors.leage ·
### 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_
👍  , ,
properties (23)
authorauthors.leage
permlinkre-steemlua-steemlua-the-steem-library-for-lua-20180112t083632
categoryutopian-io
json_metadata{"app":"steem-go"}
created2018-01-12 08:36:03
last_update2018-01-12 08:36:03
depth1
children0
last_payout2018-01-19 08:36:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,888
author_reputation7,709,068,048,036
root_title"steemlua -- the steem library for lua"
beneficiaries
0.
accountasuleymanov
weight9,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,952,883
net_rshares756,372,053
author_curate_reward""
vote details (3)
@dutch ·
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)**
properties (22)
authordutch
permlinkre-steemlua-steemlua-the-steem-library-for-lua-20180112t134441222z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-12 13:44:42
last_update2018-01-12 13:44:42
depth1
children1
last_payout2018-01-19 13:44:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length600
author_reputation11,905,004,165,125
root_title"steemlua -- the steem library for lua"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,006,947
net_rshares0
@steemlua · (edited)
@dutch, thanks for reveiw!
I updated descriptions, please review it again.
properties (22)
authorsteemlua
permlinkre-dutch-re-steemlua-steemlua-the-steem-library-for-lua-20180113t013828638z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-13 01:38:27
last_update2018-01-13 01:49:15
depth2
children0
last_payout2018-01-20 01:38:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length74
author_reputation399,121,771,055
root_title"steemlua -- the steem library for lua"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,126,555
net_rshares0
@steem-network ·
<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>
properties (22)
authorsteem-network
permlinkre-steemlua-the-steem-library-for-lua-20180113t033746
categoryutopian-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"}"
created2018-01-13 03:37:48
last_update2018-01-13 03:37:48
depth1
children0
last_payout2018-01-20 03:37:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length977
author_reputation-788,969,433,247
root_title"steemlua -- the steem library for lua"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,142,955
net_rshares0