
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
@moonpay/moonpay-js
Advanced tools
The MoonPay javascript SDK enables you to integrate the MoonPay widget so you can facilitate crypto purchases within your platform.
The MoonPay Web SDK enables you to integrate the MoonPay widget so you can facilitate crypto purchases within your platform.
For detailed integration instructions and further documentation, please visit our Documentation Site.
To install the package, use npm or yarn:
npm install --save @moonpay/moonpay-js
or
yarn add @moonpay/moonpay-js
Before using this package, make sure you have the following:
loadMoonPay function.import { loadMoonPay } from '@moonpay/moonpay-js';
loadMoonPay function to get the constructor for the MoonPayWebSdk.const moonPay = await loadMoonPay();
const widget = moonPay({
flow: 'buy',
environment: 'sandbox',
params: {
apiKey: 'pk_test_123',
},
variant: 'overlay',
});
show method on your instancewidget.show();
FAQs
The MoonPay javascript SDK enables you to integrate the MoonPay widget so you can facilitate crypto purchases within your platform.
The npm package @moonpay/moonpay-js receives a total of 4,032 weekly downloads. As such, @moonpay/moonpay-js popularity was classified as popular.
We found that @moonpay/moonpay-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.