oceanprotocol-archive / bounties

🎣 Bounties for Ocean Protocol
Apache License 2.0
11 stars 0 forks source link

Ocean bounty : Token-distributing Twitter Bot for Ocean Protocol’s Testnet #18

Closed Anirudh2490 closed 3 years ago

Anirudh2490 commented 5 years ago

Token Distributing Twitter Bot for Ocean Protocol’s Testnet

How can you help?

We want to create a Twitter bot that can help distribute tokens to our testnet users. The starting point will be to set up our Faucet Server. You can follow the README.md to get set up. You will be working with Twitter APIs to make a bot that interacts with our faucet server through API calls and by using a test Twitter account that we created.

Here’s how a Twitter user can request for tokens from Ocean.

You may modify these tweets to fit Twitter’s character limits but the nature of the content should be similar.

What needs to be done?

You will be working with this test Twitter account and will be provided with API access keys and tokens via email once your application has been approved.

Here are some additional tutorials to help with your setup

We prefer the final code to be written in Javascript but Python is also acceptable. Please inform us beforehand about your approach. You may reach out to us via. Gitter with any issues.

We are very happy when

You may create a repository for this bounty and provide us the link while entering your final submission.

Seen this problem before?

Any help solving this is welcome. Feel free to leave any comments and help someone else to solve it. We might airdrop tokens to someone even if not directly completing bounty.

Questions & Reviews

Pull requests will be reviewed by one of the maintainers or long-term contributors. In case of any additional questions feel free to ask in this thread and we will do our best to add the missing info :)

Things to know

The bounty lifecycle process including payout will be managed using Gitcoin. We'll be responding to your questions here, but for discussion and clarification we recommend to join also our Gitter channel where our tech community is accessible. In order to see the PROCN balance in your wallet you'll need to reference the related token contract with address 0xf2aabdd898a0139195b2b5da7387d43a45ded254. If you use a MetaMask plugin you'll find the the exact steps here. Lastly, even if it is a contest bounty, we will reward all valuable contributions and efforts. We greatly appreciate the value our open source community brings to Ocean and will always award some tokens to all great contributions! :smiley:

Reward

Once the project was reviewed and merged in the master branch, you will receive the reward. PROCN is a Proto-Ocean token. Bounty hunters that earn PROCN will be able to convert them 1:1 to Ocean tokens on network launch (Ocean Token will be valued at at 0.22 EUR on network launch). Network launch is expected to happen by Mar 31, 2019. Until then PROCN will be locked and non-transferrable in the ETH wallet to which it is delivered to.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 2500.0 PROCN attached to it as part of the Ocean Protocol Foundation fund.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 4 weeks, 1 day from now. Please review their action plans below:

1) nanspro has applied to start work _(Funders only: approve worker | reject worker)_.

I have used twitter api's before for NLP related tasks and i am familiar with faucet request so will try to finish it quickly(within a week or two)

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 2 years, 11 months ago. Please review their action plans below:

1) acolytec3 has been approved to start work.

If this issue is still available to be worked, I would like to build this tweetbot. I have done work with the twitter API working with a voice-enabled home assistant (Snips) and would love the opportunity to wokr on this project. My action plan would be to follow the one described in the issue - stand up the faucet server, have the bot interact correctly with the faucet, and then handle tweet requests for tokens. 2) nanspro has been approved to start work.

easy peasy lemon squeezy, already submitted the PR :)

Learn more on the Gitcoin Issue Details page.

Anirudh2490 commented 5 years ago

@welsakka Waleed, thank you for showing interest in this project! Unfortunately, we do will only pay in Ocean tokens, and not in ETH. Our network launch is only a little over a month away, on March 31st, so you should be able to access your payout after this. If you are still interested, please let us know and we will approve you.

acolytec3 commented 5 years ago

I've got the bot ready to go and I didn't need to modify anything about the faucet server. Will submit a PR.

I forked your repo and dropped the tweetbot code into it so not sure if you want a straight PR or something else. Let me know if this is what you're thinking.

https://github.com/acolytec3/ocean-bounties

acolytec3 commented 5 years ago

PR submitted to new repo.

nanspro commented 5 years ago

@Anirudh2490 i have created my repository for the twitter bot.

I have implemented it using Python's tweepy package. Pytest is used for testing purposes.

The bot picks up address from messages where he is mentioned like "@TestOcean" and then requests faucet to send ether to address. Based on faucet's response the bot replies back to the requestor's status.

Anirudh2490 commented 5 years ago

@nanspro can I have your email? I can send you credentials for our test account, and you can test it on that.

Anirudh2490 commented 5 years ago

@nanspro you can submit your PR to this repo https://github.com/oceanprotocol/tweetbot.

nanspro commented 5 years ago

Sure will submit it there

nanspro commented 5 years ago

@nanspro can I have your email? I can send you credentials for our test account, and you can test it on that.

@Anirudh2490 I have replied on that mail requesting keys in plain text which i can copy.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2500.0 PROCN has been submitted by:

  1. @acolytec3

@chalidbdb please take a look at the submitted work:


gitcoinbot commented 5 years ago

⚡️ A tip worth 2500.00000 PROCN has been granted to @acolytec3 for this issue from @chalidbdb. ⚡️

Nice work @acolytec3! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 5 years ago

⚡️ A tip worth 1000.00000 PROCN has been granted to @nanspro for this issue from @chalidbdb. ⚡️

Nice work @nanspro! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This Bounty has been completed.

Additional Tips for this Bounty: