Based on Feedback from @ganesha the new beta explorer should show symbols of Deployed Contract. I deployed a contract based on the tutorial https://docs.harmony.one/home/developers/learn/tutorials/deploying-hrc20 and I was not able to see token symbol.
Contract Address - 0xC93DB77694ffec353f0D2cba95BC82552763Eb67
Contract Source Code -
// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract GLDToken is ERC20 {
constructor(uint256 initialSupply) ERC20("ArtisGold", "AGLD") {
_mint(msg.sender, initialSupply);
}
}
Review the video below
1 Like
@devonart Currently beta.explorer.harmony.one is only for mainnet. For testnet you still have to use explorer.pops.one.
3 Likes
@ganesha Thank you for your response …
1 Like
@ganesha I have deployed two contracts on Mainnet, could you please explain to me how would I see my. sybmols and name
Here is the contract addresses and code
0xbD483AA90dBB83143de8CB3d5B9A7a4879Ecbb91
// contracts/SimpleToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/**
* @title SimpleToken
* @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.
* Note they can later distribute these tokens as they wish using `transfer` and other
* `ERC20` functions.
*/
contract ArtisToken is ERC20 {
/**
* @dev Constructor that gives msg.sender all of existing tokens.
*/
constructor () ERC20("Artis Test Token 5", "ARTSample5") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}
//0xbD483AA90dBB83143de8CB3d5B9A7a4879Ecbb91
Here is the second contract
0xCb7D9B1FD5f8Cbe74B8A5c5d8F25dD97adB3Fa05
// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract GLDToken is ERC20 {
constructor(uint256 initialSupply) ERC20("ArtisGold", "ARTGLD") {
_mint(msg.sender, initialSupply);
}
}