💙1.2 - HRC-20 Harmony Token
This is a guide to Launch a Token on the Harmony Blockchain || Remix, Solidity, Google Chrome, Metamask.
Last updated
This is a guide to Launch a Token on the Harmony Blockchain || Remix, Solidity, Google Chrome, Metamask.
Last updated
Harmony's Block Explorer - 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 --> Explore
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.
Jan 3, 2022 that harmony network has plans to make the cost of a single transaction 30 gwei. that's cheap...
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 --> Harmony Roadmap
Harmony offers delegators the option to stake to a validator on their staking dashboard --> Harmony Staking
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.
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
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.
Vote for Harmony (100 ONE == 1 vote) --> Snapshot
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
A. Open Remix IDE --> REMIX
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.
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.
You'll need to import Meta Mask for Harmony -->
Before Transacting, make the contract unique to you. When you are ready, press Transact
In order to use Test Net you will need Test Tokens --> Get Some HERE
Copy and paste your MetaMask (0x...#) address and press 'send me'
Copy and paste your address in the _spender
_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.
transfer
will send the currency too someone with a given value
transferFrom
will send it from you, to someone else with a given amount.
Blue buttons are your Contract Public
Variables
Your friends may want to see their token creation. Just add the Transaction
or Ethereum hash
to MetaMask by importing a token
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.
Click on
contracts
Make a new file --> type
hrc20.sol
First Transaction (Ethereum Hash)
0-0 launch --> (Transaction hash)
copy and paste either of the above Tx's
Thank you to the @DoraFactory Foundation for fundraising this bounty @Harmonyprotocol