빠샤빠샤

빠샤빠샤

  • 분류 전체보기 (22)
    • 블록체인 (16)
      • Solidity (8)
    • 리눅스 (1)
    • C++ (2)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

빠샤빠샤

컨텐츠 검색

태그

스마트컨트랙트 이더리움 solidity ethereum ethereum token ropsten solidity infura 이더리움 토큰발행 이더리움 토큰 solidity ether ethereum ropsten 이더리움 토큰 발행 ether smartcontract etherscan 토큰 Blockchain ropsten testnet solidity remix 블록체인 토큰 발행 dApp solidity token

최근글

댓글

공지사항

아카이브

solidity ether(1)

  • Solidity )remix 스마트 컨트랙트 예약 예제

    Solidity 예제로 호텔 예약을 스마트 컨트랙트(예제)로 구현해보았다. // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.6.0; contract HotelBook { enum Status { Vacant,Occupied } Status currentStatus; address payable public owner; //payable 키워드 계약 계정에 이더를 사용 (입금,송금,송신 등) 할 수 있게 해준다. event Occupy(address _occupant, uint _value); constructor() public { owner = msg.sender; //본인 지갑 currentStatus = Status.Vacant; } modifier..

    2021.07.14
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바