# Deploying HelloWormhole 

By [Vitamine](https://paragraph.com/@vitamine777) · 2023-11-29

---

**Wormhole** is a crosschain protocol that supports more than 30 blockchains for cross-network messaging.

Today we will deploy a simple smart contract of the **Wormhole** project in two test networks: the `Avax testnet` and the `Celo testnet`. And at the end we will send messages between them

1\. Preparing
-------------

All actions will be performed in the **Visual Studio Code** program. If you don't have it, you can install it by clicking here:

[https://code.visualstudio.com/download](https://code.visualstudio.com/download)

Create a **Wormhole** folder and open it in VS Code. Open a new terminal:

![](https://storage.googleapis.com/papyrus_images/79097ed77b8efe6d13c5719601c32efc4a8633f9291e459b32fa486eb36bcf01.png)

Install the necessary components:

*   Node 16.14.1 or later, npm 8.5.0 or later: [https://docs.npmjs.com/downloading-and-installing-node-js-and-npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
    
*   forge 0.2.0 or later: [https://book.getfoundry.sh/getting-started/installation](https://book.getfoundry.sh/getting-started/installation)
    

The next step is to request test tokens:

*   For `Avax testnet` - [**faucet**](https://core.app/tools/testnet-faucet/?token=c&subnet=c)
    
*   For `Celo testnet` - [**faucet**](https://faucet.celo.org/alfajores)
    

2\. Deploying the smart contract
--------------------------------

Start typing commands one by one in the VS Code program terminal:

    git clone https://github.com/wormhole-foundation/hello-wormhole.git
    cd hello-wormhole
    npm run build
    forge test
    

![This is the result after the last command](https://storage.googleapis.com/papyrus_images/a0a4838db0ece77d35064c19ade1115b064fa59d583ff389273b23c16ab5b3c3.png)

This is the result after the last command

Next command:

    EVM_PRIVATE_KEY=your_wallet_private_key npm run deploy
    

![If you've done everything right, your contract will deploy on two networks](https://storage.googleapis.com/papyrus_images/ea0f118600de97c9905e2869f9ffd04ae28ab354726bab9f26a8e2037b132eb6.png)

If you've done everything right, your contract will deploy on two networks

Let's send messages

    EVM_PRIVATE_KEY=your_wallet_private_key npm run test
    

![This is the message you will get on a successful test](https://storage.googleapis.com/papyrus_images/2b27b04d89d00a8b99ddd6c85eb030b5e16b0093ac84050a19c86201c04470e8.png)

This is the message you will get on a successful test

Congratulations! You have successfully deployed a smart contract and successfully sent messages!

Wormhole socials
----------------

[Discord](https://discord.com/invite/wormholecrypto)     [X (Twitter)](https://twitter.com/wormholecrypto)     [Website](https://wormhole.com/)

---

*Originally published on [Vitamine](https://paragraph.com/@vitamine777/deploying-hellowormhole)*
