optimus-pay-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Optimus Pay SDK

This is the official Optimus Pay SDK . To use this, you must have a OPTI merchant account. See OPTI for more information.

Follow the installation instructions to get started with Optimus Pay SDK.

After installing the SDK, follow the instructions to get started with using the SDK.

  1. Wrap your app with the OptiProvider widget.
<Provider
apiKey="your api key"
walletConnectProjectId="your wallet connect project id"
alchemyId="your alchemy id"
>
{children}
</Provider>

  1. Start using OptiButton to accept payments.
<Button
amount="1"
productId="your product id"
>
Buy for 1 OPTI
</Button>
  1. Check your store dashboard for the payment status.

Readme

Keywords

Package Sidebar

Install

npm i optimus-pay-sdk

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

2.56 kB

Total Files

2

Last publish

Collaborators

  • mdmudassir0143