Skip to content

DecentralizedScience/Quartz-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: AGPL v3

Quartz-platform

Quartz platform using PayPal for marketplaces and platforms.

Community

Requisites

To run and install this application you need:

  • node and npm
  • A PayPal account
  • A wallet able to receive Interledger payments. Such as:
    • A Quartz account. Now we can only create accounts manually. Stay tuned for when Quartz registrations open.
    • An account in some service like Uphold

How to run this prototype

First, clone the repo. Then, to install, run:

npm install

Setup

There are three ways of configuring this app, as we describe bellow. Each of them has more priority than the following. For instance, using the properties of the react component would override the QuartzSettings data element and the configuration file options.

Using properties of the react component

The App component receives PayPal_email and ILP_wallet as properties. Thus, you can configure the app by specifying them in your html as:

<App PayPal_email="email@example.com" ILP_wallet="ILPAdrress">

Using QuartzSettings data element.

The app will alse read the data of an HTML data element with id "QuartzOASettings" and the following data parameters:

<data id="QuartzOASettings"
  data-paypal_email="email@example.com"
  data-ilp_wallet="ILPAdrress">
</data>

Using the configuration file

Enter src/components and copy config.json.example in config.json and set the email associated to the PayPal account in PayPal_email and the wallet that can receive Interledger payments in ILP_wallet.

cp src/components/config.json.example src/components/config.json

You must set your accounts in the copied document. Make sure the PayPal account can receive donations and the ILP account can receive payments.

Once everything is set up, the application can be run.

Run the web app

To run the web app, run:

npm start

A browser window should then open, with our web app working and connected to PayPal and Interledger.

About

Quartz platform using PayPal for marketplaces and platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published