Socket
Book a DemoInstallSign in
Socket

@belongnet/crossmint-sdk-modal-less

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@belongnet/crossmint-sdk-modal-less

A SDK for Crossmint integration without modals.

1.0.0
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source

crossmint-sdk-modal-less

Crossmint SDK for client and server integrations, but without modal

Installation

pnpm add @belongnet/crossmint-sdk-modal-less

Usage

Client

import { generateCrossmintPaymentUrl } from '@belongnet/crossmint-sdk-modal-less'

const crossmintPaymentUrl = generateCrossmintPaymentUrl({
  projectId: '_YOUR_PROJECT_ID_',
  collectionId: '_YOUR_CLIENT_ID',
  mintConfig: {
    type: 'erc-721',
    totalPrice: '0.001',
    _quantity: '1',
  },
  successCallbackURL: 'https://example.com/success',
  failureCallbackURL: 'https://example.com/failure',
})

// your modal implementation
const modal = window.open(crossmintPaymentUrl, '_blank')

// close the modal
modal.close()

License

This project is licensed under the terms of the MIT license.

Keywords

crossmint

FAQs

Package last updated on 11 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.