compound-borrow-examples
Code examples for borrowing Ethereum assets from the Compound Protocol.
파일 탐색기
최종 버전 다운로드 (.zip)- MyContracts.sol
- borrow-erc20-with-eth-collateral.js
- borrow-eth-with-erc20-collateral.js
- borrow-erc20-with-eth-collateral.js
- borrow-eth-with-erc20-collateral.js
- borrow-erc20-with-eth-collateral.js
- borrow-eth-with-erc20-collateral.js
- borrow-erc20-via-solidity.js
- borrow-eth-via-solidity.js
- borrow-erc20-via-solidity.js
- borrow-eth-via-solidity.js
- borrow-erc20-via-solidity.js
- borrow-eth-via-solidity.js
- deploy.js
- run-localhost-fork.js
- .gitignore
- contracts.json
- hardhat.config.js
- LICENSE
- package-lock.json
- package.json
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/compound-developers/compound-borrow-examples
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd compound-borrow-examples
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
npm install -g npx
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install -g npx
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
