gdsc-ipsacademy / gdsc-ipsacademy/Basic-Blockchain-projects
Deployment of Hello World Contract
- Dominant language
- Solidity
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The code I provided is a Solidity smart contract, and it doesn't produce any output by itself. Instead, it defines a contract called Hello World with a state variable greeting set to "Hello, World!" in the constructor and a function getGreeting() to retrieve the greeting message.
To interact with this smart contract and see its output, you would need to deploy it on an Ethereum-compatible blockchain using a development environment like Remix or Truffle. Once deployed, you can call the getGreeting() function to retrieve the greeting message "Hello, World!" from the contract. The output would then be the returned string value when you call that function, which is "Hello, World!" in this case.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.