Bridge Builders DAO
  • 🍉Welcome Builder - Start
    • 0️⃣Learning the Blockchain
      • 💜0.1 - EVM, Ethereum
    • 1️⃣Building a Currency
      • 💙1.2 - HRC-20 Harmony Token
      • 💜1.3 - FRA20 Findora Private Tokens
    • 2️⃣Building an NFT
      • 💜2.1 - ERC721 Ethereum NFT
        • 🖼️NFT Contract Minting Workshop
          • Understanding ERC721 line by line
            • (Temp - Migrating to BBD gitbook) Understanding the ERC721 Smart Contract
    • 3️⃣Building a DAPP
      • 💜3.1 - Ethereum DAPP
    • 4️⃣Applications of Blockchain
      • 🥳DeFi
      • 📦Supply Chains
    • 5️⃣Coding for Blockchains
      • 🔠Language Support
        • 💜Solidity
        • ♌Leo
          • 💙Aleo Synthesis
        • 🐿️GoLang
          • GoLang Workshop #1
        • 🦀Rust
          • 🛠️Rust Workshop
        • 🐍Python
        • 🦡C++
        • 🎯Dart
        • 🧩Michelson
      • 🖼️Frameworks
        • 🐳Docker
        • ⚛️React Framework
        • ⏩Flutter
        • 🏴‍☠️Kubernetes
      • 🌝Front-End's
        • 🟠 HTML 🔵 CSS
        • 🟡. Javascript
        • 🦊Web3.js
      • 🌚Backend's
        • 🐬SQL / NoSQL
        • 🐢Node.js
      • 👩‍💻IDE's
        • Visual Studio Code
        • Remix
    • 6️⃣Build a Bridge
      • 🤝Bridges
        • 🔐Vaults
        • 🌉Bridges
        • ☄️Light Clients
      • 🎆Blockchain API's
        • ⛅Building a REST API
        • 🔻Building a gRPC
    • 7️⃣Building a DAO
      • 🎭Vibe with the DAO
      • ⚒️DAO Tooling
    • 8️⃣Validating or Mining
      • 💜8.1 - Ethereum Node
      • 💙8.2 - Harmony Validator
      • ⚛️8.3 - Cosmos Validator
    • 9️⃣the Bridge Builders DAO.
      • 🥳Bridge Builder DAO Proposal
        • 📜Bridge Builder DAO - Charter
    • 🔟Full Stack dApp's
      • 👷React/Hardhat env Set-up
  • 🕚Synthesis of Blockchains
    • Findora
    • Aleo
    • Aurora
Powered by GitBook
On this page
  • Harmony Coins
  • Transaction Cost
  • Speed
  • Effective Proof of Stake
  • Bridging
  • Governance
  • Create a HRC-20
  • Launch in 10 minutes
  • Workshop - Start
  • Compile 📝
  • Deploy Contract
  • Importing your Token Meta Mask
  • End of Lesson 1.1 - Harmony ONE/HRC-20 launch
  • 🥂 Author, Dylan Kawalec --> Linkedin
  1. Welcome Builder - Start
  2. Building a Currency

1.2 - HRC-20 Harmony Token

This is a guide to Launch a Token on the Harmony Blockchain || Remix, Solidity, Google Chrome, Metamask.

PreviousBuilding a CurrencyNext1.3 - FRA20 Findora Private Tokens

Last updated 3 years ago

Harmony Coins

- Every contract that has ever transacted on the Harmony network can be found on this Block Explorer. If you need help Navigating the Explorer, we made a video explaining how to navigate it HERE -->

The Harmony blockchain offers its own native tokens that have their own shared economy's. Token created on the harmony blockchain have the ability to swap cheaply and fluidly with Harmony ONE tokens.

Transaction Cost

Jan 3, 2022 that harmony network has plans to make the cost of a single transaction 30 gwei. that's cheap...

Speed

There average is > 2 Million & < 4 Million

with this many transactions, they clock in a 2.31 seconds at high volumes. Low volume metrics have show 1.97 seconds. Harmony has plans for 2022 according to their roadmap, to reach a 1 second finality.

