Skip to content

Commit dd7a111

Browse files
authored
fix: update cosmos tutorial and move content to gmp section (#1346)
1 parent a47cbd2 commit dd7a111

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

src/content/docs/dev/cosmos-gmp/cosmos-2way-manual-relay.mdx renamed to src/content/docs/dev/general-message-passing/cosmos-gmp/cosmos-2way-manual-relay.mdx

File renamed without changes.

src/content/docs/dev/cosmos-gmp/developer-guides/cross-chain-messaging-evm-to-cosmos.mdx renamed to src/content/docs/dev/general-message-passing/cosmos-gmp/developer-guides/cross-chain-messaging-evm-to-cosmos.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ In simpler terms, Axelar GMP enables developers to build applications that integ
5252

5353
Axelar has expanded General Message Passing (GMP) to support Cosmos blockchains. With Axelar, you can now send and receive messages on EVM chains and Cosmos chains. Messages sent to Cosmos chains can be received by [CosmWasm smart contracts](https://github.com/axelarnetwork/evm-cosmos-gmp-sample/tree/main/cosmwasm-integration/) (on blockchains with CosmWasm support), or those messages can be received [natively at the consensus layer as part of Go code](https://github.com/axelarnetwork/evm-cosmos-gmp-sample/tree/main/native-integration).
5454

55-
Cosmos GMP works by sending and receiving through [IBC’s memo field](https://medium.com/the-interchain-foundation/moving-beyond-simple-token-transfers-d42b2b1dc29b). Cosmos chains that support GMP should [integrate the appropriate middleware](/dev/cosmos-gmp/overview/#chain-support) and [verify the message source](/dev/cosmos-gmp/overview/#establishing-a-path-of-trust).
55+
Cosmos GMP works by sending and receiving through [IBC’s memo field](https://medium.com/the-interchain-foundation/moving-beyond-simple-token-transfers-d42b2b1dc29b). Cosmos chains that support GMP should [integrate the appropriate middleware](/dev/cosmos-gmp/overview/#chain-support) and [verify the message source](/dev/general-message-passing/cosmos-gmp/overview/#establishing-a-path-of-trust).
5656

5757
## Project setup and installation
5858

59-
To start the project setup and installation quickly, clone this [**project on GitHub**](https://github.com/axelarnetwork/cross-chain-airdrop-dapp/tree/start) using the following command:
59+
To start the project setup and installation quickly, clone this [**project on GitHub**](https://github.com/axelarnetwork/send-message-from-cosmos-to-evm-example) using the following command:
6060

6161
```bash
6262
git clone https://github.com/axelarnetwork/send-message-from-cosmos-to-evm-example.git
@@ -524,7 +524,7 @@ console.log(`Osmo balance: ${balanceOsmo.amount / 1e6} OSMO\\n`);
524524

525525
### Estimate Gas Fee
526526

527-
Estimate the gas fee for sending the message:
527+
Estimate [the gas fee](/dev/gas-service/pay-gas/) for sending the message:
528528

529529
```js
530530
//...
@@ -786,7 +786,7 @@ By mastering these steps, you can effectively create interoperable decentralized
786786

787787
## Reference
788788

789-
- [Axelar Cosmos General Message Passing](/dev/cosmos-gmp/overview/)
789+
- [Axelar Cosmos General Message Passing](/dev/general-message-passing/cosmos-gmp/overview/)
790790
- [Axelarscan Testnet](https://testnet.axelarscan.io/)
791791
- [Osmosis Testnet Faucet](https://faucet.testnet.osmosis.zone/)
792792
- [Osmosis Testnet Explorer](https://mintscan.io/osmosis-testnet)

src/content/docs/dev/cosmos-gmp/overview.mdx renamed to src/content/docs/dev/general-message-passing/cosmos-gmp/overview.mdx

File renamed without changes.

src/content/docs/dev/general-message-passing/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ With GMP, you can:
2525

2626
### Prerequisites
2727

28-
- For GMP to work, chains A and B must be EVM or Cosmos with a deployed Axelar Gateway contract. We're adding new chains and chain technology stacks all of the time. This document primarily focuses on EVM chains and Solidity code, but you can [learn about interacting with Cosmos GMP](/dev/cosmos-gmp/overview/).
28+
- For GMP to work, chains A and B must be EVM or Cosmos with a deployed Axelar Gateway contract. We're adding new chains and chain technology stacks all of the time. This document primarily focuses on EVM chains and Solidity code, but you can [learn about interacting with Cosmos GMP](/dev/general-message-passing/cosmos-gmp/overview/).
2929
- The application's executable contract must be deployed on the destination contract.
3030
- The application must be on one of Axelar's supported EVM chains. See [chain names](/dev/reference/mainnet-chain-names/) for a list of EVM chains that have an Axelar Gateway deployed. The list is updated as new chains are added.
3131

src/content/docs/dev/general-message-passing/verify-gmp-tx.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Please watch [here](https://www.youtube.com/watch?v=qF9cVhcD2CY) for more inform
2323

2424
## Cosmos
2525

26-
On Cosmos, [validation](/dev/cosmos-gmp/overview/#establishing-a-path-of-trust) is conducted on Axelar before calling a destination contract.
26+
On Cosmos, [validation](/dev/general-message-passing/cosmos-gmp/overview/#establishing-a-path-of-trust) is conducted on Axelar before calling a destination contract.
2727

2828
### Evm -> Cosmos
2929

src/layouts/navigation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,17 @@ export const getNavigation = (section) => {
8585
{
8686
title: "Cosmos",
8787
children: [
88-
{ title: "Introduction", href: "/dev/cosmos-gmp/overview/" },
88+
{ title: "Introduction", href: "/dev/general-message-passing/cosmos-gmp/overview/" },
8989
{
9090
title: "Cosmos 2-way Call Relay",
91-
href: "/dev/cosmos-gmp/cosmos-2way-manual-relay/",
91+
href: "/dev/general-message-passing/cosmos-gmp/cosmos-2way-manual-relay/",
9292
},
9393
{
9494
title: "Developer Guides",
9595
children: [
9696
{
9797
title: "Cross-Chain Messaging: EVM to Cosmos",
98-
href: "/dev/cosmos-gmp/developer-guides/cross-chain-messaging-evm-to-cosmos/",
98+
href: "/dev/general-message-passing/cosmos-gmp/developer-guides/cross-chain-messaging-evm-to-cosmos/",
9999
},
100100
],
101101
},

vercel.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@
134134
"permanent": true
135135
},
136136
{
137-
"source": "/dev/general-message-passing/cosmos-gmp(/)?",
138-
"destination": "/dev/cosmos-gmp/",
137+
"source": "/dev/cosmos-gmp(/)?",
138+
"destination": "/dev/general-message-passing/cosmos-gmp/",
139139
"permanent": true
140140
},
141141
{
@@ -520,7 +520,7 @@
520520
},
521521
{
522522
"source": "/dev/cosmos-gmp(/)?",
523-
"destination": "/dev/cosmos-gmp/overview/",
523+
"destination": "/dev/general-message-passing/cosmos-gmp/overview/",
524524
"permanent": true
525525
},
526526
{

0 commit comments

Comments
 (0)