Skip to content

๐ŸŒ€ An ultra streamlined fiat to crypto payment and donation portal. For demonstration purposes only showcasing seamless UX despite the UI being very minimal. Multiple fiat onramp vendors and simple straight forward user > creator/developer/freelancer that wants to build on top of this!

Notifications You must be signed in to change notification settings

fruitbox12/Web3-Payment-Portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Keyrxng's Web3 Payment Portal

Stacks Used:

javascript javascript javascript javascript javascript javascript



Installation

What to change:

/.env.example => /.env
Input appropriate keys

/Payments/payments
const Pay = () => {...
... accept: [] <---- enter your own address and your accepted token addresses

/Payments/Onramp
const allowedTokens = {} <---- enter your own accepted tokens using the token symbol

How to run:

yarn install
yarn start

TODOs

# 0. Handling payment tracking via onramper

# 1. Handling transaction response from Depay

# 3. Handle donations info display i.e total to date, biggest donation, repeat donators

# 4. Include a more comprehensive list of available donation routes

# 5. Tutorialize things more for non web3 educated visitors i.e detect metamask, offer install if not, be more granular with 'How to use:' component and display it more effectively

Limitations

# 1. Onramper allows the purchasing of any token with a liquidity pair while Depay is has preset tokens

# 2. Spoofing the Onramper api is possible for purchase response but without a depay having testnet access it's harder to spoof the blockchain response

Tidbit

This was a pet project to learn some typescript as well as build a small scale contained dApp which if you ask me I've succeeded on one half while the typescipt written is a disaster but it's a work in progress.

About

๐ŸŒ€ An ultra streamlined fiat to crypto payment and donation portal. For demonstration purposes only showcasing seamless UX despite the UI being very minimal. Multiple fiat onramp vendors and simple straight forward user > creator/developer/freelancer that wants to build on top of this!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published