dsa-connectors-old/README.md

36 lines
734 B
Markdown
Raw Normal View History

2020-05-01 16:01:43 +00:00
# DSA Connectors
This repository contains the Connectors of DSA.
## Installation
1. Install Truffle and Ganache CLI globally.
```javascript
npm install -g truffle@beta
npm install -g ganache-cli
npm instal
```
2. Create a `.env` file in the root directory and use the below format for .`env` file.
```javascript
infura_key = [Infura key] //For deploying
mnemonic_key = [Mnemonic Key] // Also called as seed key
etherscan_key = [Etherscan API dev Key]
```
## Commands:
```
Compile contracts: truffle compile
Migrate contracts: truffle migrate
Test contracts: truffle test
Run eslint: npm run lint
Run solium: npm run solium
Run solidity-coverage: npm run coverage
Run lint, solium, and truffle test: npm run test
```