> ## Documentation Index
> Fetch the complete documentation index at: https://l2docs.whitechain.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy with Remix

> Learn how to deploy and verify smart contracts on Whitechain Sepolia using the Remix Online IDE.

This page shows how to deploy and verify a contract on Whitechain Sepolia from the browser using Remix. It needs no local setup. It is for developers who want to deploy without installing a toolchain, or who are new to the network.

## Before you deploy

* A wallet with Whitechain Sepolia added. See [Connect to Whitechain Sepolia](/learn/get-started/connect-wallet).
* Test WBT for gas. Claim it from the [faucet](/learn/get-started/get-testnet-wbt).
* The [Remix IDE](https://remix.ethereum.org).

## 1. Create the contract

In Remix, create `contracts/1_Storage.sol` and paste this contract.

```solidity theme={null}
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.30;

contract Storage {
    uint256 number;

    function store(uint256 num) public {
        number = num;
    }

    function retrieve() public view returns (uint256) {
        return number;
    }
}
```

## 2. Compile the contract

1. Open the **Solidity Compiler** tab.
2. Set the compiler to a version that matches the pragma. For this contract, use `0.8.30`.
3. Click **Compile 1\_Storage.sol**.

A green check on the tab means the contract is compiled.

## 3. Connect your wallet

1. Open the **Deploy & Run Transactions** tab.
2. Under **Environment**, select **Browser Extension**, then your wallet.
3. Approve the connection in the wallet.
4. Confirm the wallet is on Whitechain Sepolia and the account shows a WBT balance.

## 4. Deploy the contract

1. Confirm the Deploy panel shows Whitechain Sepolia (`1874`).
2. Confirm the `Storage` contract shows **Compiled**.
3. Turn on **Verify Contract on Explorers** to verify during deployment. This is optional. You can verify later with steps 5 and 6.
4. Leave **Value** at `0` and **Gas limit** on auto.
5. Click **Deploy** and confirm the transaction in your wallet.

After the transaction confirms, the contract appears under **Deployed Contracts**. Copy its address.

## 5. Configure verification

If you verify manually, point Remix at the Whitechain explorer first.

1. Open the **Contract Verification** plugin.
2. Open **Settings**.
3. Under **Blockscout - Whitechain Sepolia**, set **Instance URL** to `https://explorer.testnet.whitechain.io`.
4. Click **Save**.

## 6. Verify the contract

1. Open the **Contract Verification** tab.
2. Set **Chain** to Whitechain Sepolia (`1874`).
3. Paste the deployed contract address.
4. Set **Contract Name** to `Storage - contracts/1_Storage.sol`.
5. Select **Blockscout**.
6. Click **Verify**.

## Verify the result

Open the contract address on the [explorer](https://explorer.testnet.whitechain.io). A verified contract shows its source code and a verified marker. You can then call, retrieve, and store from the explorer or from Remix.

## Related

* [Deploy a contract](/learn/get-started/deploy-a-contract)
* [Connect to Whitechain Sepolia](/learn/get-started/connect-wallet)
* [Deploy with Hardhat](/build/deploy/deploy-with-hardhat)
* [Verify a proxy contract](/build/deploy/verify-proxy-contracts)
* [Faucet](/learn/get-started/get-testnet-wbt)
