-
이더리움 테스트 넷의 개념과 테스트 이더 받는 방법블록체인/이더리움 2024. 4. 23. 20:02
테스트 넷
- 메인 네트워크 동작을 시뮬레이션하는 데 사용되는 유사 환경 네트워크.
- 주로 '테스트'와 '개발 목적'으로 사용.
...
블록체인 위에 스마트 컨트랙트가 배포되면 해당 스마트 컨트랙트는 변경이 불가능하다. 그래서 개발자들은 배포 전 테스트 넷에서 스마트 컨트렉트를 배포하고 시험 운용을 하고있다.
이 뿐만 아니라 디앱 테스트도 테스트 넷에서 진행된다.
...
'이더리움 메지션' 사이트에서 '이더리움 테스트넷 라이프사이클'을 확인해 볼 수 있다.
1) 2년마다 지정된 날짜에 새로운 테스트넷을 출시
2) 테스트넷의 수명을 최대 5년으로 제한 (필요한 경우 4년 + 1년 장기 지원)
3) 가능하면 Goerli 장기 지원을 2024년까지 2년 더 연장 (공급 문제 논의 결과에 따라 다름)
(Goerli 테스트넷은 2024년 4월까지 운영된다.)
2024 현재 사용되는 테스트넷
1) Goeli (현재 지원 종료): 스테이킹 인프라(검증&스테이킹)에 대한 테스트넷
2) Sepolia: 어플리케이션 개발에 권장되는 기본 테스트넷
3) Holesky: 2023 9월 28일 런칭 (The Merge 이후 최초 테스트넷)
Holesky 네트워크의 경우 런칭한 지 얼마 안되어 많은 디앱들이 올라가 있지 않다. 추후 Goeli 에 있는 디앱들이 넘어올 예정이다.
지원이 종료되면 메타마스크 지갑에서 사라진다.
...
테스트넷에서 테스트를 하려면 수수료를 위해 이더가 필요하다. 아래 사이트를 통해 '무료 테스트 이더'를 지급 받을 수 있다.
(Faucet(=수도꼭지) 서비스가 테스트넷 이더를 한 방울씩 떨어뜨려 주는 그런 서비스라고 하여 붙여진 이름이다.)
...
테스트 이더 채굴하기
다양한 Faucet 서비스 중에서도 pk910 같은 경우엔 지갑에 실제 이더가 없어도 받을 수 있다. pk910 를 클릭 한 후 메타마스크 지갑 주소를 넣어 채굴을 하자. 최소 0.05 eth 가 있어야 한다.
https://sepolia-faucet.pk910.de/
https://holesky-faucet.pk910.de/
...
정리
1) 테스트 넷이란 메인 네트워크와 유사 환경 네트워크
2) 메인 네트워크에 배포 전 다양한 테스트를 테스트 넷에서 진행한다.
3) 테스트 넷은 라이프 사이클이 있으며 지원이 종료되면 더 이상 사용 불가능하다.
4) 테스트 넷에서 사용가능한 테스트 이더는 Faucet 사이트에서 pk910 서비스를 이용하면 채굴 가능하다.
'블록체인 > 이더리움' 카테고리의 다른 글
ENS 발행과 활용 (feat. 테스트넷) (1) 2024.04.25 메타마스크 기초 사용법 (하), 테스트넷 이더 전송 (0) 2024.04.24 메타마스크 기초 사용법 (상) (1) 2024.04.22 이더리움 P2P 지갑 (0) 2024.04.20 앞으로의 과제, 대중화 (0) 2024.04.16