Cara Deploy Jaringan Base Mainnet Fee Murah Meriah

Diposting pada

1. Ke remix.ethereum.org
2. Create new file
3. Isi nama terserah .sol contoh base.sol
4. Paste di file tadi
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.8.2 <0.9.0;

contract testBase {

uint256 number;

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

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

5.Click Solidity Compiler
– Compile file tadi
– Click Logo ETH ( Deploy )
– Click Environment
– Select ” Injected Provider – Metamask ”
– Deploy & Accept Contract Via Metamask

Tutor fee murmer

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *