stacksgov / grants-program

Welcome to the Stacks Foundation Grant Program. Community members interested in submitting a grant proposal may do so by opening an issue in this repository and filling out the grant application.
141 stars 36 forks source link

Create a stacks payment gateway for all CityCoins options under a traditional RESTAPI format. #279

Closed jruffer closed 1 year ago

jruffer commented 2 years ago

Background What problems do you aim to solve? How does it serve the mission of a user owned internet? Currently there is not a service that will allow a merchant/user to quickly create and use a stacks as a payment gateway. We see this in traditional payment rails as well as some crypto rails. We would like to create this standard now because we see 400 payment gateways built over and over. We think of it as https://omnipay.thephpleague.com/ but for Stacks.

Project Overview What solution are you providing? Who will it serve? We will create a serverless payment gateway that will first allow for carts like woocommerce to connect and transact saving developers time money on their projects.

Scope What are the components or technical specs of the project? What will the final deliverable look like? How will you measure success?
We will create the base for single transactions with fee splitting for Hiro wallet. We will create multi transactions that can be scheduled(think payroll). We will create subscription or timed transactions. All with a merchant/client dashboard much like stripe does for their merchants.

Budget and Milestones What grant amount are you seeking? How long will the project take in hours? If more than 20, please break down the project into milestones, with a clear output (e.g., low-fi mockup, MVP with two features) and include the estimated work hours for each milestone. The MVP will be AWS serverless solution that will allow us to use AWS RestfulAPIs to control the developer experience. We are looking at the following breakdown. Research from merchants/clients 2 weeks or 45 hours. Designing the frontend for both developers and merchant dashboard. 100 hours Design and stand up backend 130 hours Create woocommerce plugin 65 hours. QA for each phase 35 hours.

Total Grant Request: $38,000 USD

Team Who is building this? What relevant experience do you bring to this project? Are there skills sets you are missing that you are seeking from the community? Please share links to previous work. web3devs.com will be building this as an internal project. We have started a project for miamicoin and a marketplace and we really wish this already existed.

Risks What dependencies or obstacles do you anticipate? What contingency plans do you have in place? We already have experience with stacks/citycoin so we do not see any issues but we so see more feature requests from more wallets, 3rd party providers that we might now know how they work, yet.

Community and Supporting Materials Do you have previous projects, code commits, or experiences that are relevant to this application? What community feedback or input have you received? How do you plan to share your plan to the community over time and as the final deliverable?

This is our first communication and will push this to the community after we hit the submit new issue button.

stx-grant-bot[bot] commented 2 years ago

Thanks for submitting a grant proposal. Our team will review your submission and get back to you.

perceptforminc commented 2 years ago

What a great idea.

jruffer commented 2 years ago

What a great idea.

Thank you. It will take us a little time but hopefully if approved everyone will build things faster.

egtalbot commented 2 years ago

Obviously a much needed thing. One thing I would look at while you're building it is incorporating the idea of proof of hodl. Perhaps too far out of scope, but at least during the dev process be thinking how it could be incorporated

jruffer commented 2 years ago

Obviously a much needed thing. One thing I would look at while you're building it is incorporating the idea of proof of hodl. Perhaps too far out of scope, but at least during the dev process be thinking how it could be incorporated

Interesting. I am not sure how to build that into the payment gateway as the settlement will be to the wallet owned by the payer. But open to learning how you feel it can be built into it.

egtalbot commented 2 years ago

I was thinking that most payment systems have the ability to apply a discount code and this would just be a variation on that. A checkbox in the similar place to where discount code is saying "I am a MIA holder" or whatever and then the back end can validate that and from there it acts just like a discount code.

There are other ways to handle proof of hodl of course, and I totally get if it's out of scope for what you're doing

jruffer commented 2 years ago

I was thinking that most payment systems have the ability to apply a discount code and this would just be a variation on that. A checkbox in the similar place to where discount code is saying "I am a MIA holder" or whatever and then the back end can validate that and from there it acts just like a discount code.

There are other ways to handle proof of hodl of course, and I totally get if it's out of scope for what you're doing

interesting...let us think about it. Right now we are trying to solve or overcome the fact that you need a way to transact and get approval/declination back for most of the traditional solutions out there. However if I am reading this correctly might not be too hard to add this later

egtalbot commented 2 years ago

Yeah, probably not hard to add proof of hodl later if you at least set it up so discount code is either part of it or easily able to be added in a future enhancement.

Yeah, the slow transaction time problem I have no idea how to solve until sidechains/subnet is released. Do you know how ETH, or non-lightning BTC payment processors handle similar issues?

will-corcoran commented 2 years ago

@jruffer Thanks for the proposal we would very much like to. support this effort. However, we want to break this into two grants 1/3:2/3 to help maximize community impact and derisk the effort. Please let me know what you think about the following: Revise this application for $15k (paid in full at acceptance) for:

At the conclusion of this effort we want you to host an open call with developer community so that feedback can be incorporated and any hidden technical roadblocks can be flagged.

At the conclusion of that - we will work to get a 2nd grant proposal (reflective of your efforts and feedback) approved - to help you offset the additional management and revisions for facilitating this process we would increase this portion slightly from $23k to $25k - this would be paid out $12.5k at acceptance and $12.5k at completition.

Please let us know your thoughts on this.

Best, Will

jruffer commented 2 years ago

I do not see this being an issue. I would just need to find resources to help complete your research from merchants? Or can you elaborate on this more? We are geeks so not sure what you would want from merchants/clients? This would be a solution for other geeks to make products for merchants/clients. So instead of someone having to figure out how to make a plugin for a client from scratch they could just use this gateway. Maybe a quick call?

will-corcoran commented 2 years ago

Hey @jruffer - Thanks for the question. The 'community' I was referring to was not merchants, but your people - developers.. I want to make sure you solicit feedback and engage people that might use your gateway in their applications. Thats all. Sorry for not being more clear.

jruffer commented 2 years ago

That is perfect lets do it!! We are excited

will-corcoran commented 2 years ago

@jruffer great! I will approve this now!

stx-grant-bot[bot] commented 2 years ago

Congratulations. Your grant is now approved. Please complete the on-boarding link here: https://grants.stacks.org/onboard?q=205f4b71f719d98fa044ae3b66ddedd0

jruffer commented 2 years ago

We have created a poll for fellow developers as well as talked with a few crypto developers who helped us with Bitpay. We feel we have a pretty good scope put in place. We are going to allow the community until the end of the week to fill out the poll. We have also started internal talks with stacks about KYC/KYB and Taxes features. Here is the link for the poll. https://forms.gle/kWM1rWJyJq5yhcFdA

will-corcoran commented 2 years ago

Cool. Can you share the link to the poll? I'll post it on twitter if thats ok.

jruffer commented 2 years ago

Yes I updated it in the comment above...good call and my apologies for not including it originally.

jruffer commented 2 years ago

Update: Thank you everyone for helping us so far with this project.

We have talked with all legal teams as well as polled our community. We have kinda jumped ahead on some of the next phase/milestone tasks just because we needed them to be successful for this phase/milestone.

Below is what we have accomplished to date:

Left to do:

Why so late? We are waiting on a few updates from the wallet providers(xverse QRcode) as well as hoping the beta testers will also be able to give their demo.

will-corcoran commented 2 years ago

Hi @jruffer thanks for the update. I just sent you an invite for the demo on 4/1. I hope that works for you as I will be out of the office 4/2-4/14.

jruffer commented 2 years ago

@will-at-stacks We are completed with milestone 1 and moved on to the other milestones without getting things approved per se. I am not sure if we were supposed to stop a few weeks ago now that I reread the above. But attached are the research review and the mockups. We are about 90% done with the actual MVP of the gateway. [Customer Feedback (Responses) - Form Responses 1.pdf](https://github.com/stacksgov/Stacks-Grants/files/8383440/Customer.Feedback.Responses.-.Form.Respons Screen Shot 2022-03-30 at 3 12 34 PM Screen Shot 2022-03-30 at 3 12 29 PM Screen Shot 2022-03-30 at 3 12 15 PM Screen Shot 2022-03-30 at 3 12 09 PM Screen Shot 2022-03-30 at 3 11 43 PM es.1.pdf)

Please let me know how we get the next phase released/approved. We are going to do a rough run-through tomorrow and if all goes well I will try to have something this weekend to show you. But it will be tight.

James

will-corcoran commented 2 years ago

Hello and thank you for participating in the Stacks Foundation Grants Program!

We are in the process of migrating from GitHub to the new Grants Dashboard. In order to complete your grant, you will need to submit any remaining Progress Review and/or Final Review requests through the Dashboard in order to receive your remaining payments.

Lastly, please note we are marking this grant 'closed' on GitHub for organizational purposes, but it is still 'open' on the Grants Dashboard.

Thanks and we hope to continue to support your efforts with additional grants!

Best, Will