Before you deploy
- A wallet with Whitechain Sepolia added. See Connect to Whitechain Sepolia.
- Test WBT for gas. Claim it from the faucet.
- The Remix IDE.
1. Create the contract
In Remix, createcontracts/1_Storage.sol and paste this contract.
2. Compile the contract
- Open the Solidity Compiler tab.
- Set the compiler to a version that matches the pragma. For this contract, use
0.8.30. - Click Compile 1_Storage.sol.
3. Connect your wallet
- Open the Deploy & Run Transactions tab.
- Under Environment, select Browser Extension, then your wallet.
- Approve the connection in the wallet.
- Confirm the wallet is on Whitechain Sepolia and the account shows a WBT balance.
4. Deploy the contract
- Confirm the Deploy panel shows Whitechain Sepolia (
1874). - Confirm the
Storagecontract shows Compiled. - Turn on Verify Contract on Explorers to verify during deployment. This is optional. You can verify later with steps 5 and 6.
- Leave Value at
0and Gas limit on auto. - Click Deploy and confirm the transaction in your wallet.
5. Configure verification
If you verify manually, point Remix at the Whitechain explorer first.- Open the Contract Verification plugin.
- Open Settings.
- Under Blockscout - Whitechain Sepolia, set Instance URL to
https://explorer.testnet.whitechain.io. - Click Save.
6. Verify the contract
- Open the Contract Verification tab.
- Set Chain to Whitechain Sepolia (
1874). - Paste the deployed contract address.
- Set Contract Name to
Storage - contracts/1_Storage.sol. - Select Blockscout.
- Click Verify.

