optimus-pay-sdk
v1.1.1
Published
This is a payment gateway for Optimism sellers
Downloads
4
Readme
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.
- Wrap your app with the
OptiProvider
widget.
<Provider
apiKey="your api key"
walletConnectProjectId="your wallet connect project id"
alchemyId="your alchemy id"
>
{children}
</Provider>
- Start using OptiButton to accept payments.
<Button
amount="1"
productId="your product id"
>
Buy for 1 OPTI
</Button>
- Check your store dashboard for the payment status.