How to provide loyalty points

Description

Only registered partners can use this feature. Anyone who have not yet registered can test on the testnet using the private key provided in the sample code.

This functionality is used to provide points. First, deposit more than 100,000 tokens through the app. Then, contact the system operations team to register as a partner. You must register within your app first. Also, if you register the agent's address, you do not need to provide the private key of the wallet holding the assets.


Development and Operation

Follow the steps below to proceed:

Development and Testing:

  1. Install the user app and set the network to TestNet. Select "Import Wallet" and use the following wallet's private key: 0x70438bc3ed02b5e4b76d496625cb7c06d6b7bf4362295b16fdfe91a046d4586c

  2. Review the test code and implement the necessary functions. When creating a ProviderClient for the property owner, use the private key from step 1.

  3. When creating a ProviderClient for your agent, use this wallet's private key: 0x44868157d6d3524eb64c6ae41ee6c879d03c19a357ddb038fea30e23cbab

  4. For the point recipient's wallet address, use: 0xB6f69F0e9e70034ba0578C542476c13eF739269 If you have installed another user app, you can test using the wallet address from that app and your phone number.

  5. Note: The store ID on TestNet starts with "0x0003".

Switching to Mainnet

  1. The property owner's account is managed by the company's representative or accounting team.

  2. The agent's account is managed by the development team.

  3. The property owner will install the app for you; please select MainNet for the network.

  4. The address of the wallet created by the property owner in step 1 should be forwarded to the KIOS Operations Team.

  5. The development team provides the agent's wallet address to the asset owner. The development team may use a wallet address generated by MetaMask as the agent's wallet address.

  6. The property owner registers the agent's wallet address in the user app.

  7. Asset owners can deposit and withdraw funds.

  8. Agents handle only tasks related to point payments, and the history of point payments is provided to the property owner's app.


Caution

  1. Both testnet and mainnet are always active, so ensure the system can handle both networks in the future.

  2. If the store ID of the POS or KIOSK starts with "0x0003", use testnet information for ProviderClient. If the store ID starts with "0x0004", use mainnet information.

  3. SMS functionality is available only in Korea.


SDK

Last updated