Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
Harmony is a powerful blockchain that is EVM compatible with sharding and features. Developing on Harmony should feel very familiar for Ethereum developers, as Harmony is and inherits almost all the tools and libraries from Ethereum, like truffle, remix, web3js, etc.
The simplest way to interact with Harmony blockchain is via JSON RPCs.
JSON and curl
command
To really explore the full potential of Harmony blockchain, creating a wallet is the next step.
Using or browser extensions. Any other can also be used.
Harmony , also provides a quick way to create/manage wallet, interact with blockchain, etc.
Harmony uses address format with one1
prefix, however Ethereum style hex address can also be used. For example: one1pdv9lrdwl0rg5vglh4xtyrv3wjk3wsqket7zxy
bech32 address is equivalent to 0x0B585F8DaEfBC68a311FbD4cB20d9174aD174016
hex address. Quick way to convert between formats is using explorer: , at the top you will find "Address Format" ONE | ETH options.
Several development environments exists:
We provide SDKs in several different languages. However most feature complete is our JavaScript SDK, which is the preferred language for DApp development.
The most popular is our , which includes examples, documentation, and DApps developed in previous hackathons
Other SDKs include: Golang CLI, Java SDK, Python SDK
Note that, the Python SDK has only read-only features, meaning no transaction signing or smart contracts
Only cross-shard native token (ONE token) transfers are allowed. No cross-shard for HRC20 or other contracts. Meaning, smart contracts are deployed on shard-0 and all contract interactions happen on shard-0. Contracts can still be deployed on other shards, however they won't be able to interact with contracts in other shards. We have cross-shard smart contract on our roadmap for Q3, 2021.
Many other examples and DApps can be found in the and under .
- for reporting issues, asking questions, or interact with other developers