Docs
TSA Blueprint Plugin
TSA Blueprint Plugin
How to use TSA in your Blueprint project.
Installation
First, you need to create a Blueprint project. For more information, see official documentation.
Add the TSA Plugin as a Project Dependency
In your project directory, install the TSA plugin:
yarn add blueprint-tsaConfigure Blueprint
Create or modify the file blueprint.config.ts to include the TSA plugin:
import { TsaPlugin } from 'blueprint-tsa';
export const config = {
plugins: [
new TsaPlugin(),
],
};Verify the Installation
Confirm that the plugin is properly installed by running:
yarn blueprint tsa --helpYou should see a list of available TSA commands, confirming the plugin is ready to use.
Quick Start
Run all built-in checks with the following command:
yarn blueprint tsa audit -c [ContractToAnalyze]Description of the checkers is given on this page.