Inkonchain - The Break
Testnet
Inkonchain - The Break Testnet
🎁 Potensi Hadiah
Ikuti langkah-langkah berikut untuk berinteraksi di Testnet Inkonchain dan berpotensi mendapatkan reward!
Langkah 1: Klaim Faucet
Kunjungi Alchemy Faucet untuk mendapatkan ETH di Sepolia.
Bridge Sepolia ETH ke Ink Sepolia melalui Ink Bridge.
Langkah 2: Deploy Token di Ink
Buat Token ERC20 dengan bantuan OpenZeppelin Wizard:
Pilih ERC20 - Name & Symbol.
Klik "Open in Remix".
Deploy Token Menggunakan Remix:
Masuk ke Remix.
Pilih Solidity Compiler, centang Enable Optimization, dan klik Compile.
Setelah berhasil kompilasi (tanda centang hijau), klik Deploy | Injected Provider Metamask.
Konfirmasi transaksi di Metamask.
Setelah deploy berhasil, Anda akan melihat kontrak yang telah dideploy.
Langkah 3: Tambahkan Jaringan Ink Sepolia ke Wallet
Ikuti instruksi di sini untuk menambahkan jaringan Ink Sepolia.
Langkah 4: Deploy Kontrak Smart di Ink Sepolia
Buka Remix dan buat file baru bernama
InkContract.sol
.Tempelkan kode berikut:
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract InkContract { string public greeting = "Hello, Ink!"; function setGreeting(string memory _greeting) public { greeting = _greeting; } }
Compile file
InkContract.sol
dengan Enable Optimization diaktifkan.Deploy kontrak dan konfirmasi transaksi di wallet Anda.
Langkah 5: Mengirim Pesan di Kontrak
Buka Deployed Contracts di Remix dan temukan kontrak yang telah dideploy.
Ketik pesan di kolom input setGreeting dan klik tombolnya.
Konfirmasi transaksi di wallet Anda.
Langkah 6: Verifikasi Kontrak
Kunjungi Ink Sepolia Explorer dan cari alamat kontrak yang telah Anda buat.
Klik Verify & Publish.
Isi detail verifikasi kontrak:
Pilih Solidity (Single file).
Pilih versi compiler yang digunakan di Remix.
Aktifkan optimasi dengan 200 runs.
Tempelkan kode kontrak Anda.
Klik Verify & Publish untuk menyelesaikan proses verifikasi.
Sumber: Inkonchain on X (Twitter)
English Version
Inkonchain - The Break Testnet
🎁 Reward Potential
Follow these steps to interact with the Inkonchain Testnet and potentially earn rewards!
Step 1: Claim Faucet
Visit Alchemy Faucet to get Sepolia ETH.
Bridge Sepolia ETH to Ink Sepolia through the Ink Bridge.
Step 2: Deploy a Token on Ink
Create an ERC20 Token using OpenZeppelin Wizard:
Select ERC20 - Name & Symbol.
Click "Open in Remix".
Deploy Token Using Remix:
Go to Remix.
Choose Solidity Compiler, enable Optimization, and click Compile.
After successful compilation (green checkmark), click Deploy | Injected Provider Metamask.
Confirm the transaction in Metamask.
Once deployed, you’ll see your deployed contract.
Step 3: Add Ink Sepolia Network to Wallet
Follow the instructions here to add the Ink Sepolia network.
Step 4: Deploy Smart Contract on Ink Sepolia
Open Remix and create a new file named
InkContract.sol
.Paste the following code:
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract InkContract { string public greeting = "Hello, Ink!"; function setGreeting(string memory _greeting) public { greeting = _greeting; } }
Compile the
InkContract.sol
file with Enable Optimization checked.Deploy the contract and confirm the transaction in your wallet.
Step 5: Send a Greeting Message on the Contract
Go to Deployed Contracts in Remix and locate your deployed contract.
Type a message in the setGreeting input field and click the button.
Confirm the transaction in your wallet.
Step 6: Verify the Contract
Visit Ink Sepolia Explorer and search for your contract address.
Click Verify & Publish.
Fill in the contract verification details:
Select Solidity (Single file).
Choose the same compiler version used in Remix.
Enable optimization with 200 runs.
Paste your contract code.
Click Verify & Publish to complete verification.
Source: Inkonchain on X (Twitter)
Last updated