From c90495d2c61062454529574c5d36d3682b708cec Mon Sep 17 00:00:00 2001 From: Andreas <41449730+nonergodic@users.noreply.github.com> Date: Wed, 22 Feb 2023 14:03:06 -0800 Subject: [PATCH] update outdated github links from dev.v2 to main (#33) * update outdated github links from dev.v2 to main * update outdated github links from dev.v2 to main --- projects/wormhole-local-validator/guardiand.bash | 2 +- src/development/messages/sending/evm.md | 2 +- src/development/tilt/linux.md | 2 +- src/development/tilt/mac.md | 2 +- src/reference/usefulLinks.md | 2 +- src/technical/algorand/overview.md | 6 +++--- src/technical/cosmos/overview.md | 6 +++--- src/technical/env/tilt.md | 6 +++--- src/technical/env/tooling.md | 8 ++++---- src/technical/env/troubleshooting.md | 6 +++--- src/technical/evm/coreLayer.md | 2 +- src/technical/evm/nftLayer.md | 2 +- src/technical/evm/overview.md | 2 +- src/technical/evm/tokenLayer.md | 2 +- src/technical/near/overview.md | 6 +++--- src/technical/relayer/specializedRelayers.md | 2 +- src/technical/solana/overview.md | 6 +++--- src/technical/typescript/overview.md | 2 +- src/wormhole/6_relayers.md | 2 +- src/wormhole/security.md | 2 +- 20 files changed, 35 insertions(+), 35 deletions(-) diff --git a/projects/wormhole-local-validator/guardiand.bash b/projects/wormhole-local-validator/guardiand.bash index 0b8845e..ccae949 100644 --- a/projects/wormhole-local-validator/guardiand.bash +++ b/projects/wormhole-local-validator/guardiand.bash @@ -3,7 +3,7 @@ set -euo pipefail -# dev.v2 for now (until we make a release) +# main for now (until we make a release) DOCKER_IMAGE="ghcr.io/wormhole-foundation/guardiand:latest" DOCKER_FLAGS="-p 7070:7070 -p 7071:7071 -p 6060:6060 -p 8999:8999/udp --add-host=host.docker.internal:host-gateway --platform linux/amd64" diff --git a/src/development/messages/sending/evm.md b/src/development/messages/sending/evm.md index d63b204..a135ef9 100644 --- a/src/development/messages/sending/evm.md +++ b/src/development/messages/sending/evm.md @@ -2,7 +2,7 @@ To send messages from EVM, first we have to download the Core Bridge interfaces. -We need two interfaces, [IWormhole.sol](https://github.com/wormhole-foundation/wormhole/raw/dev.v2/ethereum/contracts/interfaces/IWormhole.sol) and [Structs.sol](https://github.com/wormhole-foundation/wormhole/raw/dev.v2/ethereum/contracts/Structs.sol) +We need two interfaces, [IWormhole.sol](https://github.com/wormhole-foundation/wormhole/raw/main/ethereum/contracts/interfaces/IWormhole.sol) and [Structs.sol](https://github.com/wormhole-foundation/wormhole/raw/main/ethereum/contracts/Structs.sol) In your xdapp-starter, place those files in diff --git a/src/development/tilt/linux.md b/src/development/tilt/linux.md index 7d09102..d49d60e 100644 --- a/src/development/tilt/linux.md +++ b/src/development/tilt/linux.md @@ -54,7 +54,7 @@ curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/instal ### 5. Clone the Wormhole Repo and start Tilt ```sh -git clone --branch dev.v2 https://github.com/wormhole-foundation/wormhole.git +git clone --branch main https://github.com/wormhole-foundation/wormhole.git ``` If you're running Tilt on your machine: diff --git a/src/development/tilt/mac.md b/src/development/tilt/mac.md index a881c83..c63e281 100644 --- a/src/development/tilt/mac.md +++ b/src/development/tilt/mac.md @@ -31,7 +31,7 @@ brew install tilt ## Clone Wormhole Repo and Start Tilt ```sh -git clone --branch dev.v2 https://github.com/wormhole-foundation/wormhole.git +git clone --branch main https://github.com/wormhole-foundation/wormhole.git ``` ```sh diff --git a/src/reference/usefulLinks.md b/src/reference/usefulLinks.md index 559c8a9..bf699ad 100644 --- a/src/reference/usefulLinks.md +++ b/src/reference/usefulLinks.md @@ -2,7 +2,7 @@ Below are a variety of tools and information in the Wormhole ecosystem that can help you develop xDapps. -### [Design Documents](https://github.com/certusone/wormhole/tree/dev.v2/whitepapers) +### [Design Documents](https://github.com/certusone/wormhole/tree/main/whitepapers) Wormhole's component design specifications outline the reasoning behind design decisions with added technical depth. diff --git a/src/technical/algorand/overview.md b/src/technical/algorand/overview.md index 560b6cf..e3119a3 100644 --- a/src/technical/algorand/overview.md +++ b/src/technical/algorand/overview.md @@ -1,9 +1,9 @@ # Algorand -The implementation contracts for Wormhole's official Algorand integration can be found [here](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/algorand). +The implementation contracts for Wormhole's official Algorand integration can be found [here](https://github.com/wormhole-foundation/wormhole/tree/main/algorand). -An overview of the contracts and how they work is outlined [here](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/algorand/README.md). +An overview of the contracts and how they work is outlined [here](https://github.com/wormhole-foundation/wormhole/blob/main/algorand/README.md). The deployed contract addresses can be found on the [Contracts page](../../reference/contracts.md). -The Algorand integration is also fully supported by the [Wormhole Typescript SDK](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/sdk/js). +The Algorand integration is also fully supported by the [Wormhole Typescript SDK](https://github.com/wormhole-foundation/wormhole/tree/main/sdk/js). diff --git a/src/technical/cosmos/overview.md b/src/technical/cosmos/overview.md index 7a51a06..975dba4 100644 --- a/src/technical/cosmos/overview.md +++ b/src/technical/cosmos/overview.md @@ -1,9 +1,9 @@ # Cosmos -The implementation contracts for Wormhole's official Cosmos integration can be found [here](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/cosmwasm). +The implementation contracts for Wormhole's official Cosmos integration can be found [here](https://github.com/wormhole-foundation/wormhole/tree/main/cosmwasm). The deployed contract addresses can be found on the [Contracts page](../../reference/contracts.md). -Cosmos is a rust-based programming environment. You'll likely find the [Wormhole Rust SDK](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/sdk/rust) useful. +Cosmos is a rust-based programming environment. You'll likely find the [Wormhole Rust SDK](https://github.com/wormhole-foundation/wormhole/tree/main/sdk/rust) useful. -The Cosmos integration is also fully supported by the [Wormhole Typescript SDK](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/sdk/js). +The Cosmos integration is also fully supported by the [Wormhole Typescript SDK](https://github.com/wormhole-foundation/wormhole/tree/main/sdk/js). diff --git a/src/technical/env/tilt.md b/src/technical/env/tilt.md index 575a5b2..072631f 100644 --- a/src/technical/env/tilt.md +++ b/src/technical/env/tilt.md @@ -42,14 +42,14 @@ In order to run the Tilt environment, make sure you have [Tilt](https://docs.til Once you've installed these two dependencies, just clone the Wormhole Core Repository and start Tilt. ``` -git clone --branch dev.v2 https://github.com/wormhole-foundation/wormhole.git +git clone --branch main https://github.com/wormhole-foundation/wormhole.git cd wormhole tilt up ``` -Be sure to check out the [**Tiltfile**](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/Tiltfile), which has much of the configuration and arguments for the development environment. It's relatively straightforward to enable and disable components. +Be sure to check out the [**Tiltfile**](https://github.com/wormhole-foundation/wormhole/blob/main/Tiltfile), which has much of the configuration and arguments for the development environment. It's relatively straightforward to enable and disable components. For example, you can disable blockchains by setting them to false at startup @@ -65,7 +65,7 @@ If you've followed the standard setup, all your resources will be bound to vario All the deployed contract addresses can be found under the 'Devnet / Tilt' section of [contracts](../../reference/contracts.md). -Useful information pertaining to funded wallets & private keys can also be found in the [devnet.md](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/docs/devnet.md) file of the docs. +Useful information pertaining to funded wallets & private keys can also be found in the [devnet.md](https://github.com/wormhole-foundation/wormhole/blob/main/docs/devnet.md) file of the docs. Additional helpful resources can be found in the [Tooling](./tooling.md) page. diff --git a/src/technical/env/tooling.md b/src/technical/env/tooling.md index 2269179..ad6fdb0 100644 --- a/src/technical/env/tooling.md +++ b/src/technical/env/tooling.md @@ -2,11 +2,11 @@ Regardless of the development environment that you use, there are a few wormhole-specific tools you should know about. -### [Wormhole Core Repository](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/) +### [Wormhole Core Repository](https://github.com/wormhole-foundation/wormhole/tree/main/) - Most developers find it useful to clone the Wormhole Core repository. This repository provides the Devnet Tilt environment, plenty of useful code examples and tests, along with some utilities which do not have an official release package. -### [Worm CLI tool](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/clients/js) +### [Worm CLI tool](https://github.com/wormhole-foundation/wormhole/tree/main/clients/js) - Swiss-Army Knife Utility CLI tool. Excellent for creating one-off VAAs, parsing VAAs, reading Wormhole contract configurations, and more. @@ -14,7 +14,7 @@ Regardless of the development environment that you use, there are a few wormhole - Small WIP tool which comes as part of the [Wormhole Local Validator](./wlv.md) environment. Used to quickly deploy and redeploy multiple smart contracts. Will eventually become part of a larger deployment management tool. -### [Wormhole SDKs](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/sdk) +### [Wormhole SDKs](https://github.com/wormhole-foundation/wormhole/tree/main/sdk) - Libraries in various languages to help with interacting with Wormhole contracts. @@ -22,7 +22,7 @@ Regardless of the development environment that you use, there are a few wormhole - Typescript SDK destributed on npm. Can greatly aid in writing frontend code for xDapps and utilizing the Wormhole Token Bridge directly. -### [Wormhole Spy SDK](https://github.com/wormhole-foundation/wormhole/tree/dev.v2/spydk/js) +### [Wormhole Spy SDK](https://github.com/wormhole-foundation/wormhole/tree/main/spydk/js) - The Wormhole Spy SDK allows you to listen to all of the activity on the Guardian Network. diff --git a/src/technical/env/troubleshooting.md b/src/technical/env/troubleshooting.md index 20f14fa..bdb3069 100644 --- a/src/technical/env/troubleshooting.md +++ b/src/technical/env/troubleshooting.md @@ -39,7 +39,7 @@ brew install tilt ### 4. Clone Wormhole Repo and Start Tilt ```sh -git clone --branch dev.v2 https://github.com/wormhole-foundation/wormhole.git +git clone --branch main https://github.com/wormhole-foundation/wormhole.git cd wormhole/ tilt up ``` @@ -51,7 +51,7 @@ You'll be able to access the Tilt UI at ## Script Setup -If you're using a Debian distro, you should run the [dev-setup.sh](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/scripts/dev-setup.sh) script. Even if you're not using Debian, this script still contains the main steps for setup. +If you're using a Debian distro, you should run the [dev-setup.sh](https://github.com/wormhole-foundation/wormhole/blob/main/scripts/dev-setup.sh) script. Even if you're not using Debian, this script still contains the main steps for setup. ## Regular Setup @@ -97,7 +97,7 @@ curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/instal ### 5. Clone the Wormhole Repo and start Tilt ```sh -git clone --branch dev.v2 https://github.com/wormhole-foundation/wormhole.git +git clone --branch main https://github.com/wormhole-foundation/wormhole.git ``` If you're running Tilt on your machine: diff --git a/src/technical/evm/coreLayer.md b/src/technical/evm/coreLayer.md index f73b708..9a1a9e1 100644 --- a/src/technical/evm/coreLayer.md +++ b/src/technical/evm/coreLayer.md @@ -6,7 +6,7 @@ Messages in Wormhole take the form of a Verified Action Approval (VAA) and both ## Configuring the Interface -[Here](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/ethereum/contracts/interfaces) is the interface for applications to interact with Wormhole's Core Contract to publish VAAs or verify and parse a received VAAs. +[Here](https://github.com/wormhole-foundation/wormhole/blob/main/ethereum/contracts/interfaces) is the interface for applications to interact with Wormhole's Core Contract to publish VAAs or verify and parse a received VAAs. Instantiating the interface will depend on the contract address of your development ecosystem and blockchain. diff --git a/src/technical/evm/nftLayer.md b/src/technical/evm/nftLayer.md index eccd3d3..7146765 100644 --- a/src/technical/evm/nftLayer.md +++ b/src/technical/evm/nftLayer.md @@ -4,7 +4,7 @@ This section will explain how to properly interact with the NFT Bridge Module in ## Configuring the interface -[Here](https://github.com/wormhole-foundation/wormhole/blob/dev.v2/ethereum/contracts/nft/interfaces/INFTBridge.sol) is the interface for applications to interact with Wormhole's NFT Bridge. +[Here](https://github.com/wormhole-foundation/wormhole/blob/main/ethereum/contracts/nft/interfaces/INFTBridge.sol) is the interface for applications to interact with Wormhole's NFT Bridge.