- 솔리디티 문법 2 Solidity v0.8.14 기준 문법 Solidity 컨트랙트 상속 // SPDX-License-Identifier:GPL-30 // Constructor가 없는 컨트랙트 pragma solidity >= 0.7.0 < 0.9.0; contract Father{ string public familyName = "Kim"; string public givenName = "Jung"; uint256 public money = 100; function getFamilyName() view public returns(string memory){ return familyName; } function getGivenName() view public returns(string memory){ return give.. 더보기
- 솔리디티 문법 Solidity v0.8.14 기준 문법 Solidity is a statically typed language, which means that the type of each variable (state and local) needs to be specified. Solidity provides several elementary types which can be combined to form complex types. The concept of "undefined" or "null" values does not exist in Solidity but newly declared variables always have a default value dependent on its type. Solidity Va.. 더보기
- 솔리디티 Contract 구조 solidity v0.8.14 기준 문법 State Variables State variables are variables whose values are permanently stored in contract storage. // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.4.0 =0.7.1 =0.4.22 =0.4.21 uint) balances; function transfer(address to, uint amount) public { uint balance = balances[msg.sender]; if (balance < amount) revert NotEnoughFunds(amount, balance); balances[msg.sender] -.. 더보기
- 이더리움 개발 문서 The Ethereum Virtual Machine (EVM) is the runtime environment for smart contracts in Ethereum. All smart contracts and state changes on the Ethereum blockchain are executed by transactions. The EVM handles all of the transaction processing on the Ethereum network. Smart contracts are the executable programs that run on the Ethereum blockchain. Smart contracts are written using specific programmi.. 더보기
- 쿠버네티스 헬름 헬름(Helm)은 쿠버네티스의 패키지 관리자다. 헬름 설치 가이드는 아래에서 확인할 수 있다. https://helm.sh/ko/docs/intro/install/ 헬름 설치하기 헬름 설치하고 작동하는 방법 배우기. helm.sh 헬름에는 이미 많은 차트가 제공되고 있다. 차트를 다운받아 적용하면 애플리케이션을 손쉽게 배포할 수 있다. 기본적으로 참조하는 저장소가 등록되어 있지 않으면 저장소를 추가하려면 helm repo add 명령어를 사용한다. 아티팩트 허브는 여러 헬름 저장소를 통합 검색할 수 있는 서비스다. 헬름 커뮤니티가 관리하는 저장소는 물론 다양한 OSS가 제공하는 헬름 저장소도 등록되어 있다. 헬름 저장소에서 검색했던 것처럼 아티팩트 허브에서도 차트를 검색할 수 있다. # Stable 저장.. 더보기