Nodes/icp/localhost

icp

Internet Computer 호스트 설치 가이드

2분 읽기 · localhost

list목차(8)

Internet Computer 호스트 설치 가이드

개발자 로컬 네트워크 (dfx)

애플리케이션 개발·테스트 목적의 로컬 IC 실행 방법입니다. Node Provider로서 메인넷에 참여하려면 DFINITY 공식 노드 공급자 가이드를 별도로 참고하세요.

요구사항

항목 권장
OS Ubuntu 22.04, macOS 12+
CPU 4+ vCPU
RAM 8 GB+
Disk 50 GB SSD

dfx 설치

sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
dfx --version

로컬 복제본 실행

# 클린 상태로 시작
dfx start --background --clean

# 실행 확인
dfx ping http://localhost:4943

종료:

dfx stop

샘플 프로젝트

dfx new hello
cd hello
dfx deploy
dfx canister call hello_backend greet '("World")'

메인넷 상호작용

# identity 생성
dfx identity new mainnet-identity
dfx identity use mainnet-identity

# 메인넷에 canister 배포 (ICP cycle 필요)
dfx deploy --network ic

Node Provider 운영 개요 (참고)

메인넷 replica는 DFINITY가 공급하는 IC-OS를 전용 하드웨어에 설치하고, NNS 거버넌스 승인 후 subnet에 할당됩니다.

  • IC-OS 이미지: 공식 제공 (커스터마이즈 불가)
  • 보안: AMD SEV-SNP 기반 attestation
  • 등록 절차: NNS proposal로 Node Operator 등록 → 하드웨어 인증 → Subnet 참여

자세한 절차: Node Provider Docs.

참고

icp 다른 챕터