aneopsy / dsa-contracts

DeFi Smart Accounts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeFi Smart Accounts

This repository contains the core contracts for Instadapp DeFi Smart Accounts (DSAs).

Installation

  1. Install Truffle and Ganache CLI globally.
npm  install -g  truffle@beta
npm  install -g  ganache-cli
  1. Create a .env file in the root directory and use the below format for .env file.
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 --migrations_directory migrations_null
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

Note: Before running any truffle command, Run the below command in another terminal.

truffle watch

About

DeFi Smart Accounts


Languages

Language:JavaScript 100.0%