Skip to content

Commit

Permalink
SOLIDITY: hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonjoonpark committed Mar 29, 2024
1 parent 594d49b commit 6494680
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// IntelliSense를 사용하여 가능한 특성에 대해 알아보세요.
// 기존 특성에 대한 설명을 보려면 가리킵니다.
// 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요.
"version": "0.2.0",
"configurations": [
{
"type": "solidity",
"request": "launch",
"name": "Debug Solidity (via contract entry point)"
},
{
"type": "node",
"request": "launch",
"name": "프로그램 시작",
"skipFiles": [
"<node_internals>/**"
],
"program": "${file}"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"solidity.compileUsingRemoteVersion": "v0.8.25+commit.b61c2a91"
}
Empty file removed Solidity/.gitkeep
Empty file.
12 changes: 12 additions & 0 deletions Solidity/main.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* print Hello, World with solidity
*/

// SPDX-License-Identifier: MIT
pragma solidity >=0.4.17 <0.6.0;

contract HelloWorld {
function hello() public pure returns (string memory) {
return "Hello, World!";
}
}

0 comments on commit 6494680

Please sign in to comment.