Skip to content

Commit e978d2e

Browse files
authored
Update broken links (#319)
* update broken links * update link references * update llms
1 parent aaf4478 commit e978d2e

File tree

10 files changed

+42
-26
lines changed

10 files changed

+42
-26
lines changed

build/core-messaging/wormhole-relayers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To send a message to a contract on another EVM chain, you can call the `sendPayl
5555
```
5656

5757
!!! tip
58-
To reduce transaction confirmation time, you can lower the consistency level using the [`sendToEvm`](https://github.com/wormhole-foundation/wormhole/blob/{{repositories.wormhole.version}}/sdk/js/src/relayer/relayer/send.ts#L33){target=\_blank} method.
58+
To reduce transaction confirmation time, you can lower the consistency level using the [`sendToEvm`](https://github.com/wormhole-foundation/wormhole/blob/v{{repositories.wormhole.version}}/sdk/js/src/relayer/relayer/send.ts#L33){target=\_blank} method.
5959

6060
The `sendPayloadToEvm` method is marked `payable` to receive fee payment for the transaction. The value to attach to the invocation is determined by calling the `quoteEVMDeliveryPrice`, which provides an estimate of the cost of gas on the target chain.
6161

@@ -73,7 +73,7 @@ In total, sending a message across EVM chains can be as simple as getting a fee
7373

7474
### Receive a Message
7575

76-
To receive a message using a Wormhole relayer, the target contract must implement the [`IWormholeReceiver`](https://github.com/wormhole-foundation/wormhole-relayer-solidity-sdk/blob/main/src/interfaces/IWormholeReceiver.sol){target=\_blank} interface, as shown in the [previous section](#interacting-with-the-wormhole-relayer).
76+
To receive a message using a Wormhole relayer, the target contract must implement the [`IWormholeReceiver`](https://github.com/wormhole-foundation/wormhole-relayer-solidity-sdk/blob/main/src/interfaces/IWormholeReceiver.sol){target=\_blank} interface, as shown in the [previous section](#interact-with-the-wormhole-relayer).
7777

7878
```solidity
7979
--8<-- 'code/build/core-messaging/wormhole-relayers/receiveWormholeMessages.sol'

build/multigov/deploy-to-evm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For developers looking to set up a local MultiGov environment:
3535
cp .env.example .env
3636
```
3737

38-
Edit `.env` with your specific [configuration](/docs/build/multigov/deployment/#configuration){target=\_blank}
38+
Edit `.env` with your specific [configuration](#configuration){target=\_blank}
3939

4040
3. Compile contracts:
4141
```bash

build/multigov/upgrade-evm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MultiGov is designed to be flexible but stable. Due to the system's complexity a
1010
## Key Considerations for Upgrades
1111

1212
- **`HubGovernor`**:
13-
- Not upgradeable. A new deployment requires redeploying several components of the MultiGov system. Refer to the [Process for Major System Upgrade](/docs/build/multigov/upgrade/#process-for-major-system-upgrade) section for more details
13+
- Not upgradeable. A new deployment requires redeploying several components of the MultiGov system. Refer to the [Process for Major System Upgrade](#process-for-major-system-upgrade) section for more details
1414

1515
- **`HubVotePool`**:
1616
- Can be replaced by setting a new `HubVotePool` on the `HubGovernor`

build/toolkit/typescript-sdk/sdk-layout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ VAAs are the backbone of Wormhole’s cross-chain communication. Each VAA is a s
315315
The Wormhole SDK organizes the VAA structure into three key components:
316316

317317
- [**Header**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L37-L41){target=\_blank} - contains metadata such as the Guardian set index and an array of Guardian signatures
318-
- [**Envelope**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L44-L51){target=\_blank} - includes chain-specific details such as the emitter chain, address, sequence, and [consistency (finality) level](/build/reference/consistency-levels/){target=\_blank}
318+
- [**Envelope**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L44-L51){target=\_blank} - includes chain-specific details such as the emitter chain, address, sequence, and [consistency (finality) level](/docs/build/reference/consistency-levels/){target=\_blank}
319319
- **Payload** - provides application-specific data, such as the actual message or operation being performed
320320

321321
**Header layout:**

build/transfers/native-token-transfers/faqs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ description: Frequently asked questions about Wormhole Native Token Transfers, i
77

88
## Do you have an example of how cross-chain lending can be implemented using Wormhole?
99

10-
Yes, we have an example of cross-chain lending that leverages [Wormhole’s Token Bridge](/learn/transfers/token-nft-bridge/){target=\_blank}. In this example, collateral deposits (such as ETH on Ethereum) are bridged to a hub chain. Once the collateral is deposited, the borrowed assets, like wrapped BNB, are bridged to Binance Smart Chain. You can explore the full implementation in this [cross-chain lending example repository](https://github.com/wormhole-foundation/example-wormhole-lending){target=_blank}.
10+
Yes, we have an example of cross-chain lending that leverages [Wormhole’s Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank}. In this example, collateral deposits (such as ETH on Ethereum) are bridged to a hub chain. Once the collateral is deposited, the borrowed assets, like wrapped BNB, are bridged to Binance Smart Chain. You can explore the full implementation in the [Wormhole Lending Examples repository](https://github.com/wormhole-foundation/example-wormhole-lending){target=_blank} on GitHub.
1111

12-
Alternatively, you can also implement cross-chain lending using [Wormhole’s core messaging](/learn/transfers/native-token-transfers/){target=\_blank} instead of the Token Bridge, which avoids the limitations imposed by governor limits. ETH would be custodied on Ethereum, and BNB on the Binance spoke during this setup. When a user deposits ETH on Ethereum, a core bridge message is sent to the hub for accounting purposes. The hub then emits a message that can be redeemed on Binance to release the BNB. This approach allows for more direct asset control across chains while reducing reliance on Token Bridge limits.
12+
Alternatively, you can also implement cross-chain lending using [Wormhole’s core messaging](/docs/learn/transfers/native-token-transfers/){target=\_blank} instead of the Token Bridge, which avoids the limitations imposed by governor limits. ETH would be custodied on Ethereum, and BNB on the Binance spoke during this setup. When a user deposits ETH on Ethereum, a core bridge message is sent to the hub for accounting purposes. The hub then emits a message that can be redeemed on Binance to release the BNB. This approach allows for more direct asset control across chains while reducing reliance on Token Bridge limits.
1313

1414
## What causes the "No protocols registered for Evm" error in Wormhole SDK?
1515

learn/glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ A Spy is a daemon that eavesdrops on the messages passed between Guardians, typi
6565

6666
## VAA
6767

68-
[Verifiable Action Approvals](/docs/learn/infrastructure/vaas/){target=\_blank} (VAAs) are the base data structure in the Wormhole ecosystem. They contain the messages emitted by [xDapps](#xdapp) along with information such as what contract emitted the message.
68+
[Verifiable Action Approvals](/docs/learn/infrastructure/vaas/){target=\_blank} (VAAs) are the base data structure in the Wormhole ecosystem. They contain emitted messages along with information such as what contract emitted the message.
6969

7070
## Validator
7171

learn/governance/index.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,21 @@ Discover everything you need to know about MultiGov, Wormhole's cross-chain gove
4949

5050
[:custom-arrow: Start the integration process now](/docs/build/multigov/)
5151

52-
- :octicons-rocket-16:{ .lg .middle } **Deployment**
52+
- :octicons-rocket-16:{ .lg .middle } **Deploy to EVM Chains**
5353

5454
---
5555

56-
Set up and deploy MultiGov locally with step-by-step instructions for configuring, compiling, and deploying smart contracts across chains.
56+
Set up and deploy MultiGov on EVM chains with step-by-step instructions for configuring, compiling, and deploying smart contracts across chains.
5757

58-
[:custom-arrow: Discover how to deploy MultiGov](/docs/build/multigov/deployment/)
58+
[:custom-arrow: Discover how to deploy MultiGov](/docs/build/multigov/deploy-to-evm/)
59+
60+
- :octicons-rocket-16:{ .lg .middle } **Deploy to Solana**
61+
62+
---
63+
64+
Set up and deploy the MultiGov Staking Program on Solana with step-by-step instructions for configuring, funding, deploying, and initializing the program.
65+
66+
[:custom-arrow: Discover how to deploy MultiGov on Solana](/docs/build/multigov/deploy-to-solana/)
5967

6068
- :octicons-code-square-16:{ .lg .middle } **Tutorials**
6169

learn/infrastructure/relayer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Users themselves carry out the three steps of the cross-chain process:
6464

6565
Custom relayers are purpose-built components within the Wormhole protocol, designed to relay messages for specific applications. They are capable of performing off-chain computations and can be customized to suit a variety of use cases.
6666

67-
The main method of setting up a custom relayer is by listening directly to the Guardian Network via a [Spy](/learn/infrastructure/spy/).
67+
The main method of setting up a custom relayer is by listening directly to the Guardian Network via a [Spy](/docs/learn/infrastructure/spy/).
6868

6969
**Key Features**
7070

llms.txt

+21-13
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ function sendPayloadToEvm(
622622
```
623623

624624
!!! tip
625-
To reduce transaction confirmation time, you can lower the consistency level using the [`sendToEvm`](https://github.com/wormhole-foundation/wormhole/blob/{{repositories.wormhole.version}}/sdk/js/src/relayer/relayer/send.ts#L33){target=\_blank} method.
625+
To reduce transaction confirmation time, you can lower the consistency level using the [`sendToEvm`](https://github.com/wormhole-foundation/wormhole/blob/v{{repositories.wormhole.version}}/sdk/js/src/relayer/relayer/send.ts#L33){target=\_blank} method.
626626

627627
The `sendPayloadToEvm` method is marked `payable` to receive fee payment for the transaction. The value to attach to the invocation is determined by calling the `quoteEVMDeliveryPrice`, which provides an estimate of the cost of gas on the target chain.
628628

@@ -665,7 +665,7 @@ wormholeRelayer.sendPayloadToEvm{value: cost}(
665665

666666
### Receive a Message
667667

668-
To receive a message using a Wormhole relayer, the target contract must implement the [`IWormholeReceiver`](https://github.com/wormhole-foundation/wormhole-relayer-solidity-sdk/blob/main/src/interfaces/IWormholeReceiver.sol){target=\_blank} interface, as shown in the [previous section](#interacting-with-the-wormhole-relayer).
668+
To receive a message using a Wormhole relayer, the target contract must implement the [`IWormholeReceiver`](https://github.com/wormhole-foundation/wormhole-relayer-solidity-sdk/blob/main/src/interfaces/IWormholeReceiver.sol){target=\_blank} interface, as shown in the [previous section](#interact-with-the-wormhole-relayer).
669669

670670
```solidity
671671
function receiveWormholeMessages(
@@ -895,7 +895,7 @@ For developers looking to set up a local MultiGov environment:
895895
cp .env.example .env
896896
```
897897

898-
Edit `.env` with your specific [configuration](/docs/build/multigov/deployment/#configuration){target=\_blank}
898+
Edit `.env` with your specific [configuration](#configuration){target=\_blank}
899899

900900
3. Compile contracts:
901901
```bash
@@ -1343,7 +1343,7 @@ MultiGov is designed to be flexible but stable. Due to the system's complexity a
13431343
## Key Considerations for Upgrades
13441344

13451345
- **`HubGovernor`**:
1346-
- Not upgradeable. A new deployment requires redeploying several components of the MultiGov system. Refer to the [Process for Major System Upgrade](/docs/build/multigov/upgrade/#process-for-major-system-upgrade) section for more details
1346+
- Not upgradeable. A new deployment requires redeploying several components of the MultiGov system. Refer to the [Process for Major System Upgrade](#process-for-major-system-upgrade) section for more details
13471347

13481348
- **`HubVotePool`**:
13491349
- Can be replaced by setting a new `HubVotePool` on the `HubGovernor`
@@ -5136,7 +5136,7 @@ VAAs are the backbone of Wormhole’s cross-chain communication. Each VAA is a s
51365136
The Wormhole SDK organizes the VAA structure into three key components:
51375137

51385138
- [**Header**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L37-L41){target=\_blank} - contains metadata such as the Guardian set index and an array of Guardian signatures
5139-
- [**Envelope**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L44-L51){target=\_blank} - includes chain-specific details such as the emitter chain, address, sequence, and [consistency (finality) level](/build/reference/consistency-levels/){target=\_blank}
5139+
- [**Envelope**](https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/definitions/src/vaa/vaa.ts#L44-L51){target=\_blank} - includes chain-specific details such as the emitter chain, address, sequence, and [consistency (finality) level](/docs/build/reference/consistency-levels/){target=\_blank}
51405140
- **Payload** - provides application-specific data, such as the actual message or operation being performed
51415141

51425142
**Header layout:**
@@ -13115,9 +13115,9 @@ description: Frequently asked questions about Wormhole Native Token Transfers, i
1311513115

1311613116
## Do you have an example of how cross-chain lending can be implemented using Wormhole?
1311713117

13118-
Yes, we have an example of cross-chain lending that leverages [Wormhole’s Token Bridge](/learn/transfers/token-nft-bridge/){target=\_blank}. In this example, collateral deposits (such as ETH on Ethereum) are bridged to a hub chain. Once the collateral is deposited, the borrowed assets, like wrapped BNB, are bridged to Binance Smart Chain. You can explore the full implementation in this [cross-chain lending example repository](https://github.com/wormhole-foundation/example-wormhole-lending){target=_blank}.
13118+
Yes, we have an example of cross-chain lending that leverages [Wormhole’s Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank}. In this example, collateral deposits (such as ETH on Ethereum) are bridged to a hub chain. Once the collateral is deposited, the borrowed assets, like wrapped BNB, are bridged to Binance Smart Chain. You can explore the full implementation in the [Wormhole Lending Examples repository](https://github.com/wormhole-foundation/example-wormhole-lending){target=_blank} on GitHub.
1311913119

13120-
Alternatively, you can also implement cross-chain lending using [Wormhole’s core messaging](/learn/transfers/native-token-transfers/){target=\_blank} instead of the Token Bridge, which avoids the limitations imposed by governor limits. ETH would be custodied on Ethereum, and BNB on the Binance spoke during this setup. When a user deposits ETH on Ethereum, a core bridge message is sent to the hub for accounting purposes. The hub then emits a message that can be redeemed on Binance to release the BNB. This approach allows for more direct asset control across chains while reducing reliance on Token Bridge limits.
13120+
Alternatively, you can also implement cross-chain lending using [Wormhole’s core messaging](/docs/learn/transfers/native-token-transfers/){target=\_blank} instead of the Token Bridge, which avoids the limitations imposed by governor limits. ETH would be custodied on Ethereum, and BNB on the Binance spoke during this setup. When a user deposits ETH on Ethereum, a core bridge message is sent to the hub for accounting purposes. The hub then emits a message that can be redeemed on Binance to release the BNB. This approach allows for more direct asset control across chains while reducing reliance on Token Bridge limits.
1312113121

1312213122
## What causes the "No protocols registered for Evm" error in Wormhole SDK?
1312313123

@@ -14862,7 +14862,7 @@ A Spy is a daemon that eavesdrops on the messages passed between Guardians, typi
1486214862

1486314863
## VAA
1486414864

14865-
[Verifiable Action Approvals](/docs/learn/infrastructure/vaas/){target=\_blank} (VAAs) are the base data structure in the Wormhole ecosystem. They contain the messages emitted by [xDapps](#xdapp) along with information such as what contract emitted the message.
14865+
[Verifiable Action Approvals](/docs/learn/infrastructure/vaas/){target=\_blank} (VAAs) are the base data structure in the Wormhole ecosystem. They contain emitted messages along with information such as what contract emitted the message.
1486614866

1486714867
## Validator
1486814868

@@ -15083,13 +15083,21 @@ Discover everything you need to know about MultiGov, Wormhole's cross-chain gove
1508315083

1508415084
[:custom-arrow: Start the integration process now](/docs/build/multigov/)
1508515085

15086-
- :octicons-rocket-16:{ .lg .middle } **Deployment**
15086+
- :octicons-rocket-16:{ .lg .middle } **Deploy to EVM Chains**
1508715087

1508815088
---
1508915089

15090-
Set up and deploy MultiGov locally with step-by-step instructions for configuring, compiling, and deploying smart contracts across chains.
15090+
Set up and deploy MultiGov on EVM chains with step-by-step instructions for configuring, compiling, and deploying smart contracts across chains.
1509115091

15092-
[:custom-arrow: Discover how to deploy MultiGov](/docs/build/multigov/deployment/)
15092+
[:custom-arrow: Discover how to deploy MultiGov](/docs/build/multigov/deploy-to-evm/)
15093+
15094+
- :octicons-rocket-16:{ .lg .middle } **Deploy to Solana**
15095+
15096+
---
15097+
15098+
Set up and deploy the MultiGov Staking Program on Solana with step-by-step instructions for configuring, funding, deploying, and initializing the program.
15099+
15100+
[:custom-arrow: Discover how to deploy MultiGov on Solana](/docs/build/multigov/deploy-to-solana/)
1509315101

1509415102
- :octicons-code-square-16:{ .lg .middle } **Tutorials**
1509515103

@@ -15602,7 +15610,7 @@ Users themselves carry out the three steps of the cross-chain process:
1560215610

1560315611
Custom relayers are purpose-built components within the Wormhole protocol, designed to relay messages for specific applications. They are capable of performing off-chain computations and can be customized to suit a variety of use cases.
1560415612

15605-
The main method of setting up a custom relayer is by listening directly to the Guardian Network via a [Spy](/learn/infrastructure/spy/).
15613+
The main method of setting up a custom relayer is by listening directly to the Guardian Network via a [Spy](/docs/learn/infrastructure/spy/).
1560615614

1560715615
**Key Features**
1560815616

@@ -21252,7 +21260,7 @@ description: Learn how to perform USDC cross-chain transfers using Wormhole SDK
2125221260

2125321261
## Introduction
2125421262

21255-
In this guide, we will show you how to bridge native USDC across different blockchain networks using [Circle's Cross-Chain Transfer Protocol](/learn/transfers/cctp/){target=\_blank} (CCTP) and [Wormhole’s TypeScript SDK](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main){target=\_blank}.
21263+
In this guide, we will show you how to bridge native USDC across different blockchain networks using [Circle's Cross-Chain Transfer Protocol](/docs/learn/transfers/cctp/){target=\_blank} (CCTP) and [Wormhole’s TypeScript SDK](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main){target=\_blank}.
2125621264

2125721265
Traditionally, cross-chain transfers using CCTP involve multiple manual steps, such as initiating the transfer on the source chain, relaying messages between chains, and covering gas fees on both the source and destination chains. Without the TypeScript SDK, developers must handle these operations independently, adding complexity and increasing the chance for errors, mainly when dealing with gas payments on the destination chain and native gas token management.
2125821266

tutorials/by-product/wormhole-sdk/usdc-via-cctp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: Learn how to perform USDC cross-chain transfers using Wormhole SDK
99

1010
## Introduction
1111

12-
In this guide, we will show you how to bridge native USDC across different blockchain networks using [Circle's Cross-Chain Transfer Protocol](/learn/transfers/cctp/){target=\_blank} (CCTP) and [Wormhole’s TypeScript SDK](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main){target=\_blank}.
12+
In this guide, we will show you how to bridge native USDC across different blockchain networks using [Circle's Cross-Chain Transfer Protocol](/docs/learn/transfers/cctp/){target=\_blank} (CCTP) and [Wormhole’s TypeScript SDK](https://github.com/wormhole-foundation/wormhole-sdk-ts/tree/main){target=\_blank}.
1313

1414
Traditionally, cross-chain transfers using CCTP involve multiple manual steps, such as initiating the transfer on the source chain, relaying messages between chains, and covering gas fees on both the source and destination chains. Without the TypeScript SDK, developers must handle these operations independently, adding complexity and increasing the chance for errors, mainly when dealing with gas payments on the destination chain and native gas token management.
1515

0 commit comments

Comments
 (0)