1UP : Linking a trail account to a communitysteemCreated with Sketch.

in #utopian-io6 years ago

Repository

https://github.com/therealFlauwy/1UP

Following this post from @flauwy, I've been tasked to start the creation of the new 1UP.
As a reminder, @utopian-1UP was an Utopian bot front-runner in which members of the community would decide which are the best posts to vote for. the @utopian-1up would then vote for the best post every 2.4 hours, followed by hundreds of curators in the trail.

New Feature : Trail account linking

What's the trail account?

The trail account is the first account to vote for the post winning a 1UP vote (every 2.4 hours). Then a multitude of accounts following the trail will vote as well to reward the post.

How to link it to a community ?

To create a community on 1UP, one needs to be logged in via SteemConnect.
However, the owner account is not necessary the same than the trail account. For this, we need another login via SteemConnect.

Here is how this works :

  • Step 1 : When the community is created, a random string is generated to create a link.

  • Step 2 : This link redirects to a SteemConnect login including the offline scope. Having an offline token is necessary to let the trail vote at all time without human intervention.
  • Step 3: A request is made to SC2 OAuth2 in order to get the trail information and tokens.
  • Step 4: A Trail object is created in our database.
  • Step 5: The community View page reflects the change via displaying the trail account name and linking it to Steemit, instead of showing the randomly generated link.

Live Demo

As a demonstration speaks more than lots of words, I ve put back online the old Utopian1UP website. You can try by yourself and create a community and link a trail to it for testing purposes.
No votes will be casted do not worry, but it's an offline token so, for safety reasons, I would recommend using a test account.

Live Demo

Pull Request

Linking a trail account to a community

GitHub Account

https://github.com/stoodkev

Sort:  
  • Great comments all around.
  • Simple flow and easy to follow.
  • sth_wrong is a bit more clear.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you for your review, @helo!

So far this week you've reviewed 6 contributions. Keep up the good work!

Thanks for your input =)

What's the difference with the existing on Steemauto ? (if there's any).

1UP will be used to let the community decide which posts in a give community will get an upvote and the traill account will then be triggered and cast a vote. The actual trail will still be on Steemauto. The two services are actually complementary.

To better understand how 1UP will work, I encourage you to read @flauwy s posts.

Thanks for the clarification.

Hi @stoodkev! We are @steem-ua, a new Steem dApp, computing UserAuthority for all accounts on Steem. We are currently in test modus upvoting quality Utopian-io contributions! Nice work!

Hey @stoodkev
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 62352.72
ETH 2953.59
USDT 1.00
SBD 3.62