
Last week, we introduced our update to the SteemPlus landing page allowing you to check the weekly leaderboard.
Top SPP earners of the week share a bonus equal to 10% of all the SPP distributed during the week (excluding delegations, previous weekly bonus and reblogs).
Read on to see how our API takes care of this.
Weekly ranking
Our weekly ranking job performs as follow :
- It launches once a week on Sunday to Monday midnight UTC.
- It calculates the total amount of SPP shared during the week , excluding reblogs, weekly rewards and delegations.
// MongoDB query creation for total points
const totalPointQuery = [
{ "$match": { "typeTransaction": { $nin: [delegationType._id, reblogType._id, weeklyRewardType._id] }, timestamp: { '$gte' : startWeek, '$lt' : endWeek}, "user": { $nin: userNotIncluded.map(u => u._id)} } },
{ "$group":
{
"_id": null,
points: {
$sum: "$nbPoints"
}
}
},
]
- it checks who are the top 10 SPP earners of the week :
// MongoDB query creation for ranking
const weeklyQuery = [
{ "$match": { "typeTransaction": { $nin: [delegationType._id, reblogType._id, weeklyRewardType._id] }, timestamp: { '$gte' : startWeek, '$lt' : endWeek}, "user": { $nin: userNotIncluded.map(u => u._id)} } },
{ "$group":
{
"_id": "$user",
points: {
$sum: "$nbPoints"
}
}
},
{
$sort: { points: -1 }
},
{
$limit: 10
}
]
- The weekly reward pool equals 10% of the total distributed during the week. This pool is distributed to the top 10 earners as follow:
const percentageReward = [50, 25, 12.5, 6.25, 3.13, 1.56, 0.78, 0.39, 0.24, 0.15];

As you can see, the higher you are on the Top 10, the higher your bonus will be.
The top SPP earner of the week will get 50% of the 10% pool, that is a huge bonus of 5% of all SPP earned during the week (except for delegations and reblogs).
Last week winners!
1- @dhimmel 818.16,
2 - @randolphrope 409.08,
3 - @dreemit 204.54,
4 - @suggeelson 102.27,
5 - @tbnfl4sun 51.22,
6 - @dynamicrypto 25.53,
7 - @cranium 12.76,
8 - @the01crow 6.38,
9 - @jacekw 3.93
10 - @futuremind 2.45
How to earn SPP?

You can start earning SPP right now for getting in this week's leaderboard and earning extra SPP!
If you don't know what the SPP are about, check out our SPP tab on steemplus.app to see how you can get them, and use them to get @steem-plus votes and premium features.
Repository
https://github.com/stoodkev/steemplus-api
Pull Request
GitHub Account
Installation and updates (SteemPlus extension)
You can download and install SteemPlus directly from the Chrome Store if you are using Chrome or Firefox(follow this link for Chrome, this one for Firefox ).
See download page in here.
For installation procedures on Opera, please check our documentation.
Updates shouls occur automatically. If not, click right on the extension logo > Manage my extensions > Update.
Steem on!
@stoodkev and @cedricguillas for @steem-plus