Web3-Foundation-Hackathons / hello-world-by-polkadot

To celebrate our integration on Gitcoin, we are organizing Hello World! by Polkadot, a series of challenges to bring you on a journey of Polkadot development discovery.
17 stars 27 forks source link

[ADVANCED CHALLENGE] REST APIs - Read an account's pending payouts #5

Open Web3Foundation opened 4 years ago

Web3Foundation commented 4 years ago

Hello World! by Polkadot

Gitcoin has integrated Polkadot and Kusama tokens (DOT and KSM) into its tech stack, making them one of the first full integrations outside of the Ethereum ecosystem.

To celebrate the integration on Gitcoin, we are organising Hello World! by Polkadot, a series of challenges to bring you on a journey of Polkadot development discovery.

Check out the kick-off webinar for more details and information.

Challenges and prizes

The challenges are in four categories: (1) Beginner, (2) Intermediate, (3) Advanced, and (4) Ecosystem. The first three are written specifically for Polkadot and Kusama, whereas the Ecosystem category is made up of challenges created by Polkadot ecosystem projects. Challenge payouts are capped at 50, meaning that only the first fifty valid submissions will receive a payout.

Challenge # Prize Cap
Beginner 7 3 DOT 50
Intermediate 5 1 KSM 50
Advanced 4 10 DOT 50
Ecosystem 8 5 DOT 50

In addition, there is an EXTRA PRIZE of 150 DOT for the first 50 that manage to complete 18 or more challenges.

Everyone successfully solving any challenge and receiving a payout will also get an awesome piece of Polkadot swag as well as a Kusama-based NFT, issued via RMRK.

Deadlines


🧑‍💻 [ADVANCED CHALLENGE] REST APIs - Read an account's pending payouts

Read an account's pending payouts with a combination of a local instance of Sidecar and a local Kusama node.

Submission requirements

Provide a link to a Gist or Github repository that demonstrates a script to calculate pending payouts by sending HTTP requests to a local Sidecar instance.

Resources

Got questions?

Head over to the Polkadot Discord and have a look in the Hello World! by Polkadot on Gitcoin section and 🧬 substrate-technical-chat


What are Polkadot, Kusama and Substrate?

Polkadot is a sharded, multichain network founded by Dr. Gavin Wood, the co-founder and former chief technology officer of Ethereum and creator of the Solidity programming language. The Polkadot network is a metaprotocol that solves many challenges that have hindered the growth of legacy blockchains, including scalability, governance, security, and interoperability.

Kusama is also a sharded, multichain network founded by Dr. Gavin Wood, built using the Substrate framework and nearly the same codebase as Polkadot. Kusama is a network built as a risk-taking, fast-moving ‘canary in the coal mine’ alongside its cousin Polkadot.

Substrate is a blockchain development framework for the Kusama and Polkadot ecosystem. It features a completely generic state transition function and modular components for consensus, networking, and configuration. Despite being "completely generic", it comes with both standards and conventions, particularly with the Substrate runtime module library (FRAME)

Let's connect

Polkadot Kusama Substrate
Polkadot Twitter Kusama Twitter Substrate Twitter
Polkadot Reddit Kusama Reddit Substrate Reddit
Polkadot Discord Kusama Element Substrate Element
Polkadot Telegram Kusama Telegram Parity Newsletter
Polkadot Newsletter Kusama Newsletter Substrate Newsletter

Community partners

Community partners

gitcoinbot commented 4 years ago

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


This issue now has a funding of 10.0 DOT (60.9 USD @ $6.09/DOT) attached to it.

gitcoinbot commented 4 years ago

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


Work for 10.0 DOT (60.9 USD @ $6.09/DOT) has been submitted by:


gitcoinbot commented 4 years ago

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


Work for 10.0 DOT has been submitted by:

  1. @tudorog
  2. @shirshak55
  3. @laurenttrk
  4. @y12studio
  5. @arifkalayci
  6. @franono
  7. @avcdsld
  8. @bitash
  9. @shamb0
  10. @caiyiliang
  11. @vitalyvolozhinov
  12. @irhonin
  13. @nnnkit
  14. @vipin-ng
  15. @ravi11o
  16. @vinhbhn
  17. @dcarpintero
  18. @emetropoli
  19. @tonysun83
  20. @kafcioo
  21. @zhiwei-w-luo
  22. @maar-io
  23. @casub
  24. @martinloesethjensen
  25. @burgerking12
  26. @nocmar
  27. @fussyl
  28. @gdixon
  29. @s5k0651
  30. @brozorec
  31. @harodggg
  32. @maksim-tolo
  33. @rafat
  34. @kamohaladus
  35. @sonhnguyenn

@web3foundation please take a look at the submitted work:


gitcoinbot commented 3 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 5 months, 3 weeks ago. Please review their action plans below:

1) tudorog has started work.

I have written a python script to solve the challenge. It makes HTTP requests to the Sidecar REST API which is connected to a Polkadot node. 2) shirshak55 has started work.

pending payout reader 3) laurenttrk has started work.

Hello World! Polkadot Hackathon 4) y12studio has started work.

REST APIs - Read an account's pending payouts 5) arifkalayci has started work.

Polkadot Hello World Hackathon 6) franono has started work.

challenge 7) avcdsld has started work.

Get Pending Payouts - REST API 8) bitash has started work.

pending payouts 9) shamb0 has started work.

REST APIs - Read an account's pending payouts 10) caiyiliang has started work.

Read An Accounts Pending Payouts with sidecar 11) vitalyvolozhinov has started work.

Read An Account's Pending Payouts 12) maar-io has started work.

Read An Account's Pending Payouts 13) dcarpintero has started work.

pending payouts 14) emetropoli has started work.

REST APIs - Read An Account's Pending Payouts 15) tonysun83 has started work.

Calculate Pending Payouts 16) kafcioo has started work.

pending payouts 17) zhiwei-w-luo has started work.

KSM PENDING PAYOUTS SUBMISSION 18) casub has started work.

Payouts 19) nocmar has started work.

call api 20) fussyl has started work.

pending payout 21) gdixon has started work.

Read An Account's Pending Payouts 22) s5k0651 has started work.

Read an account's pending payouts with a combination of a local instance of Sidecar and a local Kusama node. 23) brozorec has started work.

[ADVANCED CHALLENGE] REST APIs - Read an account's pending payouts 24) harodggg has started work.

read account pending 25) harodggg has started work.

read account pending 26) maksim-tolo has started work.

Polkadot Hackathon 27) rafat has started work.

Rest API : Sidecar 28) kamohaladus has started work.

solution 29) sonhng has started work.

Read An Account's Pending Payouts 30) nnti3n has started work.

Read An Account's Pending Payouts

Learn more on the Gitcoin Issue Details page.