DEV/Ethereum

[Solidity]Local 개발환경 구성 Ganache + Remix desktop

아이와사생활_ 2022. 2. 26. 10:11

https://trufflesuite.com/ganache/index.html

 

Truffle Suite - Truffle Suite

Features VISUAL MNEMONIC & ACCOUNT INFO Quickly see the current status of all accounts, including their addresses, private keys, transactions and balances.

trufflesuite.com

https://github.com/ethereum/remix-desktop/releases

 

Releases · ethereum/remix-desktop

Remix IDE desktop. Contribute to ethereum/remix-desktop development by creating an account on GitHub.

github.com

 

위 두 가지를 이용하여 개발환경 설정을 해보려고 한다.

 

Ganashce는 이전 블로그를 참조하여 설치하면 된다.

 

https://devdevlog.tistory.com/23

 

[Ganache] 설치와 MetaMask 테스트

Ganache를 설치 및 사용해 보려고 한다. https://trufflesuite.com/ganache/ Truffle Suite - Truffle Suite Features VISUAL MNEMONIC & ACCOUNT INFO Quickly see the current status of all accounts, includin..

devdevlog.tistory.com

 

Remix IDE를 Desktop 버전으로 설치해보려고 한다.

 

포터블 버전으로 설치해보려고 하는데 아래 exe를 받아서 진행해도 될 거 같다.

 

zip 파일을 풀면 설치가 끝난다.

 

Remix IDE를 실행시킨다.

설치가 완료되었다. 

 

Ganache를 연동해보도록 한다.

 

왼쪽 세 번째 아이콘을 클릭하면 DEPLOY & RUN TRANSACTIONS 메뉴로 이동된다.

ENVRONMENT에서 WEB3 Provider를 선택한다.

 

위와 같은 화면을 볼 수 있는데  Ganache 접속 을위해 Web3 Provider Endpoint를 아래와 같이 변경한다.

 

http://127.0.0.1:7545

 

위와 같이 확인해볼 수 있다.

개발 설정이 완료되었다.