Skip to content

Airdrop tokens on the XDC Network with the XRC-AirDrop Contract #BuildItOnXDC

Words by R. Quincy Jones

Avg. 2 Min read

In the crypto space, it is becoming increasingly popular to airdrop tokens for new projects. This is done for a collection of reasons. Some focus on decentralization and widening the maximum distribution of holders. Others want to reward early supporters of the project and continually issue rewards to holders. Sometimes shareholders who listed their stock on the blockchain simply want an easy automated way to issue their token to the correct holders. Whatever the reasoning, airdropping allows for newly created assets to be issued to many parties without a need for a custodian for issuance.

I recently built a new AirDrop contract (XRC-Airdrop) to give creators of new tokens as well as DAOs the ability to add a “redeem” button to their website and mobile applications as a native means to distribute tokens. While a handful of third-party apps offer to assist developers in airdropping their tokens, this contract allows for projects to Airdrop Tokens themselves. Users launch this contract alongside their project then load the appropriate amount of tokens to airdrop in the XRC-Airdrop contract and list the RedeemAirdrop() function as a button on the project website for users to redeem when airdrop is deployed. When the airdrop is deployed users can simply redeem their token on the project site. It’s an easy way to deliver assets to digital wallets. Due to XDC’s low fees and fast performance tokens can be redeemed instantly for a fraction of a penny.

Here are the basic steps:

  • Launch Token

  • Register_XRC_Contract()

  • Load AirDrop Contract with appropriate funds

  • Load UserData() with user address & token amount into airdrop contract

  • Deploy Airdrop

  • User Redeem() Airdrop

About the Author: R Quincy Jones XDC Foundation developer, who on behalf of the XDC Network is building new standards and applications for the XDC Network. With over four years in cloud development, and a growing following on YouTube: CoinClubCrypto is well-suited to break down the fundamentals of blockchain-based technologies for general audiences.

Github Link: https://github.com/QCloud-DevOps/XRC-Airdrop

The content above represents my own individual perspective as an XDC community member, and does not reflect the official stance of XDC Foundation.

Other content you might like

XDC Weekly Sep 24 - 30 2023

#XDC, Cryptocurrency, Billy Sebell

Billy Sebell of XDC Foundation On The 5 Things That Can Be Done To Improve and Reform The Cryptocurrency Industry

#XDC, Trade Finance, SME

How investing in trade finance can be profitable and help SMEs thrive

We value your privacy

We use cookies to enhance your browsing experience, serve personalised ads or content, and analyze our traffic. By clicking “Accept All”, you consent to our use of cookies.