@dapp-stack/security
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@dapp-stack/security

This package allows you check the security of your contracts. Under the hood it uses mythril-classic

This packages requires Docker to be installed and running.

Installation

# Yarn
yarn add @dapp-stack/security

# NPM
npm install @dapp-stack/security

Usage

Required directories:

my-dapp
└── contracts
    └── src

The output will be in my-dapp/contracts/security

import * as security from "@dapp-stack/security";

security.run("/code/simple-react/contracts/src/SimpleStorage.sol")

If you call the function security.run without any arguments, we will try to fetch the contracts from the environment file at:

environments/[DAPP_ENV].js

See: Environment for more detail.

Package Sidebar

Install

npm i @dapp-stack/security

Weekly Downloads

1

Version

0.5.0

License

Apache-2.0

Unpacked Size

276 kB

Total Files

10

Last publish

Collaborators

  • john-solon