Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh core contracts page #294

Merged
merged 23 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
83b7958
move pages, links, images, and snippets to new IA
eshaben Feb 19, 2025
1658d73
Ilariae/settlement ia (#268)
ilariae Mar 4, 2025
7d99922
Dawn/connect index makeover (#263)
dawnkelly09 Mar 13, 2025
96b7119
Bring token bridge build into new ia (#279)
ilariae Mar 13, 2025
48cfe08
refactors core contracts page for new IA release
dawnkelly09 Mar 14, 2025
6644b78
applies review feedback, updates llms
dawnkelly09 Mar 17, 2025
8da2ab9
Ilariae/settlement faq (#278)
ilariae Mar 18, 2025
2d8893a
adds content: build/core messaging/index (#281)
dawnkelly09 Mar 18, 2025
dae1fe6
merge the latest from main into new-product-ia (#295)
eshaben Mar 18, 2025
8ae0a30
Add build/transfers/index page (#275)
dawnkelly09 Mar 18, 2025
76e3fea
Updates learn infra index page (#282)
dawnkelly09 Mar 18, 2025
2e21892
updates learn transfers index (#283)
dawnkelly09 Mar 18, 2025
49119d7
new content: build index page (#289)
dawnkelly09 Mar 18, 2025
cd80065
Dawn/learn index (#290)
dawnkelly09 Mar 18, 2025
1be8067
Martinh/new product ia (#303)
martin0995 Mar 18, 2025
fa05cb6
typo fix (#308)
ilariae Mar 19, 2025
0986687
temporarily lower needed solana cli version for NTT (#306)
ilariae Mar 19, 2025
8bda922
Martinh/update sdk v1.13.3 new ia (#309)
martin0995 Mar 19, 2025
36505ee
merge conflicts (#311)
eshaben Mar 19, 2025
b3c6f91
Apply suggestions from code review
dawnkelly09 Mar 20, 2025
f5b00ff
clear merge conflicts
dawnkelly09 Mar 20, 2025
70141b4
merge conflicts
dawnkelly09 Mar 20, 2025
84a658c
clear conflicts, update llms
dawnkelly09 Mar 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ If your additions or modifications are limited to content on an existing page, t

## Adding Code and Text Snippets

Snippets are used to manage reusable lines of code or text. They are organized to mirror the structure of the docs site and stored under the root-level `.snippets` directory. For example, to add a code snippet to the page `build/applications/wormhole-sdk.md`, you would place the code snippet in the folder `.snippets/code/build/applications/wormhole-sdk`.
Snippets are used to manage reusable lines of code or text. They are organized to mirror the structure of the docs site and stored under the root-level `.snippets` directory. For example, to add a code snippet to the page `build/toolkit/typescript-sdk.md`, you would place the code snippet in the folder `.snippets/code/build/toolkit/typescript-sdk`.

Text snippets are useful for pieces of copy you find the need to reuse often, such as disclaimers. Code snippets allow you to reuse pieces of code throughout a document while maintaining a single place to update that code when needed.

Expand All @@ -188,7 +188,7 @@ Learn more about the effective use of [snippets](https://facelessuser.github.io/

## Adding Images

Images are stored in the `images` subdirectory. They are organized to mirror the structure of the docs site. For example, to add an image to the page `build/applications/wormhole-sdk.md`, you would place the image in the folder `images/build/applications/wormhole-sdk`.
Images are stored in the `images` subdirectory. They are organized to mirror the structure of the docs site. For example, to add an image to the page `build/toolkit/typescript-sdk.md`, you would place the image in the folder `images/build/toolkit/typescript-sdk`.

All images intended for display on the website should be in `.webp` format. You can look up an image converter online to convert from `.jpeg`, `.png`, or other formats to `.webp`.

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function placeFastMarketOrder(
uint128 amountIn,
uint16 targetChain,
bytes32 redeemer,
bytes calldata redeemerMessage,
uint128 maxFee,
uint32 deadline
) external payable returns (uint64 sequence, uint64 fastSequence);
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function placeMarketOrder(
uint128 amountIn,
uint16 targetChain,
bytes32 redeemer,
bytes calldata redeemerMessage,
) external payable returns (uint64 sequence, uint64 protocolSequence);
77 changes: 77 additions & 0 deletions .snippets/code/build/transfers/settlement/solver-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"environment": "Testnet",
"zmqChannels": {
"fastVaa": "tcp://localhost:6001",
"finalizedVaa": "tcp://localhost:6002"
},
"publisher": {
"log": {
"level": "info"
},
"vaaSpy": {
"host": "localhost:7073",
"enableObservationCleanup": true,
"observationSeenThresholdMs": 1500000,
"observationCleanupIntervalMs": 500,
"observationsToRemovePerInterval": 5,
"delayedThresholdMs": 60000
}
},
"solver": {
"log": {
"level": "info",
"filename": "logs/solver.log"
},
"connection": {
"rpc": "<https://your-devnet-rpc-here/>",
"maxTransactionsPerSecond": 5,
"commitment": "processed",
"addressLookupTable": "YourAddressLookupTab1eHere11111111111111111",
"matchingEngine": "mPydpGUWxzERTNpyvTKdvS7v8kvw5sgwfiP8WQFrXVS",
"mint": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
"knownAtaOwners": [
"Payer11111111111111111111111111111111111111",
"Payer11111111111111111111111111111111111112",
"Payer11111111111111111111111111111111111113"
]
}
},
"routerEndpoints": [
{
"chain": "Sepolia",
"endpoint": "0xE57D917bf955FedE2888AAbD056202a6497F1882",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
},
{
"chain": "Avalanche",
"endpoint": "0x8Cd7D7C980cd72eBD16737dC3fa04469dcFcf07A",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
},
{
"chain": "OptimismSepolia",
"endpoint": "0x6BAa7397c18abe6221b4f6C3Ac91C88a9faE00D8",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
},
{
"chain": "ArbitrumSepolia",
"endpoint": "0xe0418C44F06B0b0D7D1706E01706316DBB0B210E",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
},
{
"chain": "BaseSepolia",
"endpoint": "0x824Ea687CD1CC2f2446235D33Ae764CbCd08e18C",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
},
{
"chain": "Polygon",
"endpoint": "0xa098368AaaDc0FdF3e309cda710D7A5f8BDEeCD9",
"rollbackRisk": 0.0069,
"offerEdge": 0.042
}
]
}
20 changes: 20 additions & 0 deletions .snippets/text/build/transfers/connect/connect-timeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"title": "[Integrate Connect](/docs/build/transfers/connect/overview/#integrate-connect)",
"content": "How-to install via npm package or use hosted CDN.",
"icon": ":fontawesome-solid-1:",
"sub_title": ""
},
{
"title": "[Configure data](/docs/build/transfers/connect/configuration/configure-data/)",
"content": "How-to specify networks, RPCs, supported tokens, and more.",
"icon": ":fontawesome-solid-2:",
"key": "cyan"

},
{
"title": "[Customize styling](/docs/build/transfers/connect/configuration/configure-theme/)",
"content": "How-to style your widget with color schemes, fonts, and layout options.",
"icon": ":fontawesome-solid-3:"
}
]
6 changes: 4 additions & 2 deletions build/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ title: Build
nav:
- index.md
- start-building
- applications
- contract-integrations
- transfers
- core-messaging
- multigov
- queries
- toolkit
- reference
6 changes: 0 additions & 6 deletions build/applications/.pages

This file was deleted.

75 changes: 0 additions & 75 deletions build/applications/connect/index.md

This file was deleted.

46 changes: 0 additions & 46 deletions build/applications/index.md

This file was deleted.

10 changes: 0 additions & 10 deletions build/contract-integrations/.pages

This file was deleted.

4 changes: 2 additions & 2 deletions build/contract-integrations/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Frequently asked questions about integrating contracts with Wormhol

## Can ownership of wrapped tokens be transferred from the Token Bridge?

No, you cannot transfer ownership of wrapped token contracts from the [Token Bridge](/docs/learn/messaging/token-bridge/){target=\_blank} because the Token Bridge deploys and retains ownership of these contracts and tokens.
No, you cannot transfer ownership of wrapped token contracts from the [Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank} because the Token Bridge deploys and retains ownership of these contracts and tokens.

- **On EVM chains** - when you attest a token, the Token Bridge deploys a new ERC-20 contract as a beacon proxy. The upgrade authority for these contracts is the Token Bridge contract itself
- **On Solana** - the Token Bridge deploys a new SPL token, where the upgrade authority is a Program Derived Address (PDA) controlled by the Token Bridge
Expand All @@ -32,7 +32,7 @@ These resources will guide you through building and deploying custom relayers ta

## Is there a way to use NTT tokens with chains that don't currently support NTT?

Yes. NTT tokens can be used with chains that do not support NTT by leveraging the [Token Bridge](/docs/learn/messaging/token-bridge/){target=\_blank}. For example:
Yes. NTT tokens can be used with chains that do not support NTT by leveraging the [Token Bridge](/docs/learn/transfers/token-bridge/){target=\_blank}. For example:

- **Wrapped token scenario** - a token, such as the W token, can be bridged to non-NTT networks using the Token Bridge. When the token is bridged to a chain like Sui, a wrapped version of the token is created (e.g., Wrapped W token)
- **Unwrapping requirement** - tokens bridged using the Token Bridge cannot be directly transferred to NTT-supported chains. To transfer them, they must first be unwrapped on the non-NTT chain and then transferred via the appropriate mechanism
Expand Down
Loading