This documentation is provided for backward compatibility support. IoTeX is fully Ethereum-compatible; therefore, developers are encouraged to utilize Ethereum tools to build dApps on IoTeX.
Overview of Antenna SDK
Antenna is the IoTeX native SDK, enabling direct interaction with a local or remote IoTeX node using a gRPC connection. It is available for the most popular programming languages. The key difference between developing with Antenna versus the Web3 SDK is that Antenna wraps the full gRPC Native API of the IoTeX protocol and uses the native representation of IoTeX addresses.While IoTeX fully supports the Ethereum API, allowing the use of Web3 tools for dApp development, IoTeX’s architecture is more complex than Ethereum’s. This makes Antenna the necessary choice when leveraging IoTeX’s unique features. For example, concepts such as “Delegates,” “Block Producers,” “Staking Transactions,” “Buckets,” and “Voting” have no equivalents in Ethereum. Therefore, to utilize these features in your dApp, you need to use Antenna instead of tools like Web3.js.The Example Code section includes samples for each supported language.
Supported Languages
antenna-js (Javascript)
GitHubIn your JS project root, use npm install or yarn add.