KDA fee pool can be set up by project creators to allow users to pay for fees on Kleverchain with their own token instead of paying with KLV.
For this feature to be active, project owner must create the KDA pool and deposit KLV to KDA pool.
To set up KDA pool, project owner has to create 2 transactions, which we will describe in this tutorial.
Lets create a KDA pool for KONG-LGAJ token.
-First we need to connect our wallet to Klever Explorer. We have to connect with asset owner wallet, as only owner of token can set the KDA pool.
-Click on your wallet, and choose "Create transaction" when wallet overview opens.
-We need to choose Contract type, so we choose "Asset Trigger" meaning we will change something for our token.
-In second drop down menu, we choose contract 15: "Update KDA fee pool"
-In third drop down menu (Select asset) we choose the asset for which we want to set up KDA pool. We will choose KONG-LGAJ
-Make sure that it is set to Active (you can disable it anytime with this slider)
-Now in KLV/KDA Quotient field we need to provide the "Ratio". For each KLV in fees, we want user to pay 10 KONG-LGAJ, so we input number 10.
-We confirm the transaction and sign it.
We have succesfully created KDA pool, and we need to deposit KLV to KDA pool.
-Create a new "Deposit" transaction
-In deposit type, choose "KDA pool"
-In select Asset, choose your KDA token for which you are creating the pool (KONG-LGAJ in our case)
-In Amount field provide the amount of KLV you will deposit
-We are depositing 300 KLV
Confirm the transaction and sign it.
We have now succesfully deposited KLV to KDA pool, and users can now pay network fees on KleverChain with our token. Instead of KLV, for each 1 KLV in fees they will pay 10 KONG-LGAJ tokens.
When the pool runs out of KLV, we simply make a deposit transaction again to deposit more KLV to the pool.