Skip to main content
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

1. Create the contract

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

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. A verified contract shows its source code and a verified marker. You can then call, retrieve, and store from the explorer or from Remix.