This repository contains four example projects demonstrating how to integrate MoonPay's SDK for buying and selling cryptocurrency using both React and vanilla JavaScript. Each project is self-contained with its own dependencies and setup.
- moonpay-react-buy - A React-based implementation for the MoonPay Buy widget.
- moonpay-react-sell - A React-based implementation for the MoonPay Sell widget.
- moonpay-web-buy - A vanilla JavaScript implementation for the MoonPay Buy widget.
- moonpay-web-sell - A vanilla JavaScript implementation for the MoonPay Sell widget.
- moonpay-react-sell-oninitiatedeposit - A React-based JavaScript implementation for the MoonPay Sell widget with OnInitiateDeposit.
To clone this repository to your local machine, follow these steps:
- Open a terminal
- Run the following command:
git clone https://github.com/moonpay/moonpay-demo-integrations.git
- Navigate into the cloned directory:
cd moonpay-demo-integrations
You now have all four projects on your local machine. Each project is in its own directory within the monorepo.