Enter your MetaMask wallet address and request test CLT.
Wait for the tokens to be sent to your wallet.
Step 3: Open Remix and Load the Contract
Go to Remix IDE.
Click Create New File and name it Token.sol.
Copy and paste the following Solidity code:
Replace "Name Coin" with your token name.
Replace "TICKER" with your token symbol.
Step 4: Compile the Smart Contract
In Remix, go to the Solidity Compiler tab.
Select the Solidity Version 0.8.16.
Click Compile Token.sol.
Ensure there are no errors before proceeding.
Step 5: Deploy on Celestium Testnet
Go to the Deploy & Run Transactions tab.
In the Environment dropdown, select Injected Provider - MetaMask.
Make sure your MetaMask is connected to Celestium Testnet.
Click Deploy and confirm the transaction in MetaMask.
Step 6: Verify Deployment
Copy the contract address from Remix.
Visit Celestium Testnet Explorer.
Paste the contract address in the search bar to view details.
Step 7: Interact with Your Token
Add your token to MetaMask:
Open MetaMask and click Import Tokens.
Enter the contract address.
Click Add Token.
Test token transfers:
Use Remix to call transfer() to send tokens.
Check the balance using balanceOf().
Conclusion
You have successfully deployed an ERC-20 token on the Celestium Testnet using Remix. This token can now be used for further development, testing, or integration with dApps.
For additional support, join the Celestium Community: