Getting Started
Last updated
Last updated
Supported Node Versions > 18.x
Stable Package Version
Latest Package Versions:
Note: The latest versions are published using the next
tag. For stable versions use the latest
tag or check npm registry for the latest stable version.
The purpose of this Wiki is to help developers build decentralized applications on top of Injective. Let's dive a bit deeper into each section and explain its purpose so its easier to get the bigger picture.
Note: Reading the Technical Concepts section after reading the overview below is highly recommended. There are some concepts that can have a bit steeper learning curve than others, so we recommend going through them to understand a bit more about Injective.
Wallets - In this section, we are going to explain (in technical terms) how Accounts are derived on Injective, how you can connect your wallet straight from the dApp itself, and finally have a look at the WalletStrategy - a package built by the InjectiveLabs team which offers out of the box solution for providing multiple wallet solutions to the user to connect and interact with your dApp.
Querying - In this section we are going to explore different ways to obtain data from different data sources needed to build your dApps. First, we are going to see how to query the chain directly and then we are going to explore the Indexer API - an indexer solution for easier data access/streaming including historical data.
Transaction - In this section, we are going to explore different ways to make transactions on Injective. First, we are going to explain (in technical terms) how Transactions work on Injective and some technical concepts around them and then we are going to have a look at how to prepare, sign, and broadcast transactions on Injective in several ways. There are a couple of ways to do this.
Using the Cosmos native approach in creating a transaction, sign it using a Cosmos native wallet and broadcast it to Injective,
Using the Ethereum native approach in creating a transaction using EIP712 typed data, sign it using an Ethereum native wallet and broadcast it to Injective,
Using the Ethereum native approach in creating a transaction using EIP712 typed data, sign it using a Ledger device and broadcast it to Injective,
Using the Cosmos native approach in creating a transaction, sign it using a raw PrivateKey and broadcast it to Injective,
Using the Web3Gateway microservice - an API that provides fee delegation services.
Core Modules - In this section we are going to have a quick summary of the core modules on Injective and show examples of how to create some Messages (+ pack them into a transaction, sign them using a private key, and broadcast them on Injective) within these core modules.
Bridge - In this section, we are going to have a look at Injective's interoperability and explain how developers can utilize the Peggy bridge and the IBC bridge to bridge assets over to Injective.
Networks - In this section, we will look at different (pre-defined) available Networks for developers to utilize while building dApps on top of Injective, allowing them to start building without the need to make their own infrastructure.
Calculations - In this section, we will look at different calculations formula converting values between UI human-readable and chain format.
Deprecated Packages: