Détail du package

@getpip/react-pip-button

genn.mainmeta1201.0.16

React PIP Button is a React library that enables users' services or applications to accept crypto payments with a few codelines by integrating PIP button payment system, supported by Solana and Binance Smart Chain Crypto payment system.

react, getpip, pip, pip-button

readme

react-pip-button

React PIP Button is a React library that enables users' services or applications to accept crypto payments with a few codelines by integrating PIP button payment system, supported by Solana and Binance Smart Chain Crypto payment system.

Installation

npm install @getpip/react-pip-button
or
yarn add @getpip/react-pip-button

Usage

import { PIPButton } from "@getpip/react-pip-button" 

const PIPPage: React.FC = () => { 
  return ( 
    <div> 
      <PIPButton 
        receiver="<PublicKey>"
        amount="1"
        chainNetwork="SOLANA"
        currency="USDC"
        label="PAY"
        useLabel={true}
        ... 
      /> 
    </div> 
  ) 
}

Documentation

link