<center><h3>Hive Sharer</h3></center> <center>***Sharing links on the chain!***</center> <center>[Website](https://sharer.fbslo.net) - [GitHub](https://github.com/fbslo/sharer)</center> <center></center> --- **Abstract** Sharing links on Hive is controversial topic. Some people think that profiting from reward pool by simply sharing links is not ok, others think it should be rewarded. Post that motivated me to think about this more, was https://peakd.com/hivewatchers/@demotruk/copy-and-paste-is-not-the-same-as-spam-or-plagiarism by @demotruk. Hive Sharer is solving this problem by introducing blockhain-based link sharing platform, where users can reward each other by tipping HIVE if they like shared content. Users can also upvote posts (upvotes don't have any monetary value), and most upvoted posts will end up on trending page. Reward pool is not used, users can still reward their favorite sharers and people can still share links they like. Sharers can earn only by providing high quality links (solving the problem of low quality content & self-voting). --- ***How to use the site*** You must have Hive Keychain installed to vote, comment, post or tip. Get it for [Firefox](https://addons.mozilla.org/en-US/firefox/addon/hive-keychain/) or [Chrome](https://chrome.google.com/webstore/detail/hive-keychain/jcacnejopjdphbnjgfaaobbfafkihpep). When you visit the site for the first time, you must enter your hive username. Your username is than stored into your browser's local storage and used with Keychain when you try to vote, comment, post... If you used wrong username, click [change username] in the footer. To visit user's profile, click on "Account" button and enter hive username or click on author's name in the post (or click the user's avatar). To share new link, click "Share" button, enter link, description and one tag (sorting by tag is not available yet). ***This is still alpha version, there <strike>might be</strike> are still bugs in the code. Report any bugs (except "known bugs") to @fbslo. <sup>(contact & known bugs at the bottom)</sup>*** --- ***How does this app works? <sup>for developers & curious cats</sup>*** App is streaming blockchain and listening for custom_json operations with id `hive_sharer`. When they are detected, they are stored into MySQL database (for faster (offline) access, you can use HiveSQL or pure blockchain instead to build frontend for HiveSharer). I used internal database instead of using data from blockhain because public RPC nodes can be slow and unreliable. It can also make removing unwanted content (spam...) faters, since there is no need for hardcoded blacklist, but only `DELETE FROM posts WHERE author='spammer';`... Data is still stored in blockchain, but frontend is not showing it anymore. There are 3 transaction types: `post`, `comment`, `vote` Frontend is accessing data using API at `/api/...` (more API documentation bellow.) --- ***JSON operations*** New post: ``` var time = new Date().getTime() //unix_timestamp * 1000 var id_post = 'fbslo' + '-' + time + '-hivesharer' //author-time-hivesharer post = `{ "type": "post", "author": "fbslo", "link": "https://fbslo.net", "description": "My personal website!", "time": "${time}", "tags": "dev", "id": "${id_post}" }` ``` --- New vote: ``` var time = new Date().getTime() var id_vote = 'vote-fbslo' + '-' + time + '-hivesharer' vote = `{ "type": "vote", "voter": "fbslo", "time": "${time}", "id": "${id_vote}", "parent_id": "fbslo-1589046191432-hivesharer" }` ``` --- New comment: ``` var time = new Date().getTime() var id_comment = 'comment-fbslo' + '-' + time + '-hivesharer' var comment = `{ "type": "comment", "author": "fbslo", "description": "Great Website!", "time": "${time}", "parent_id": "fbslo-1589046191432-hivesharer", "id": "${id_comment}" }` ``` --- Frontend CSS templates used: * https://codepen.io/JavaScriptJunkie/pen/jvRGZy by Muhammed Erdem (used for profile page) * https://codepen.io/TSUmari/pen/WmXGgo by Tsumari (used for new/trending page) * Font Awesome icons * Loading icons by https://loading.io/ 3rd party libraries used: Frontend: * jQuery * SweetAlert2 * Moment.js Backend: * @hiveio/hive-js * express, body-parser, ejs * link-preview-node * mysql * xss --- ***How to set up your own dApp*** Clone github repository and install MySQL database. Database schema: * database name: `sharer` * Tables: ``` Table name: posts +---------------+---------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------------+---------+------+-----+---------+-------+ | author | text | YES | | NULL | | | link | text | YES | | NULL | | | description | text | YES | | NULL | | | time | text | YES | | NULL | | | tags | text | YES | | NULL | | | id | text | YES | | NULL | | | votes | int(11) | YES | | NULL | | | comments | text | YES | | NULL | | | image_preview | text | YES | | NULL | | | title_preview | text | YES | | NULL | | +---------------+---------+------+-----+---------+-------+ Table name: comments +-------------+------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+------+------+-----+---------+-------+ | author | text | YES | | NULL | | | description | text | YES | | NULL | | | time | text | YES | | NULL | | | parent_id | text | YES | | NULL | | | id | text | YES | | NULL | | +-------------+------+------+-----+---------+-------+ Table name: votes +-----------+------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------+------+-----+---------+-------+ | voter | text | YES | | NULL | | | time | text | YES | | NULL | | | parent_id | text | YES | | NULL | | | id | text | YES | | NULL | | +-----------+------+------+-----+---------+-------+ ``` (Instructions on how to install NodeJS, NPM and MySQL: https://gist.github.com/fbslo/b63bab4c9e7cfc09e5b613fbe4715937) Rename `/database/db_config.json.demo` to `/database/db_config.json` and edit your database details. Run `npm install` Run `node server.js` will start app on port 5000. --- ***Trending Algorithm*** To sort trending page, I used score calculated from number of votes and post age. `let score = votes / Math.pow(post_age_days, 0.6)`  <sup>Example for post with 1000 votes.</sup> --- <h3>API Documentation</h3> `GET` `/api/profile` API parameters: `account` (default is fbslo) Example: `/api/profile?account=fbslo` Return type: `json` On error: `success: false` On success: ``` success: true, username: username, name: name, about: about, location: location, profile_image: profile_image, post_count: number_of_posts_on_hive, following: number_of_following_on_hive, //or N/A followers: number_of_followers_on_hive //or N/A ``` --- `GET` `/api/posts` API parameters: `page` (default is 1) Limit: 10 per page Example: `/api/posts?page=2` Return type: `json` On error: `success: false` On Success: ``` [0] background_image: image_from_website, profile_image: author's_profile_image, link: webpage_link, author: author_username, id: post_id, title: title_from_web_page, description: description_by_author, votes: number_of_votes, //int comments: number_of_comments //string ... ``` --- `GET` `/api/comments` API parameters: `id` Example: `/api/comments?id=fbslo-1589046191432-hivesharer` Return type: `json` On error: `success: false` On Success: ``` [0] parent_id: parent_post_id, author: author's_username, id: comment_id, description: comment_body, time: time_in_(unix_timestamp * 1000) ... ``` --- `GET` `/api/accountposts` API parameters: `account` (default is fbslo) Example: `/api/accountposts?account=fbslo` Return type: `json` On error: `success: false` On Success: ``` [0] time: time_in_(unix_timestamp * 1000), link: website_link, author: author_username, id: post_id, title: title_from_web_page, description: description_by_author, votes: number_of_votes, //int comments: number_of_comments //string ... ``` --- `GET` `/api/trending` API parameters: none Example: `/api/trending` Return type: `json` On error: `success: false` On Success: ``` [0] background_image: image_from_website, profile_image: profile_image_from_hive, time: time_in_(unix_timestamp * 1000), link: website_link, author: author_username, id: post_id, title: title_from_web_page, description: description_by_author, votes: number_of_votes, //int comments: number_of_comments //string trending_score: trending_score //see above explanation of trending score calculation ... ``` --- --- <center><b>@fbslo</b><br>Discord: fbslo#8470</center> --- Known bugs: * Connection to RPC server fails sometimes and don't reconnect on next attempt to connect. <sup>I'm not sure if this is RPC problem, my internet connection or the code.</sup> If you submited comment, post or vote but front-end don't show it, it's probably this. * Poor UI responsiveness on smaller screens --- ***This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT. There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.***
author | fbslo |
---|---|
permlink | introducing-hive-sharer-sharing-links-on-the-chain |
category | hackathon |
json_metadata | {"tags":["hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"users":["demotruk","fbslo","hiveio"],"image":["https://images.hive.blog/DQmbeD4u4BACY1u4Sz3wshuL5SM1EN58sicT52FfPPgUga8/image.png","https://images.hive.blog/DQmf5qQ7gH1NRd5KNhYg9Focne5farasehDNDWR3QWMRUpu/image.png"],"links":["https://sharer.fbslo.net","https://github.com/fbslo/sharer","https://peakd.com/hivewatchers/@demotruk/copy-and-paste-is-not-the-same-as-spam-or-plagiarism","https://addons.mozilla.org/en-US/firefox/addon/hive-keychain/","https://chrome.google.com/webstore/detail/hive-keychain/jcacnejopjdphbnjgfaaobbfafkihpep","https://codepen.io/JavaScriptJunkie/pen/jvRGZy","https://codepen.io/TSUmari/pen/WmXGgo","https://loading.io/","https://gist.github.com/fbslo/b63bab4c9e7cfc09e5b613fbe4715937"],"app":"hiveblog/0.1","format":"markdown"} |
created | 2020-05-11 14:35:09 |
last_update | 2020-05-17 16:26:18 |
depth | 0 |
children | 19 |
last_payout | 2020-05-18 14:35:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 5.828 HBD |
curator_payout_value | 5.501 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 10,417 |
author_reputation | 163,373,705,640,602 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,312,581 |
net_rshares | 20,342,166,788,947 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
chitty | 0 | 416,898,868,199 | 75% | ||
ervin-lemark | 0 | 0 | 100% | ||
klye | 0 | 77,311,020,916 | 100% | ||
livingfree | 0 | 96,800,477,721 | 1% | ||
inertia | 0 | 985,104,211,738 | 100% | ||
rishi556 | 0 | 11,801,325,989 | 100% | ||
created | 0 | 147,028,501,670 | 1% | ||
da-dawn | 0 | 28,393,175,452 | 23% | ||
sn0n | 0 | 154,975,656,259 | 100% | ||
alexis555 | 0 | 1,811,216,380,407 | 23% | ||
sidwrites | 0 | 21,887,139,159 | 100% | ||
khussan | 0 | 1,555,184,909 | 100% | ||
roomservice | 0 | 766,871,572,640 | 100% | ||
tj4real | 0 | 14,493,726,615 | 4% | ||
netuoso | 0 | 2,597,916,255,588 | 100% | ||
erickpinos | 0 | 405,050,099,188 | 100% | ||
edkarnie | 0 | 165,761,942,135 | 100% | ||
codingdefined | 0 | 217,885,561,101 | 100% | ||
themarkymark | 0 | 2,091,685,912,664 | 10% | ||
fbslo | 0 | 322,011,755,728 | 100% | ||
buildawhale | 0 | 5,187,186,296,222 | 10% | ||
blokz | 0 | 16,930,810,069 | 100% | ||
revisesociology | 0 | 312,773,349,554 | 30% | ||
acehnature | 0 | 1,779,748,815 | 100% | ||
suheri | 0 | 2,591,799,665 | 100% | ||
ocupation | 0 | 231,543,141,532 | 100% | ||
boostme | 0 | 0 | 100% | ||
upmyvote | 0 | 7,472,592,185 | 10% | ||
steemflagrewards | 0 | 69,387,173,162 | 15% | ||
dmytrokorol | 0 | 9,616,325,579 | 25% | ||
crazy-andy | 0 | 34,507,543,140 | 100% | ||
ipromote | 0 | 68,682,639,001 | 10% | ||
hesaid | 0 | 998,196,677 | 100% | ||
moserich | 0 | 12,805,338,093 | 100% | ||
sbi4 | 0 | 116,360,272,955 | 25.45% | ||
ederaleng | 0 | 10,882,568,889 | 100% | ||
enforcer48 | 0 | 96,892,327,840 | 15% | ||
digital.mine | 0 | 34,733,250,719 | 1% | ||
pagliozzo | 0 | 16,663,723,313 | 20% | ||
gordonramzy | 0 | 1,309,008,323 | 100% | ||
jessica.steem | 0 | 1,403,718,267 | 100% | ||
balticbadger | 0 | 6,796,851,656 | 25% | ||
vitranc | 0 | 4,107,501,347 | 20% | ||
brianoflondon | 0 | 656,443,897,566 | 100% | ||
bluerobo | 0 | 82,687,390,043 | 100% | ||
xxxxxxxxxx | 0 | 269,501,300,303 | 2.5% | ||
hanke | 0 | 1,619,182,688 | 100% | ||
limka | 0 | 2,177,876 | 100% | ||
giftgiver | 0 | 27,371,435,323 | 100% | ||
samuel.steem | 0 | 1,027,730,666 | 100% | ||
paolo.senegal | 0 | 3,292,441,447 | 100% | ||
memehub | 0 | 2,326,282,448,204 | 70% | ||
aninsidejob | 0 | 305,989,592,459 | 70% | ||
quantumdeveloper | 0 | 2,420,701,238 | 50% | ||
nalacanecorso | 0 | 1,121,592,401 | 100% | ||
abh12345.stem | 0 | 1,185,093,563 | 100% | ||
btc4breackfast | 0 | 6,012,396,242 | 100% | ||
alby2 | 0 | 10,208,905,492 | 100% | ||
yggdrasil.laguna | 0 | 344,116,654 | 70% | ||
cd-stem | 0 | 542,913,606 | 100% | ||
pecoshop | 0 | 1,842,277,971 | 100% | ||
stem.curate | 0 | 871,422,975 | 100% | ||
boomalex | 0 | 3,437,950,107 | 100% | ||
machete9595 | 0 | 4,874,246,014 | 100% | ||
blue-witness | 0 | 5,055,389,160 | 100% | ||
gitplait | 0 | 49,239,811,159 | 100% | ||
murphysbar | 0 | 719,430,709 | 100% |
Did it go out of production before I could try it, @fbslo? π΅ What a pity!
author | amico |
---|---|
permlink | re-fbslo-qfxv0v |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.08.3"} |
created | 2020-08-31 17:24:33 |
last_update | 2020-08-31 17:24:33 |
depth | 1 |
children | 5 |
last_payout | 2020-09-07 17:24:33 |
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 | 51,076,240,298,517 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,376,726 |
net_rshares | 0 |
It was written for the hackathon and I shut it down after some time to save on server resources. But it's running again, try it ;) https://sharer.fbslo.net/ I can't promise how long it will be online.
author | fbslo |
---|---|
permlink | qfxvhf |
category | hackathon |
json_metadata | {"links":["https://sharer.fbslo.net/"],"app":"hiveblog/0.1"} |
created | 2020-08-31 17:34:30 |
last_update | 2020-08-31 17:34:30 |
depth | 2 |
children | 4 |
last_payout | 2020-09-07 17:34:30 |
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 | 201 |
author_reputation | 163,373,705,640,602 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,376,859 |
net_rshares | 0 |
Thank you: very kind! π
author | amico |
---|---|
permlink | re-fbslo-qfxwyf |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.08.3"} |
created | 2020-08-31 18:06:15 |
last_update | 2020-08-31 18:06:15 |
depth | 3 |
children | 0 |
last_payout | 2020-09-07 18:06:15 |
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 | 23 |
author_reputation | 51,076,240,298,517 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,377,329 |
net_rshares | 0 |
@fbslo I just tried and got this: This page isnβt working sharer.fbslo.net didnβt send any data. ERR_EMPTY_RESPONSE
author | atma.love |
---|---|
permlink | re-fbslo-qfy9pl |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.08.3"} |
created | 2020-08-31 22:41:48 |
last_update | 2020-08-31 22:41:48 |
depth | 3 |
children | 2 |
last_payout | 2020-09-07 22:41: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 | 116 |
author_reputation | 158,551,275,931,254 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,381,086 |
net_rshares | 0 |
It was about time somebody would try to figure this out. Will have to check it out.
author | bluerobo |
---|---|
permlink | re-fbslo-qa6bmu |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.05.2"} |
created | 2020-05-11 15:42:39 |
last_update | 2020-05-11 15:42:39 |
depth | 1 |
children | 0 |
last_payout | 2020-05-18 15:42:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.012 HBD |
curator_payout_value | 0.012 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 84 |
author_reputation | 101,709,195,768,843 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,313,795 |
net_rshares | 78,819,062,874 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fbslo | 0 | 60,509,871,585 | 20% | ||
dustbunny | 0 | 18,309,191,289 | 6.77% |
Test comment!
author | boostme |
---|---|
permlink | re-fbslo-qc6rzo |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.05.5"} |
created | 2020-06-19 18:43:03 |
last_update | 2020-06-19 18:43:03 |
depth | 1 |
children | 0 |
last_payout | 2020-06-26 18:43: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 | 13 |
author_reputation | 460,563,307,446 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 98,063,663 |
net_rshares | -6,204,163,321 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
spaminator | 0 | -6,204,163,321 | -0.25% |
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
author | chitty |
---|---|
permlink | re-introducing-hive-sharer-sharing-links-on-the-chain-20200516t000518 |
category | hackathon |
json_metadata | "" |
created | 2020-05-16 00:05:21 |
last_update | 2020-05-16 00:05:21 |
depth | 1 |
children | 0 |
last_payout | 2020-05-23 00:05:21 |
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 | 86 |
author_reputation | 86,901,300,608,582 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,395,904 |
net_rshares | 0 |
author | ervin-lemark | ||||||
---|---|---|---|---|---|---|---|
permlink | re-fbslo-2020530t221334811z | ||||||
category | hackathon | ||||||
json_metadata | {"tags":["hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"app":"esteem/2.2.7-surfer","format":"markdown+html","community":"esteem.app"} | ||||||
created | 2020-05-30 20:13:36 | ||||||
last_update | 2020-05-30 20:13:36 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2020-06-06 20:13:36 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.012 HBD | ||||||
curator_payout_value | 0.012 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 56 | ||||||
author_reputation | 473,060,194,779,639 | ||||||
root_title | "Introducing Hive Sharer - Sharing links on the chain!" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 97,680,313 | ||||||
net_rshares | 96,700,600,672 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mys | 0 | 35,238,709,548 | 10% | ||
fbslo | 0 | 21,397,671,150 | 100% | ||
dustbunny | 0 | 40,064,219,974 | 13.08% |
Hello, and thanks for your nice work in making Hive more fun. We found this post useful and we will feature it in our Gitplait-elite publication today. Well done!
author | gitplait |
---|---|
permlink | qadmvm |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-15 14:28:36 |
last_update | 2020-05-15 14:28:36 |
depth | 1 |
children | 0 |
last_payout | 2020-05-22 14:28:36 |
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 | 162 |
author_reputation | 911,220,543,569 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,387,143 |
net_rshares | 0 |
So glad someone finally did my idea! check that comment out :) https://peakd.com/hackathon/@hiveqa/re-originate-q9u2zh I'll have to try this out :)
author | hiveqa |
---|---|
permlink | re-fbslo-qafz1k |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.05.3"} |
created | 2020-05-16 20:46:30 |
last_update | 2020-05-16 20:46:30 |
depth | 1 |
children | 0 |
last_payout | 2020-05-23 20:46:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.044 HBD |
curator_payout_value | 0.044 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 149 |
author_reputation | 6,767,181,889,680 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,412,080 |
net_rshares | 282,695,888,417 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fbslo | 0 | 282,695,888,417 | 100% |
Awesome project and makes us have the ability tor be closer to Reddit.. I like it.
author | klye |
---|---|
permlink | re-fbslo-qah3ke |
category | hackathon |
json_metadata | {"tags":["hackathon"],"app":"peakd/2020.05.3"} |
created | 2020-05-17 11:21:51 |
last_update | 2020-05-17 11:21:51 |
depth | 1 |
children | 0 |
last_payout | 2020-05-24 11:21:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.045 HBD |
curator_payout_value | 0.045 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 82 |
author_reputation | 412,341,527,771,769 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,422,818 |
net_rshares | 288,441,646,249 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fbslo | 0 | 288,441,646,249 | 100% |
Posting using JSON. Nice, I like the idea. Reddit basically :) Now we need to up max custom_json per block per account and this should allow for a lot more flexibility for users.
author | rishi556 |
---|---|
permlink | qa6y5m |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-11 23:49:00 |
last_update | 2020-05-11 23:49:00 |
depth | 1 |
children | 0 |
last_payout | 2020-05-18 23:49:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.014 HBD |
curator_payout_value | 0.014 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 179 |
author_reputation | 133,356,525,578,299 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,320,622 |
net_rshares | 89,536,792,807 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fbslo | 0 | 89,536,792,807 | 30% |
One suggestion though, maybe not show the confirmed message until the user allows action on keychain?
author | rishi556 |
---|---|
permlink | qa6y7c |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-11 23:50:00 |
last_update | 2020-05-11 23:50:00 |
depth | 1 |
children | 1 |
last_payout | 2020-05-18 23:50:00 |
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 | 101 |
author_reputation | 133,356,525,578,299 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,320,633 |
net_rshares | 0 |
I will add check if keychain is installed once user vote/post/comment/tip, but if keychain is installed, it's only possible to detect when keychain window is opened and when tx is broadcasted/canceled. Currently "sending vote" is shown when keychain is opened and "vote sent" when transaction is broadcasted. I will try to add better messages, e.g. "confirm vote"...
author | fbslo |
---|---|
permlink | qa7sct |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-12 10:41:30 |
last_update | 2020-05-12 10:41:30 |
depth | 2 |
children | 0 |
last_payout | 2020-05-19 10:41:30 |
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 | 369 |
author_reputation | 163,373,705,640,602 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,327,504 |
net_rshares | 0 |
Is there a minimum tip amount? Can't seem to tip, just shows an `!`.
author | rishi556 |
---|---|
permlink | qa6yo4 |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-12 00:00:06 |
last_update | 2020-05-12 00:00:06 |
depth | 1 |
children | 1 |
last_payout | 2020-05-19 00:00:06 |
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 | 68 |
author_reputation | 133,356,525,578,299 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,320,738 |
net_rshares | 0 |
If you are tipping from profile page, minimum about is 1 HIVE (since I'm using 'number' input in Sweetalert2). On new/trending page, make sure amount format is 0.100 (3 decimals). I will add some fixes, but I will be busy for next few days and I published it early so I can enter the STEMgeeks hackaton.
author | fbslo |
---|---|
permlink | qa7s7a |
category | hackathon |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-05-12 10:38:00 |
last_update | 2020-05-12 10:38:00 |
depth | 2 |
children | 0 |
last_payout | 2020-05-19 10:38:00 |
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 | 306 |
author_reputation | 163,373,705,640,602 |
root_title | "Introducing Hive Sharer - Sharing links on the chain!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,327,462 |
net_rshares | 0 |
Way to go my friend. I will try it up. I actually had my downs on cross posting, but then with much more understanding of the system it's important to crosspost sometimes. I believe Hive sharer also has its purpose
author | tj4real | ||||||
---|---|---|---|---|---|---|---|
permlink | re-fbslo-2020511t172956168z | ||||||
category | hackathon | ||||||
json_metadata | {"tags":["hackathon","hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"} | ||||||
created | 2020-05-11 17:30:03 | ||||||
last_update | 2020-05-11 17:30:03 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2020-05-18 17:30:03 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.012 HBD | ||||||
curator_payout_value | 0.012 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 214 | ||||||
author_reputation | 71,339,870,296,873 | ||||||
root_title | "Introducing Hive Sharer - Sharing links on the chain!" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 97,315,583 | ||||||
net_rshares | 78,560,682,883 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fbslo | 0 | 12,071,409,546 | 4% | ||
dustbunny | 0 | 66,489,273,337 | 24.52% |