Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 984 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 984 Bytes

Installation

  1. Make sure to use node 10.20.1
  2. Run npm install in project root directory
  3. Create .env file:
MNEMONIC_OR_PRIVATE_KEY="{YOUR_PRIVATE_KEY}"
INFURA_API_KEY={YOUR_INFURA_API_KEY}
CONTRACT_NAME={YOUR_CONTRACT_NAME}
CONTRACT_SYMBOL={YOUR_CONTRACT_SYMBOL}
CONTRACT_TOTAL_SUPPLY_IN_WEI={YOUR_CONTRACT_TOTAL_SUPPLY}
CONTRACT_DECIMALS={YOUR_CONTRACT_DECIMALS}
  1. Run npm run rebuild in project root directory
  2. Deploy contract example npx buidler run --network ropsten scripts/deploy.ts

Boilerplate

This is a starter kit for developing, testing, and deploying smart contracts with a full Typescript environment. This stack uses Buidler as the platform layer to orchestrate all the tasks. Ethers is used for all Ethereum interactions and testing.

Blog Post