Skip to content

blueorbitz/xrp-donation-app

Repository files navigation

XRP Donation app

This is the frontend implementation for user to send Donation to their favorite Open Source project via XRP using XUMM wallet.

Refer to XRP-Donation-Action from the implementation to attach using Github Actions.

The Github action will route using XRP_DONATION_URL environment variable with the following structure for the endpoint. {XRP_DONATION_URL}/{Github Owner}/{Github Repo}/{Pull Request#}?address={xrp wallet}&network={xrp network}&target={target-goal}.

Video and Demo

Youtube demo

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Refer to XRP-Donation-Action to setup the Github Action. Once ready, it will create a donation link to using this Server url.

Requisite

You'll need to have the following ready:

  • Github token (personal for development)
  • Xumm APIKey and APISecret.
  • MongoDB

Copy .env.local.sample and rename to .env.local. Fill in the requiste information in the environment file.

yarn dev to start.

Everything else follow the guide from NextJS.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.