To achieve such speeds, the Harmony foundation intends to implement what's known as "re-sharding" for their blockchain. There are still very little details on this; design updates will be found here -->

Effective Proof of Stake

Harmony offers delegators the option to stake to a validator on their staking dashboard -->

The "effective" part is the equivalent to say "equal". If a Validator owns a large stake and occupies many slots with what are known as a BLS Keys, there is an algorithm in the Harmony Protocol that balances out the token reward distribution between all the validators. This gives many Delegators (Coin investors) the freedom to choose to stake to any number of Validators and expect the same return in ONE tokens.

Bridging

The Harmony foundation has worked hard to release Ethereum light clients to the Ethereum blockchain to natively transfer any EVM compatible token to the Harmony network. ONE tokens are the bridged asset for many Blockchains, including Ethereum, Cosmos, Polygon, Bitcoin, Avalanche, Terra, the Binance Smart Chain and Chainlink

Governance

HRC-20 come equipped DAO (Decentralized Autonomous Organization) governing options. Token holders can influence the foundations most critical decisions as a business and as an ecosystem. Some believe this to be a risk for any foundation to take, but the harmony foundation intends to be community led by year 2025.

Create a HRC-20

Harmony has their own token standards that can be followed on their documentation site. HRC-20 tokens will work on any Harmony.one Decentralized application. The EVM's compiler is built into the mainframe of the harmony blockchain, so the the native coding language for Harmony is Solidity

Launch in 10 minutes

Workshop - Start

B. Locate Contracts folder

C. Name your contract .sol file

D. Write your Smart Contract

Copy and paste this Text File into the IDE

You will have a Full Contract with //green comments that explain everything. You are welcome to experiment and change the values as you see fit.

Compile 📝

E. Compile the Contract

Typically you will configure your truffle or hardhat file that is in your code editor to choose the version of solidity you want to run. That is if you are testing and compiling the contract on your local test net.

F. Use Meta Mask

Deploy Contract

G. Write your contract

Before Transacting, make the contract unique to you. When you are ready, press Transact

  • Copy and paste your MetaMask (0x...#) address and press 'send me'

H. Confirm Transaction

I. Approve the Contract

  1. Copy and paste your address in the _spender

  2. _value is the amount allowed to be transacted for any given transaction outside of your behalf. If you want to limit spending to 0, it will be non-transferable; as will _value 5000 will limit spending to 5k for others.

  3. transfer will send the currency too someone with a given value

  4. transferFrom will send it from you, to someone else with a given amount.

  5. Blue buttons are your Contract Public Variables

Importing your Token Meta Mask

Your friends may want to see their token creation. Just add the Transaction or Ethereum hash to MetaMask by importing a token

End of Lesson 1.1 - Harmony ONE/HRC-20 launch

If you've made it this far, congratulations. The process is pretty much the same for release mostly any contract. Using remix is a great way to get your feet wet using solidity. The real challenge is setting up your own environment to program an entire Dapp around your contract. This won't be done until you've practiced familiarizing yourself with the basics of Solidity. Your Goal would be to start learning contracts, and interacting with them using javascript. check the Full Stack dApp's section to practice making an entire web application.

Vote for Harmony (100 ONE == 1 vote) -->

A. Open Remix IDE -->

Click on contracts

Make a new file --> type hrc20.sol

Check Pragma and compiler version

You'll need to import -->

In order to use Test Net you will need Test Tokens -->

First Transaction (Ethereum Hash)

0-0 launch --> (Transaction hash)

copy and paste either of the above Tx's

🥂 Author, Dylan Kawalec -->

Thank you to the for fundraising this bounty

🍉
1️⃣
💙
Snapshot
REMIX
Meta Mask for Harmony
Get Some HERE
Harmony's Block Explorer
Explore
Openswap
Harmony Roadmap
Harmony Staking
Linkedin
@DoraFactory Foundation
@Harmonyprotocol
4KB
hrc20-contract.txt
Copy the Contents of this File and paste them into the IDE to the right
Visit the -->
Add a new Network --> type in these fields
type in the fields before you transact
Confirm the Tx (transaction)
Horizon Bridge