This bounty is no longer available
Web3 DAO | xdc-community Logo

Gitcoin Bounty - Testing & Deploying an XRC20 Token Using Hardhat and TypeScript




over 1 year ago



250 USD


Judging Criteria

All submissions must contain clear and concise information with explicit instruction and images describing each step required to execute the process. An accompanying video in addition to the written content is highly desired.

All submissions will be put through an industry standard plagiarism detection tool to ensure that all submissions are the work and ideas of the person submitting for the bounty. If the plagiarism tools flags your submission you will be disqualified from participation in the bounty.

You will be provided with resources (if available) as an aid to help you get started. The sole act of submitting content for the bounty does not automatically qualify you for the bounty. Our team will review all submissions and will choose the submission whose content best fits the needs and requirements of the bounty.

Only one participant will be selected as the winner for the bounty, and they will be notified within 7 working days after the bounty has ended.


Amount of Bounty

Grant Sponsor: XDC Foundation. All monies paid will be in XDC.

What will you be creating?

You will be creating how to documentation for the XDC Network. Some documentation has already been created, and you will read through it to ensure it works as intended, reads clearly or if it needs better clarification, then make those changes. Those items without documentation will be created from scratch. Documentation will have images that describe or represents what's being done or described in your tutorial.


Testing and Deploying an XRC20 Token on the XDC Network Using TypeScript and Hardhat

Hardhat is an Ethereum development environment that provides an easy way to deploy contracts, run tests and debug Solidity code locally. For this bounty you will need to duplicate this how-to article but update it to use TypeScript instead of JavaScript.

What you will learn

In this tutorial, you will learn how to create a smart contract using TypeScript and Hardhat and deploy it to the Apothem test network.

What you will do

  • Install and set up Hardhat as a TypeScript project

  • Create a XRC20 token contract

  • Compile the XRC20 token contract

  • Test the XRC20 token contract

  • Deploy the XRC20 token contract

  • Pay the Gas Fees

Setting up the development environment

  • Creating a project (with images)
  • Checking the XRC20 token (sample code with images preferred)
  • Setting up the XRC20 token contract
  • Compiling the XRC20 token contract
  • Testing the XRC20 token contract (where is the contract going to be tested...a link will be great)

Deploying a contract on the XDC Network

- Add funds to wallet using [Apothem Faucet](
- Walk user through deployment process with screenshots
- Validate smart contract deployment via [Apothem network explorer](

Total Prize of Bounty

Total sum of up to $250.00 USD worth of XDC for this event, reward amount assigned at judge's discretion.

Further Details

This event will be an ongoing collaboration to create "how to" documentation for the XDC Network. All documentation will be open source and added to the docs repository in the how-to folder via pull request:


These are some of the resources you have available to you where you will find the necessary information to complete your submission.

Apothem Test Network

Apothem Faucet


Node.js v8+ LTS and npm

Guide to Apothem Test Network

Hardhat and Typescript

Sample of Documentation