This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Add package imports and setup here | |
// | |
// CELO Address: 0x557A2ea7aCa59Edaaff62cC46fd65b1650c8de85 | |
// 1. Import ContractKit | |
const Web3 = require("web3"); | |
const ContractKit = require("@celo/contractkit"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Add package imports and setup here | |
// | |
// CELO Address: 0x557A2ea7aCa59Edaaff62cC46fd65b1650c8de85 | |
// 1. Import ContractKit | |
const Web3 = require("web3"); | |
const ContractKit = require("@celo/contractkit"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.4.22 <0.8.0; | |
contract HelloWorld { | |
string name = "Celo"; | |
function getName() public view returns (string memory) { | |
return name; | |
} |