* SmartContract 테스트넷 배포(3)의 4부터 다시
4 Testnet 배포
(1) infura.io 접속 후 로그인
Ethereum API | IPFS API & Gateway | ETH Nodes as a Service
Infura's development suite provides instant, scalable API access to the Ethereum and IPFS networks. Connect your app to Ethereum and IPFS now, for free!
infura.io
(2) 새로운 Key 생성 Repsten EndPoint 사용하기 위해서는 Web3 선택해야 함

(3) Repsten 주소 복사

(4) truffle-config.js 수정

*provider의 주소에 복사해온 주소 붙여넣기

(5) npm i @truffle/hdwallet-provider

(6) ECAC_Smartcontract 폴더에 .secret 파일 생성하고 내 MetaMask 비밀번호 복구 문구 붙여넣기

(7) truffle compile > truffle migrate --network ropsten > 오류


(8) truffle-config.js에 복붙한 URL을 Websockets로 변경 > 돈없어서 오류


(9) 테스트 이더 받기 > 어디서 받는지는 관계없음
https://faucet.dimensions.network/
https://faucet.egorfine.com/
https://ropsten.oregonctf.org/eth

(10) 다시 truffle migrate --network ropsten > 성공


5 Etherscan
(1) Etherscan 접속
TESTNET Ropsten (ETH) Blockchain Explorer
Etherscan allows you to explore and search the Ropsten blockchain for transactions, addresses, tokens, prices and other activities taking place on Ropsten (ETH)
ropsten.etherscan.io
(2) SmartContract 주소 입력하여 Testnet에 배포된 것 확인
* 0x2bD3e988bdE5930f9D3f53C8d07A0EDD5dcf914B

* 참고자료
https://community.infura.io/t/cannot-find-ropsten-endpoint-on-list-of-endpoints/3870
https://community.infura.io/t/error-pollingblocktracker-encountered-an-error-while-attempting-to-update-latest-block/4215
https://jeongjun9-diary.tistory.com/26
* SmartContract 테스트넷 배포(3)의 4부터 다시
4 Testnet 배포
(1) infura.io 접속 후 로그인
Ethereum API | IPFS API & Gateway | ETH Nodes as a Service
Infura's development suite provides instant, scalable API access to the Ethereum and IPFS networks. Connect your app to Ethereum and IPFS now, for free!
infura.io
(2) 새로운 Key 생성 Repsten EndPoint 사용하기 위해서는 Web3 선택해야 함

(3) Repsten 주소 복사

(4) truffle-config.js 수정

*provider의 주소에 복사해온 주소 붙여넣기

(5) npm i @truffle/hdwallet-provider

(6) ECAC_Smartcontract 폴더에 .secret 파일 생성하고 내 MetaMask 비밀번호 복구 문구 붙여넣기

(7) truffle compile > truffle migrate --network ropsten > 오류


(8) truffle-config.js에 복붙한 URL을 Websockets로 변경 > 돈없어서 오류


(9) 테스트 이더 받기 > 어디서 받는지는 관계없음
https://faucet.dimensions.network/
https://faucet.egorfine.com/
https://ropsten.oregonctf.org/eth

(10) 다시 truffle migrate --network ropsten > 성공


5 Etherscan
(1) Etherscan 접속
TESTNET Ropsten (ETH) Blockchain Explorer
Etherscan allows you to explore and search the Ropsten blockchain for transactions, addresses, tokens, prices and other activities taking place on Ropsten (ETH)
ropsten.etherscan.io
(2) SmartContract 주소 입력하여 Testnet에 배포된 것 확인
* 0x2bD3e988bdE5930f9D3f53C8d07A0EDD5dcf914B

* 참고자료
https://community.infura.io/t/cannot-find-ropsten-endpoint-on-list-of-endpoints/3870
https://community.infura.io/t/error-pollingblocktracker-encountered-an-error-while-attempting-to-update-latest-block/4215
https://jeongjun9-diary.tistory.com/26