From 8e275576d59631c89ac78eb68aaa1a3fc9bf7036 Mon Sep 17 00:00:00 2001 From: Brendan Graetz Date: Thu, 27 Nov 2025 18:23:17 +0800 Subject: [PATCH] fix: broken links + add directory pages where there are none Signed-off-by: Brendan Graetz --- .gitbook/defi/transactions.mdx | 2 +- .gitbook/developers-cosmwasm/index.mdx | 2 +- .../your-first-smart-contract.mdx | 4 ++-- .gitbook/developers-defi/index.mdx | 6 ++--- .gitbook/developers-native/bridges/index.mdx | 7 ++++++ .gitbook/developers-native/examples/index.mdx | 20 ++++++++++++++++ .../developers-native/query-chain/index.mdx | 23 +++++++++++++++++++ .../query-indexer-stream/index.mdx | 13 +++++++++++ .../developers-native/query-indexer/index.mdx | 18 +++++++++++++++ .../developers-native/transactions/index.mdx | 13 +++++++++++ .gitbook/developers-native/wallets/index.mdx | 10 ++++++++ .gitbook/developers/assets/denom.mdx | 2 +- .gitbook/developers/assets/token-metadata.mdx | 2 +- .gitbook/references.mdx | 2 +- 14 files changed, 114 insertions(+), 10 deletions(-) create mode 100644 .gitbook/developers-native/bridges/index.mdx create mode 100644 .gitbook/developers-native/examples/index.mdx create mode 100644 .gitbook/developers-native/query-chain/index.mdx create mode 100644 .gitbook/developers-native/query-indexer-stream/index.mdx create mode 100644 .gitbook/developers-native/query-indexer/index.mdx create mode 100644 .gitbook/developers-native/transactions/index.mdx create mode 100644 .gitbook/developers-native/wallets/index.mdx diff --git a/.gitbook/defi/transactions.mdx b/.gitbook/defi/transactions.mdx index 1c54c0f7..f7616000 100644 --- a/.gitbook/defi/transactions.mdx +++ b/.gitbook/defi/transactions.mdx @@ -10,7 +10,7 @@ After being broadcasted and passing all validations (including signature validat In simpler terms, messages are the instructions given to Injective about the desired state change. Messages are module-specific objects that trigger state transitions within the scope of the module they belong to. Every transaction must have at least one message. -**Additionally, multiple messages can be packed within the same transaction.** Available Messages from each module can be found in the [native developers](../developers-native/ "mention") section. +**Additionally, multiple messages can be packed within the same transaction.** Available Messages from each module can be found in the [native developers](/developers-native) section. ### Transaction Context diff --git a/.gitbook/developers-cosmwasm/index.mdx b/.gitbook/developers-cosmwasm/index.mdx index d6cdb604..f2260f73 100644 --- a/.gitbook/developers-cosmwasm/index.mdx +++ b/.gitbook/developers-cosmwasm/index.mdx @@ -4,4 +4,4 @@ title: Cosmwasm Developers CosmWasm is a novel smart contracting platform built for the Cosmos ecosystem. You can learn more about CosmWasm from [the CosmWasm docs](https://cosmwasm.cosmos.network/), or see the [CosmWasm Book](https://book.cosmwasm.com/index.html) for a guide on creating CosmWasm smart contracts. -**Start your builder journey on Injective using Cosmwasm here**: [Your First CosmWasm Smart Contracts](/developers-cosmwasm/smart-contracts/your-first-smart-contract.md "mention") +**Start your builder journey on Injective using Cosmwasm here**: [Your First CosmWasm Smart Contracts](/developers-cosmwasm/smart-contracts/your-first-smart-contract) diff --git a/.gitbook/developers-cosmwasm/smart-contracts/your-first-smart-contract.mdx b/.gitbook/developers-cosmwasm/smart-contracts/your-first-smart-contract.mdx index e008a645..84532f92 100644 --- a/.gitbook/developers-cosmwasm/smart-contracts/your-first-smart-contract.mdx +++ b/.gitbook/developers-cosmwasm/smart-contracts/your-first-smart-contract.mdx @@ -402,13 +402,13 @@ This produces an `artifacts` directory with a `PROJECT_NAME.wasm`, as well as `c `injectived` is the command-line interface and daemon that connects to Injective and enables you to interact with the Injective blockchain. -If you want to interact with your Smart Contract locally using CLI, you have to have `injectived` installed. To do so, you can follow the installation guidelines here [#install-injectived](#install-injectived "mention"). +If you want to interact with your Smart Contract locally using CLI, you have to have `injectived` installed. To do so, you can follow the installation guidelines in the [injectived installation guide](/developers/injectived/install). Alternatively, a Docker image has been prepared to make this tutorial easier. If you install `injectived` from the binary, ignore the docker commands. -In the [public endpoints section](../../infra/public-endpoints/) you can find the right --node info to interact with Mainnet and Testnet. +In the [public endpoints section](/infra/public-endpoints) you can find the right --node info to interact with Mainnet and Testnet. Executing this command will make the docker container execute indefinitely. diff --git a/.gitbook/developers-defi/index.mdx b/.gitbook/developers-defi/index.mdx index e21a10b4..e02dfc79 100644 --- a/.gitbook/developers-defi/index.mdx +++ b/.gitbook/developers-defi/index.mdx @@ -4,14 +4,14 @@ title: DeFi Developers Injective marks the forefront of exchange-focused layer-1 blockchains offering decentralized perpetual swaps, futures, and spot trading. It fully taps into the possibilities of decentralized derivatives and borderless DeFi. Every component is designed to embody complete trustlessness, resistance to censorship, public verifiability, and resilience against front-running. -Injective enables traders to create and trade arbitrary spot and derivatives markets. Injective also enables on-chain limit orderbook management, on-chain trade execution, on-chain order matching, on-chain transaction settlement, and on-chain trading incentive distribution through the logic codified by the Injective Chain's [Exchange Module](/developers-native/injective/exchange/). +Injective enables traders to create and trade arbitrary spot and derivatives markets. Injective also enables on-chain limit orderbook management, on-chain trade execution, on-chain order matching, on-chain transaction settlement, and on-chain trading incentive distribution through the logic codified by the Injective Chain's [Exchange Module](/developers-native/injective/exchange). ## Build an Orderbook DEX on Injective -As an incentive mechanism to encourage exchanges to build on Injective and source trading activity, exchanges that originate orders into the shared orderbook of Injective's exchange protocol ([read more](/developers-native/injective/exchange/)) are rewarded with $$β=40%β=40%$$ of the trading fee from orders that they source. The exchange protocol implements a global minimum trading fee of $$rm=0.1%rm​=0.1%$$ for makers and $$rt=0.2%rt​=0.2%$$ for takers. +As an incentive mechanism to encourage exchanges to build on Injective and source trading activity, exchanges that originate orders into the shared orderbook of Injective's exchange protocol ([read more](/developers-native/injective/exchange)) are rewarded with $β=40%β=40%$ of the trading fee from orders that they source. The exchange protocol implements a global minimum trading fee of $$rm=0.1%rm​=0.1%$$ for makers and $$rt=0.2%rt​=0.2%$$ for takers. The goal of Injective's incentive mechanism is to allow exchanges competing amongst each other to provide a better user experience and to better serve users, broadening access to DeFi for users all around the world. An exchange can easily set up a client (such as a UI on web or mobile) and an API provider. -Head to our [DEX tutorial](/developers/dapps/example-dex/) bootstrap your with few clicks! +Head to our [DEX tutorial](/developers/dapps/example-dex) to bootstrap your DEX with a few clicks! diff --git a/.gitbook/developers-native/bridges/index.mdx b/.gitbook/developers-native/bridges/index.mdx new file mode 100644 index 00000000..de1e7221 --- /dev/null +++ b/.gitbook/developers-native/bridges/index.mdx @@ -0,0 +1,7 @@ +--- +title: Bridges +--- + +This section covers bridging assets to and from Injective. + +- [Ethereum Bridge](/developers-native/bridges/ethereum/) - Bridge assets between Ethereum and Injective using Peggy diff --git a/.gitbook/developers-native/examples/index.mdx b/.gitbook/developers-native/examples/index.mdx new file mode 100644 index 00000000..1bcc0b05 --- /dev/null +++ b/.gitbook/developers-native/examples/index.mdx @@ -0,0 +1,20 @@ +--- +title: Transaction Examples +--- + +This section provides code examples for common transaction types on Injective. + +- [Auction](/developers-native/examples/auction/) - Auction module transactions +- [Authz](/developers-native/examples/authz/) - Authorization module transactions +- [Bank](/developers-native/examples/bank/) - Bank module transactions +- [Distribution](/developers-native/examples/distribution/) - Distribution module transactions +- [Exchange](/developers-native/examples/exchange/) - Exchange module transactions +- [Feegrant](/developers-native/examples/feegrant/) - Fee grant module transactions +- [Governance](/developers-native/examples/governance/) - Governance module transactions +- [IBC](/developers-native/examples/ibc/) - IBC module transactions +- [Insurance](/developers-native/examples/insurance/) - Insurance module transactions +- [Peggy](/developers-native/examples/peggy/) - Peggy bridge transactions +- [Permissions](/developers-native/examples/permissions/) - Permissions module transactions +- [Staking](/developers-native/examples/staking/) - Staking module transactions +- [Token Factory](/developers-native/examples/token-factory/) - Token factory module transactions +- [Wasm](/developers-native/examples/wasm/) - CosmWasm transactions diff --git a/.gitbook/developers-native/query-chain/index.mdx b/.gitbook/developers-native/query-chain/index.mdx new file mode 100644 index 00000000..e393191d --- /dev/null +++ b/.gitbook/developers-native/query-chain/index.mdx @@ -0,0 +1,23 @@ +--- +title: Querying the Chain +--- + +This section covers how to query data directly from the Injective blockchain. + +- [Auction](/developers-native/query-chain/auction/) - Query auction module data +- [Auth](/developers-native/query-chain/auth/) - Query auth module data +- [Bank](/developers-native/query-chain/bank/) - Query bank module data +- [Distribution](/developers-native/query-chain/distribution/) - Query distribution module data +- [Exchange](/developers-native/query-chain/exchange/) - Query exchange module data +- [Governance](/developers-native/query-chain/governance/) - Query governance module data +- [IBC](/developers-native/query-chain/ibc/) - Query IBC module data +- [Insurance Funds](/developers-native/query-chain/insurance-funds/) - Query insurance funds data +- [Mint](/developers-native/query-chain/mint/) - Query mint module data +- [Oracle](/developers-native/query-chain/oracle/) - Query oracle module data +- [Peggy](/developers-native/query-chain/peggy/) - Query peggy module data +- [Permissions](/developers-native/query-chain/permissions/) - Query permissions module data +- [Staking](/developers-native/query-chain/staking/) - Query staking module data +- [Tendermint](/developers-native/query-chain/tendermint/) - Query tendermint data +- [Token Factory](/developers-native/query-chain/token-factory/) - Query token factory data +- [Wasm](/developers-native/query-chain/wasm/) - Query wasm module data +- [WasmX](/developers-native/query-chain/wasmx/) - Query wasmx module data diff --git a/.gitbook/developers-native/query-indexer-stream/index.mdx b/.gitbook/developers-native/query-indexer-stream/index.mdx new file mode 100644 index 00000000..6eb88ee0 --- /dev/null +++ b/.gitbook/developers-native/query-indexer-stream/index.mdx @@ -0,0 +1,13 @@ +--- +title: Streaming the Indexer +--- + +This section covers how to stream real-time data from the Injective Indexer API. + +- [Account](/developers-native/query-indexer-stream/account/) - Stream account updates +- [Auction](/developers-native/query-indexer-stream/auction/) - Stream auction updates +- [Derivatives](/developers-native/query-indexer-stream/derivatives/) - Stream derivatives market updates +- [Oracle](/developers-native/query-indexer-stream/oracle/) - Stream oracle price updates +- [Portfolio](/developers-native/query-indexer-stream/portfolio/) - Stream portfolio updates +- [Spot](/developers-native/query-indexer-stream/spot/) - Stream spot market updates +- [Explorer](/developers-native/query-indexer-stream/explorer/) - Stream explorer updates diff --git a/.gitbook/developers-native/query-indexer/index.mdx b/.gitbook/developers-native/query-indexer/index.mdx new file mode 100644 index 00000000..e49ab862 --- /dev/null +++ b/.gitbook/developers-native/query-indexer/index.mdx @@ -0,0 +1,18 @@ +--- +title: Querying the Indexer +--- + +This section covers how to query data from the Injective Indexer API. + +- [Account](/developers-native/query-indexer/account/) - Query account data +- [Auction](/developers-native/query-indexer/auction/) - Query auction data +- [Derivatives](/developers-native/query-indexer/derivatives/) - Query derivatives market data +- [Explorer](/developers-native/query-indexer/explorer/) - Query explorer data +- [Insurance Funds](/developers-native/query-indexer/insurance-funds/) - Query insurance funds data +- [Markets](/developers-native/query-indexer/markets/) - Query market data +- [Leaderboard](/developers-native/query-indexer/leaderboard/) - Query leaderboard data +- [Mito](/developers-native/query-indexer/mito/) - Query Mito vault data +- [Oracle](/developers-native/query-indexer/oracle/) - Query oracle data +- [Portfolio](/developers-native/query-indexer/portfolio/) - Query portfolio data +- [Spot](/developers-native/query-indexer/spot/) - Query spot market data +- [Transaction](/developers-native/query-indexer/transaction/) - Query transaction data diff --git a/.gitbook/developers-native/transactions/index.mdx b/.gitbook/developers-native/transactions/index.mdx new file mode 100644 index 00000000..65dd7855 --- /dev/null +++ b/.gitbook/developers-native/transactions/index.mdx @@ -0,0 +1,13 @@ +--- +title: Transactions +--- + +This section covers how to create, sign, and broadcast transactions on Injective. + +- [Cosmos Transactions](/developers-native/transactions/cosmos/) - Sign transactions using Cosmos wallets +- [Cosmos Ledger + Keplr](/developers-native/transactions/cosmos-ledger-keplr/) - Sign transactions using Ledger with Keplr +- [Ethereum Transactions](/developers-native/transactions/ethereum/) - Sign transactions using Ethereum wallets +- [Ethereum Ledger](/developers-native/transactions/ethereum-ledger/) - Sign transactions using Ledger with Ethereum wallets +- [MsgBroadcaster](/developers-native/transactions/msgbroadcaster/) - Use the MsgBroadcaster utility class +- [Private Key](/developers-native/transactions/private-key/) - Sign transactions using a private key +- [Web3 Gateway](/developers-native/transactions/web3-gateway/) - Use the Web3 Gateway for transaction broadcasting diff --git a/.gitbook/developers-native/wallets/index.mdx b/.gitbook/developers-native/wallets/index.mdx new file mode 100644 index 00000000..176c439a --- /dev/null +++ b/.gitbook/developers-native/wallets/index.mdx @@ -0,0 +1,10 @@ +--- +title: Wallets +--- + +This section covers wallet integration and management for Injective. + +- [Accounts](/developers-native/wallets/accounts/) - Learn about Injective accounts and address derivation +- [Connections](/developers-native/wallets/connections/) - Connect to different wallet providers +- [Strategy](/developers-native/wallets/strategy/) - Wallet strategy patterns for dApps +- [Offchain Data](/developers-native/wallets/offchain-data/) - Working with offchain data signing diff --git a/.gitbook/developers/assets/denom.mdx b/.gitbook/developers/assets/denom.mdx index 09681e4d..b3c4b439 100644 --- a/.gitbook/developers/assets/denom.mdx +++ b/.gitbook/developers/assets/denom.mdx @@ -20,5 +20,5 @@ Token is simply a denom on the Injective chain with some meta information. The m **Deprecation Notice** Note that there was a "Denom Client" available within the Injective SDK. -This has been deprecated in favour of [Injective List](./injective-list/). +This has been deprecated in favour of [Injective List](./injective-list). diff --git a/.gitbook/developers/assets/token-metadata.mdx b/.gitbook/developers/assets/token-metadata.mdx index 8f0081a0..0937cd98 100644 --- a/.gitbook/developers/assets/token-metadata.mdx +++ b/.gitbook/developers/assets/token-metadata.mdx @@ -19,6 +19,6 @@ We maintain our token metadata list off-chain for faster access to the[ injectiv Verifying your token's metadata can be done in a couple of ways. Here are the verification levels and what they mean: * **Verified** → Your asset metadata has been **submitted and verified** to the `@injectivelabs/token-metadata` package. You can find a tutorial on how to add your token's metadata to the package [here](https://github.com/InjectiveLabs/injective-lists/blob/master/CONTRIBUTING.md). -* **Internal** → Your asset's metadata has been verified on-chain using the `MsgSetDenomMetadata` message, as explained [here](../../developers-native/examples/token-factory/#msgsetdenommetadata). +* **Internal** → Your asset's metadata has been verified on-chain using the `MsgSetDenomMetadata` message, as explained [here](/developers-native/examples/token-factory). * **External** → Your asset's metadata has been verified on some external source like from Ethereum's contract details, etc. * **Unverified** → Your asset's metadata has not been provided anywhere. diff --git a/.gitbook/references.mdx b/.gitbook/references.mdx index 82c3a936..37d96505 100644 --- a/.gitbook/references.mdx +++ b/.gitbook/references.mdx @@ -11,7 +11,7 @@ Developer tools and resources to get you building on Injective | **Resource** | **Description** | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| [MCP Server](./developers/mcp/) | Connect AI assistants to Injective documentation using the Model Context Protocol | +| [MCP Server](./developers/ai/mcp) | Connect AI assistants to Injective documentation using the Model Context Protocol | | [Injective 101](https://injective.notion.site/Injective-101-589dedc4c9c04531aae503dbb235d443) | One-stop-shop for Injective resources | | [Injectived](./developers/injectived/) | Command-line interface and node daemon that connects to Injective | | [Injective Explorer](https://explorer.injective.network/) | Analytics platform that enables anyone to search addresses, trades, tokens, transactions, and other activities on Injective |