Browse DIDLab Docs
Deployment · Remix
Deploy a contract from the browser
Use Remix for the fastest first deployment. Your browser wallet signs the deployment; DIDLab never receives your private key.
Connect your DIDLab wallet
Complete the DIDLab Quickstart first. In MetaMask, verify that the selected network is DIDLab and the chain ID is 252501.
Use a lab account
Create and compile SimpleStorage.sol
In Remix, create SimpleStorage.sol, paste the contract below, then compile it with a Solidity compiler compatible with ^0.8.24.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
contract SimpleStorage {
uint256 private value;
event ValueChanged(uint256 value, address indexed changedBy);
function set(uint256 newValue) external {
value = newValue;
emit ValueChanged(newValue, msg.sender);
}
function get() external view returns (uint256) {
return value;
}
}Expected result
Select the browser wallet environment
Open Deploy & Run Transactions. Select the browser-extension/injected wallet environment, then approve the connection in MetaMask if prompted.
- Wallet network
- DIDLab
- Chain ID
- 252501
- Contract
- SimpleStorage
- Constructor value
- None
Deploy and approve the transaction
Click Deploy. MetaMask will show a contract-creation transaction. Check that the network is DIDLab, review the gas estimate, and approve.
Expected result
Write and read state
Expand the deployed contract. Call set with 42 and approve the wallet transaction. Then call get; it should return 42.
set(42)
Signed transaction · changes state · emits ValueChanged.
get()
Read-only call · should return 42.
Verify the deployment in Blockscout
Copy the contract address from Remix and search for it in the DIDLab explorer. Confirm the creation transaction, block, creator address, bytecode, and your later set(42) transaction.
What you have proven
You compiled Solidity, created a contract-deployment transaction, interacted with state, and independently verified the results on DIDLab. The deeper course version adds debugging, tests, events, security analysis, and automated evidence checkpoints.
Validation profile
Network
DIDLab Blockchain
Chain ID
252501
Client
Hyperledger Besu
Consensus
QBFT
Native asset
TRUST
Platform token
TT (ERC-20)
Solidity examples
0.8.24
Last validated
August 2026
Go deeper in DIDLab Labs
Public documentation explains the workflow and expected result. Authenticated DIDLab Labs adds managed workspaces, deeper exercises, checkpoints, evidence capture, and instructor assessment.
Open DIDLab Labs