# Deploy HRC20

## Overview

This section is designed to get the casual smart contract developer deploying HRC20 tokens (Harmony's ERC20 equivalent) on Harmony Network. **This can be done in under one Minute.**

This [github repository](https://github.com/harmony-one/H2O) contains the code and files used on this demo. You can also find many more examples that use HRC20 tokens on this [github repository](https://github.com/harmony-one/HRC).

### One Minute Deployment

Here is a short video running through the deployment:

{% embed url="<https://www.youtube.com/watch?v=7zsLZYCvfb0>" %}

### One Minute Instructions

```bash
npm install -g truffle@5.0.38
git clone https://github.com/harmony-one/H20.git
cd H20
cp .envSample .env
npm install
truffle compile
truffle migrate --network testnet --reset
truffle networks
```

### Interacting with Contracts

```javascript
truffle console --network testnet
truffle(testnet)> HarmonyERC20.deployed().then(function(instance){myHRC20=instance})
undefined
truffle(testnet)> myHRC20.symbol()
'H20'
truffle(testnet)> myHRC20.name()
'HarmonyERC20'
truffle(testnet)> myHRC20.decimals()
BN { negative: 0, words: [ 18, <1 empty item> ], length: 1, red: null }
truffle(testnet)> myHRC20.totalSupply()
BN {
  negative: 0,
  words: [ 16777216, 62077800, 20718012, 3, <1 empty item> ],
  length: 4,
  red: null
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.harmony.one/home/developers/deploying-on-harmony/deploy-hrc20.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
