@getpip/react-pip-button
v1.0.16
Published
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.
Downloads
93
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>
)
}