Skip to content

Commit 06c149c

Browse files
eshabenilariaeIlaria Enachedawnkelly090xlukem
authored
Clean up contract controlled transfers (#298)
* move pages, links, images, and snippets to new IA * Ilariae/settlement ia (#268) * add settlement to learn section * add settlement to buil section * fix links * liquidity layer code snippets * solver snippets * llms --------- Co-authored-by: Ilaria Enache <ilaria@Host-009.homenet.telecomitalia.it> * Dawn/connect index makeover (#263) * adds connect index page to new IA * tweaks admonition usage on /docs/build/transfers/connect/overview/ * moves timeline into snippet, left aligned * feedback per review * llms * edits per feedback * improve intro * edits per feedback * applies review feedback * Apply suggestions from code review Co-authored-by: Erin Shaben <eshaben@icloud.com> --------- Co-authored-by: Erin Shaben <eshaben@icloud.com> * Bring token bridge build into new ia (#279) * adds token bridge build page in the new ai and fixes links * Update build/transfers/token-bridge.md Co-authored-by: Lucas Malizia <131050418+0xlukem@users.noreply.github.com> * Update build/transfers/token-bridge.md Co-authored-by: Lucas Malizia <131050418+0xlukem@users.noreply.github.com> --------- Co-authored-by: Ilaria Enache <ilaria@Host-009.homenet.telecomitalia.it> Co-authored-by: Lucas Malizia <131050418+0xlukem@users.noreply.github.com> * switch from contract controlled transfers to transfers with messages * remove old stuff * llms --------- Co-authored-by: Ilaria <43253244+ilariae@users.noreply.github.com> Co-authored-by: Ilaria Enache <ilaria@Host-009.homenet.telecomitalia.it> Co-authored-by: Dawn Kelly <83190195+dawnkelly09@users.noreply.github.com> Co-authored-by: Lucas Malizia <131050418+0xlukem@users.noreply.github.com> Co-authored-by: Martin Hofmann <martin@papermoon.io>
1 parent c7b1a04 commit 06c149c

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

build/transfers/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ While all of these products handle token transfers, there are additional feature
7676
[:custom-arrow: Discover Use Cases](/docs/build/start-building/use-cases/)
7777

7878

79-
</div>
79+
</div>

build/transfers/token-bridge.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Learn how to integrate Wormhole's Token Bridge for seamless multich
77

88
## Introduction
99

10-
Wormhole's Token Bridge enables seamless cross-chain token transfers using a lock-and-mint mechanism. The bridge locks tokens on the source chain and mints them as wrapped assets on the destination chain. Additionally, the Token Bridge supports [contract-controlled transfers (transfers with messages)](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, where arbitrary byte payloads can be attached to the token transfer, enabling more complex chain interactions.
10+
Wormhole's Token Bridge enables seamless cross-chain token transfers using a lock-and-mint mechanism. The bridge locks tokens on the source chain and mints them as wrapped assets on the destination chain. Additionally, the Token Bridge supports [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, where arbitrary byte payloads can be attached to the token transfer, enabling more complex chain interactions.
1111

1212
This page outlines the core contract methods needed to integrate Token Bridge functionality into your smart contracts. To understand the theoretical workings of the Token Bridge, refer to the [Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank} page in the Learn section.
1313

@@ -24,7 +24,7 @@ The primary functions of the Token Bridge contracts revolve around:
2424

2525
- **Attesting a token** - registering a new token for cross-chain transfers
2626
- **Transferring tokens** - locking and minting tokens across chains
27-
- **Transferring tokens with a payload** - including additional data for contract-controlled transfers
27+
- **Transferring tokens with a payload** - including additional data with transfers
2828

2929
### Attest a token
3030

learn/transfers/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ By leveraging a decentralized solver network, Settlement ensures efficient cross
6868
[:custom-arrow: Discover Use Cases](/docs/build/start-building/use-cases/)
6969

7070

71-
</div>
71+
</div>

learn/transfers/settlement/architecture.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ The protocol provides mechanisms for unlocking the fee once the bridging process
9999
## Where to Go Next
100100

101101
- To learn more about available EVM functions, see the [Build on the Wormhole Liquidity Layer](/docs/build/transfers/settlement/liquidity-layer/){target=\_blank} guide
102-
- To learn how to integrate settlement routes into your application, see the [Integrate Wormhole Settlement Routes Using the SDK](https://github.com/wormhole-foundation/demo-mayanswift){target=\_blank} tutorial
102+
- To learn how to integrate settlement routes into your application, see the [Integrate Wormhole Settlement Routes Using the SDK](https://github.com/wormhole-foundation/demo-mayanswift){target=\_blank} tutorial

learn/transfers/token-bridge.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Transferring tokens across blockchain networks is challenging due to the lack of
99

1010
Wormhole’s Token Bridge addresses these challenges by providing a decentralized protocol for seamless cross-chain token transfers through a lock-and-mint mechanism. Using Wormhole’s message-passing protocol, the Token Bridge allows standards-compliant tokens, like ERC-20 on Ethereum or SPL on Solana, to be transferred between different blockchains while preserving their original attributes.
1111

12-
Offering a more efficient, scalable, and secure alternative to traditional solutions, the Token Bridge ensures that assets retain their properties across multiple blockchain ecosystems. Additionally, it supports flexible features like [Contract Controlled Transfers](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, enabling custom interactions by allowing tokens to carry additional data for smart contract integration on the destination chain.
12+
Offering a more efficient, scalable, and secure alternative to traditional solutions, the Token Bridge ensures that assets retain their properties across multiple blockchain ecosystems. Additionally, it supports flexible features like [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, enabling custom interactions by allowing tokens to carry additional data for smart contract integration on the destination chain.
1313

1414
This page introduces the core concepts and functions of Wormhole’s Token Bridge, explaining how it operates, its key features, and how it enables secure and efficient cross-chain token transfers.
1515

@@ -21,7 +21,7 @@ Before a token can be transferred to a new chain, the token’s metadata must be
2121

2222
While the [Core Contract](/docs/learn/infrastructure/core-contracts/){target=\_blank} has no specific receiver by default, transfers sent through the Token Bridge do have a specific receiver chain and address to ensure the tokens are minted to the expected recipient.
2323

24-
In addition to standard token transfers, the Token Bridge supports [Contract Controlled Transfers](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}. This functionality allows users to attach additional data to token transfers, enabling more complex interactions with smart contracts on the destination chain. For instance, a token transfer can include a payload that triggers specific actions, such as interacting with a decentralized exchange (DEX) or automated market maker (AMM).
24+
In addition to standard token transfers, the Token Bridge supports [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}. This functionality allows users to attach additional data to token transfers, enabling more complex interactions with smart contracts on the destination chain. For instance, a token transfer can include a payload that triggers specific actions, such as interacting with a decentralized exchange (DEX) or automated market maker (AMM).
2525

2626
### Token Transfer Flow
2727

llms.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -13992,7 +13992,7 @@ description: Learn how to integrate Wormhole's Token Bridge for seamless multich
1399213992

1399313993
## Introduction
1399413994

13995-
Wormhole's Token Bridge enables seamless cross-chain token transfers using a lock-and-mint mechanism. The bridge locks tokens on the source chain and mints them as wrapped assets on the destination chain. Additionally, the Token Bridge supports [contract-controlled transfers (transfers with messages)](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, where arbitrary byte payloads can be attached to the token transfer, enabling more complex chain interactions.
13995+
Wormhole's Token Bridge enables seamless cross-chain token transfers using a lock-and-mint mechanism. The bridge locks tokens on the source chain and mints them as wrapped assets on the destination chain. Additionally, the Token Bridge supports [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, where arbitrary byte payloads can be attached to the token transfer, enabling more complex chain interactions.
1399613996

1399713997
This page outlines the core contract methods needed to integrate Token Bridge functionality into your smart contracts. To understand the theoretical workings of the Token Bridge, refer to the [Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank} page in the Learn section.
1399813998

@@ -14009,7 +14009,7 @@ The primary functions of the Token Bridge contracts revolve around:
1400914009

1401014010
- **Attesting a token** - registering a new token for cross-chain transfers
1401114011
- **Transferring tokens** - locking and minting tokens across chains
14012-
- **Transferring tokens with a payload** - including additional data for contract-controlled transfers
14012+
- **Transferring tokens with a payload** - including additional data with transfers
1401314013

1401414014
### Attest a token
1401514015

@@ -16904,7 +16904,7 @@ Transferring tokens across blockchain networks is challenging due to the lack of
1690416904

1690516905
Wormhole’s Token Bridge addresses these challenges by providing a decentralized protocol for seamless cross-chain token transfers through a lock-and-mint mechanism. Using Wormhole’s message-passing protocol, the Token Bridge allows standards-compliant tokens, like ERC-20 on Ethereum or SPL on Solana, to be transferred between different blockchains while preserving their original attributes.
1690616906

16907-
Offering a more efficient, scalable, and secure alternative to traditional solutions, the Token Bridge ensures that assets retain their properties across multiple blockchain ecosystems. Additionally, it supports flexible features like [Contract Controlled Transfers](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, enabling custom interactions by allowing tokens to carry additional data for smart contract integration on the destination chain.
16907+
Offering a more efficient, scalable, and secure alternative to traditional solutions, the Token Bridge ensures that assets retain their properties across multiple blockchain ecosystems. Additionally, it supports flexible features like [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}, enabling custom interactions by allowing tokens to carry additional data for smart contract integration on the destination chain.
1690816908

1690916909
This page introduces the core concepts and functions of Wormhole’s Token Bridge, explaining how it operates, its key features, and how it enables secure and efficient cross-chain token transfers.
1691016910

@@ -16916,7 +16916,7 @@ Before a token can be transferred to a new chain, the token’s metadata must be
1691616916

1691716917
While the [Core Contract](/docs/learn/infrastructure/core-contracts/){target=\_blank} has no specific receiver by default, transfers sent through the Token Bridge do have a specific receiver chain and address to ensure the tokens are minted to the expected recipient.
1691816918

16919-
In addition to standard token transfers, the Token Bridge supports [Contract Controlled Transfers](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}. This functionality allows users to attach additional data to token transfers, enabling more complex interactions with smart contracts on the destination chain. For instance, a token transfer can include a payload that triggers specific actions, such as interacting with a decentralized exchange (DEX) or automated market maker (AMM).
16919+
In addition to standard token transfers, the Token Bridge supports [Token Transfers with Messages](/docs/learn/infrastructure/vaas/#token-transfer-with-message){target=\_blank}. This functionality allows users to attach additional data to token transfers, enabling more complex interactions with smart contracts on the destination chain. For instance, a token transfer can include a payload that triggers specific actions, such as interacting with a decentralized exchange (DEX) or automated market maker (AMM).
1692016920

1692116921
### Token Transfer Flow
1692216922

0 commit comments

Comments
 (0)