WEMIX3.0
WEMIX3.0 (KOR)
WEMIX3.0 (KOR)
  • Introduction
    • Blockchain Basics
      • What is Blockchain?
      • Consensus Algorithm
      • Transactions
      • Gas
      • Account
  • Design
    • Architecture
    • Consensus
    • Governance
    • Minting
    • EIP1559
    • Fee Delegation
    • Eco Fund
    • Roadmap
  • Quick Start
    • Start Node
      • Use Binary
        • Command-line Option
      • Use Public API Server(RPC)
    • Connect Node
    • Account
      • Use MetaMask
    • Testnet Faucet
  • Install & Operation
    • End Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Block Producer Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Download
    • Operation Guide
  • dApp Developer
    • Smart Contract
      • Solidity
      • Precompiled Contracts
      • Sample Contracts
    • JSON-RPC
    • API Reference
      • Account APIs
      • Block APIs
      • Contract APIs
      • Transaction APIs
      • Event logs APIs
      • Tokens APIs
  • Tutorial
    • Wallet 생성하기
    • Test Coin 받기
    • Smart Contract 생성하기
      • Remix에서 개발하기
      • Truffle 사용하기
      • Hardhat 사용하기
    • ERC-20 Token
      • ERC-20 Contract 만들기
      • ERC-20 Token 확인하기
      • ERC-20 Token 보내기
      • ERC-20 Token API 조회하기
      • ERC-20 Token 소각하기
    • ERC-721 Token
      • ERC-721 Contract 만들기
      • ERC-721 Minting하기
      • ERC-721 Token API 조회하기
      • ERC-721 Token 소각하기
    • Fee Delegation 사용하기
  • Manual
    • Explorer
    • Wallet
  • FAQ
Powered by GitBook
On this page
  • 노드 연결
  • 노드 설정
  1. Quick Start

Connect Node

노드 연결

로컬에 설치한 gwemix RPC 웹서버를 통해서 연결하는 방법은 아래와 같습니다.

gwemix attach rpc:http://localhost:8588

로컬에 설치한 gwemix IPC 파일을 통해서 연결하는 방법은 다음과 같습니다.

gwemix attach {data_folder}/gwemix.ipc

바이너리를 다운로드 받아서 {data_folder}에서 압축을 풀면 bin 디렉토리 아래 gwemix.sh라는 쉘스크립트파일을 찾을 수 있습니다. gwemix.sh를 이용하여 IPC 파일을 통해서 노드에 연결하는 방법은 다음과 같습니다.

{data_folder}/bin/gwemix.sh console

노드 설정

gwemix.sh를 사용할 경우 {data_folder}에 .rc라는 파일을 생성하여 노드 실행 옵션을 미리 설정하는 것이 가능합니다.

PORT=8588
DISCOVER=1        # 1 for enable discovery mode, 0 for disable discovery mode
TESTNET=1         # 1 for Testnet or remove this line for Mainnet
SYNC_MODE=full
GWEMIX_OPTS="--rpc.allow-unprotected-txs"

위와 같이 설정하고 gwemix를 실행하면 gwemix 는 아래와 같은 실행줄 옵션을 가지고 실행되게 됩니다.

gwemix --http.port 8588 --wemix-testnet --syncmode full --rpc.allow-unprotected-txs 
PreviousUse Public API Server(RPC)NextAccount

Last updated 10 months ago