DePayFi / widgets

💸 Payments directly into your wallet. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion and state-of-the-art widgets.
https://depay.com
MIT License
96 stars 36 forks source link

Proposal: Depay Content Bounties #59

Closed ademidun closed 2 years ago

ademidun commented 2 years ago

Summary: People create DePay tutorials and DePay pays them.

Background

I recently added Depay to accept payments on my website (github gist, screenshot). However, I ran into some issues:

  1. It originally didn’t work because I was on the wrong React version (now fixed)

  2. No instructions on how to trigger Depay on a React event

    1. E.g. If I want to trigger Depay when I click a button
  3. No instructions on how to track the payments in our backend

    1. E.g. How to use DePayWidgets.Payment.track and DePayWidgets.Payment.track.poll

    2. How do we integrate with websockets?

Usually, when a more established software project lacks good official documentation, people will use the community tutorials. However, DePay’s nascentness means there’s currently a lack of community tutorials. Incentivising the community to create tutorials is an effective solution.

Why This is Important

Good documentation is important for onboarding more developers unto Depay. For example, Stripe’s great documentation is a big reason why so many developers use it for web2 payments. DePay can be the Stripe of web3 payments documentation. More tutorials makes it easier for more people to integrate DePay into their projects, which creates more material for tutorials and repeat. A powerful flywheel effect for getting more projects built with DePay.

Solution

To start, the first bounty could be one on how to add DePay to a React website. It would cover the following topics:

Examples of Past Tutorials I’ve Made

I would love to do one of these bounties. Here are some of my qualifications:

10xSebastian commented 2 years ago

We will reopen, once we will do content bounties.