Overview
Payment Protocol, Solareum Wallet and XSB
Developers
FAQ
—
Vietnamese
Lightning Rewards SDK
Lightning Rewards SDK allows third party developers to integrate the SDK (react-native sdk) into their apps. From there the application has an additional payment option through Solareum Wallet. The payment process is fast, flexible and is done entirely through Solana's blockchain system.
Currently Lighting Rewards SDK accepts 3 tokens during payment: SOL, USDC, and XSB
Some open source code related to Lightning Rewards SDK 🚀
- rn-solareum-sdk: ‣
- rn-solareum-sdk-example: https://gitlab.com/solareum/rn-solareum-sdk-example
- Lightning Rewards Example (android): https://play.google.com/store/apps/details?id=com.solareumsdkexample
- Lightning Rewards Example (ios): Available soon
Lightning Rewards SDK Integration
Integrating Lightning Rewards SDK has never been so easy, just 2 simple commands you can integrate the payment feature into your existing application.
import { pay, subscribe } from 'rn-solareum-sdk'
// Open Solareum app to pay
pay({
address: string;
token: 'USDC' | 'SOL' | 'XSB';
// information used to identify an application transaction
// client_id will be retured from Solareum Wallet after
// transaction complete
client_id: string;
quantity?: number;
scheme?: string;
e_usd?: number;
// this is name of the application, help app solareum wallet
// 3rd party apps can be reopened after complete
// the payment process
source?: string;
})
// listen to events returned from Solareum
subscribe().then({
client_id: string;
signature: string;
status: 0 | 1;
0: error
1: success
})
Solareum Grants
Integrate Lightning Rewards SDK into your app to get up to 1,000,000 XSB tokens.
The integration with Solareum will also help you to be known by users in the Solareum ecosystem. Besides, Solareum also gives you insights about cryptocurrencies and their uses.
Depending on the number of users per day, the application will receive additional XSB, XSB will be unlocked 5% per month.
- DAU > 500: 150.000 XSB
- DAU > 1500: 300.000 XSB
- DAU > 3000: 550.000 XSB
- DAU > 5000: 700.000 XSB
- DAU > 10000: 1.000.000 XSB
Demo
Lightning Rewards on IOS:
Lightning Rewards on Android:
Contact
- Nguyen Thanh Quang
- Email: hiiamquang@solareum.app
- Telegram: @Solareum_NTQ