Community Development Task — VitePay

Joel Yang
Vite Labs
Published in
3 min readApr 28, 2021

The Vite public chain facilitates fast transactions with zero fees, and is naturally well suited for payments. We’d like to have a more robust interface for VITE checkouts that e-commerce platforms can readily adopt. And we are inviting community developers to build it!

The detailed functions we would like to see is as follows:

1. Generate payment information according to orders received by the merchants. The payment information should include the following:

  • QR Code: the QR code should include the Vite address, payment currency and the payment amount.
  • Memo: It is used to distinguish different orders. Each order should have its own distinct memo.

2. Scan QR code with the App. After scanning, it redirects the user to the payment page. The App retrieves the Vite address, payment currency and payment amount. On the same page, the user is able to fill in the memo manually and initiate the payment process.

3. Once the payment process is initiated within the App, VitePay will look up the payment information. If it detects the matching order information (as distinguished by the memo), the screen display shows “Processing”, resulting in one of the following:

  • Payment Successful. This means payment currency, amount and memo match up with the order and the network has achieved 30 confirmations.
  • Payment Failed. This means one or more of the information regarding payment currency, amount or memo does not match up with the order. This will trigger refund back to the original address.

4. Other scenarios:

  • Time out: if the payment is not completed within 15 minutes, the order will be canceled automatically
  • Payment after order cancelation: if the order is canceled manually or due to time-out, no payments will be facilitated.

5. The ability to review payment information and track order after payment success.

The following is a mockup for the payment page.

Bounty:

1500 USDT or equivalent amount in VITE. If more than one developer is able to develop their own version of the product, they can each claim this amount of reward.

Rules:

  1. Selected applicant(s) will be announced in about one week. To apply, join the Vite Techie Club channel (https://discord.gg/W3VtbXKt) and inform the admin of your interest to participate.
  2. The required tasks should be completed over the next two months.
  3. To qualify, applicants must provide all work including detailed, open-sourced code on GitHub and a URL link for the application.
  4. The code must be accompanied with documentation written in English.
  5. The developer can create a mockup UI with their preferred style. It should be neat and aesthetically pleasing.
  6. After the VDC completes their final review, rewards will be granted to the developer over the next three months, one-third of the total rewards per month. If the developer runs an SBP, they can also choose SBP votes instead of a direct reward. Voting will be conducted by the Vite Foundation for the designated SBP.
  7. For UI-related tasks, the developer should host the UI design on a website and they should be responsible for the website maintenance. A bonus reward will be provided if the website is continuously functional and if the developer is responsive to fixing issues raised by users.
  8. The developer will receive a basic reward by completing all the above-mentioned tasks and passing the VDC’s review. The VDC may decide to grant additional rewards if the tasks completed exceed expectations.

All rights reserved by the Vite Developer Committee

--

--