Reward System Flow

Intro

Dapp Portal encourages Mini Dapp to provide users with compensation such as $KAIA, Fungible Token, Non-Fungible Token or Point. The rewards offered by Dapp can be shown on Dapp Portal Home if Dapp submit onchain information and develop API Endpoint. Please check the details below by means of compensation.

KAIA Reward

If you are preparing a reward event based on $KAIA, You can let us know the “send from Address” to which $KAIA will be transferred. Then our server will detect the tr ansaction and monitor the reward status. If you want to airdrop $KAIA as various events, you should create a wallet for each event to be monitored by each event.

FT / NFT Reward

If you are preparing a reward event based on FT or NFT, You can let us know the “ send from Address” which token will be transferred and “contract Address” for the tokens. Then our server will detect the transaction and monitor the reward status. If you want to airdrop FT or NFT as various events, you should create a wallet for each event to be monitored by each event.

Note, You should airdrop only 1ea NFT for each event.

Please see page of How to prepare NFT Airdrop

Point Reward

You should provide API Endpoint for retrieving point balance to Dapp Portal if you wa nt to show point balance on Dapp Portal Home. Both of development and production environments should be provided.

Please note that you need to provide API Endpoint and <Token> to Dapp Portal team.

Please refer to below sample to provide the API Endpoint.

Request

GET {dapp_path}/address/{user_address}
#example
#GET https://external-api-dappportal.io/point/address/0xabcde....

Authorization
    Bearer <token>
Path variable
    {user_address} #walletAddress of Users

Response

Responses should be matched exactly below guide.

If requested address is valid and your service is healthy

Https status code : 200

Body
    {
        "balance" : "100.0"
    }

If requested address is invalid

Https status code : 404

Body
    {
    ...
    }

If API status is temporarily unstable

Https status code : 503

Body
    {
    ...
    }

Authorization

Authorization is required through the API Key method(Token). Dapp Portal will request to Mini Dapp's API with credentials you provided when requesting API to retrieve point balance.

Last updated