jayden-lee / klaytn-example

:evergreen_tree: Klaytn Blockchain AdditionGame Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Klaytn DApp Example

0. Environment Setup

  • Node.js 설치
    • npm install
  • Install Truffle
    • sudo npm install -g truffle@4.1.15

1. Deploy Contract

AdditionGame Contract를 Klaytn에 배포하기 전에 반드시 truffle.js 파일에 자신의 PRIVATE_KEY 값을 설정한다.

npm run deploy

2. Run

npm run dev

3. Account

Klaytn TestNet에서 계정을 생성한다. 계정을 생성하고 난 뒤, Private Key, Keystore.json 정보는 로컬 파일에 저장 또는 보관 해야한다.

참고자료

About

:evergreen_tree: Klaytn Blockchain AdditionGame Example


Languages

Language:JavaScript 69.2%Language:HTML 30.8%