steemcontest.com development update (Added Page For delegators)

in Steem Marketing3 years ago

Screen Shot 2021-10-01 at 21.17.22.png

A few days ago we created a bot to auto-vote every contest post added to the https://www.steemcontest.com site. The problem now is that we need a few STEEM POWER delegates from friends to help raise the vote results from the @steemcontest.com account.

Therefore, in this update, we created a page to display accounts that have assigned SP delegates to the @steemcontest.com account. Apart from being our report, we created this to appreciate the delegates to the @steemcontest.com account

You can see how it looks in the image that we have shown above. On that page we display the name and profile photo of the account that has given SP delegates and also the number of SP delegated along with the percentage of delegates from all delegates.

Screen Shot 2021-10-01 at 21.48.49.png

Here the demo : https://steemcontest.com/delegator

What will you get if you delegate SP to steemcontest.com

To appreciate the delegators, we will share 70% of steemcontest.com earnings to the delegators. while the other 30% is for operational costs and other costs. How is it divided? Once a month we will calculate the amount of income from steemcontest.com from the results of the verification carried out by the contest maker. Then we will distribute 70% of the income to the delegates according to the percentage of their delegates.

How is this made?

This page we created using API from https://steemworld.org (a perfect steemit tool made by @steemchiller). For complete coding, you can see on our github: https://github.com/sogatanco/steem-contest. Here we also present a code snippet:

getDelegator(){
        this.vestToSP()
        var hasildelegator=[]
        fetch('https://sds1.steemworld.org/delegations_api/getIncomingDelegations/steemcontest.com/100000/0')
            .then(response=>response.json())
            .then((data)=>{
                var hasil=data.result.rows
                hasil.sort(function(a,b){
                    return parseInt(b[3])- parseInt(a[3]);
                })

                hasil.map((hs)=>(
                    hasildelegator.push({'user':hs[1], 'total':(parseInt(hs[3])*this.state.vts).toFixed(2), 'avatar':'https://steemitimages.com/u/'+hs[1]+'/avatar'})
            ))

               this.setState({list:hasildelegator})
        })  
    }

Proof of work

You can check our commit here : https://github.com/sogatanco/steem-contest/commits/master

Screen Shot 2021-10-01 at 21.55.27.png

Can we get the program code from steemcontest.com ?

steemcontest.com is open source, so we provide every program code to the public. if you want to view, download, run our project on your local computer or you want to modify it. You can directly visit our github at: https://github.com/sogatanco/steem-contest

We really need your advice

In order to achieve the perfection of this project, we really hope for your suggestions. If you have an idea to add a feature on the steemcontest site, don't hesitate to contact us immediately. We really hope to make steemcontest.com more perfect in the future.

Kind Regards

@sogata / Steemcontest Dev

image.png

Our Other Project :

  • Bank STEEM : STEEM / SBD exchange site with IDR (Indonesian Rupiah), and vice versa.
  • Promosteem.Com :promosteem community tool to see the delegates and member status of the community
Sort:  
 3 years ago 

nice one .....

Good job my bro

 3 years ago 

Mantap sekali, banyak ide2 brilian dari bang @arie.steem. sukses untuk kita bersama.

 3 years ago 

terimaksih bang

Coin Marketplace

STEEM 0.24
TRX 0.25
JST 0.039
BTC 93333.46
ETH 3336.69
USDT 1.00
SBD 3.26