Getting started
Node.js 0xPay integration package
Getting started
Prerequisites
Installation
// NPM
npm i @0xpay/sdk
// Yarn
yarn add @0xpay/sdkCreate instance
import { XPay } from '@0xpay/sdk'
const MERCHANT_ID = 'your-merchant-id'
const MERCHANT_PRIVATE_KEY = 'your-merchant-private-key'
// Create XPay instance
const xpay = new XPay(MERCHANT_ID, MERCHANT_PRIVATE_KEY)Get available crypto assets
Create receiving crypto address
Last updated
