Earning Kin
Using the batch transfer method on the Kinetic SDK is a great way to deliver 'Earn' rewards to app users. Remember, the more Kin you transact with, the greater your rewards from the KRE.
Use Cases
Check out some of the ways you can use 'Earns' in your apps
Kin Rewards Engine
Earn Kin by using it in your App
Go through the steps required to transfer Kin from an app wallet in a batch to multiple user addresses:
Connect To Kinetic
Connect your app or server to an active Kinetic instance. Once you're connected, you'll be able to carry out all of the various actions the Kinetic SDK is capable of.
Setup Your Keypair
Use Kinetic to create a keypair. In this case we are going to use a mnemonic to connect to an existing account on Solana. The mnemonic for the keypair we want to connect to is "tube weapon very sudden moon version budget control arrest gift gallery toast". Of course, in real life you would never share your secrets!
Airdrop Kin
Let's make sure we've got some extra Kin in the account so we can make the payment we want to complete
Prepare Your 'Earns'
We are going to simulate getting a list of reward payments for your app users
Transfer Kin In A Batch
Use Kinetic to send some Kin a number of users at the same time. This is a great way to deliver rewards to app users. We are going to send to the accounts we got from our database in the last step.
Was this page helpful to you?
Provide feedback