Socket
Book a DemoInstallSign in
Socket

@playmint/hardhat-cairo-type-hints

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@playmint/hardhat-cairo-type-hints

Hardhat plugin for compiling cairo-lang type hints.

0.1.0
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

hardhat-cairo-type-hints

A plugin for hardhat which compiles your Cairo type hints for you.

How it Works

Extends Hardhat StarkNet compile to use Cairo type hints during compilation

Installation

Make sure to install Cairo type hints to your Python environment.

Install with npm:

npm i --save-dev @playmint/hardhat-cairo-type-hints

Then import in your hardhat.config file after Hardhat StarkNet compile:

import "@playmint/hardhat-starknet-compile";
import "@playmint/hardhat-cairo-type-hints";

How to use

Type hint artifacts are generated whenever a compile task runs, either:

  • run the compile task (npx hardhat compile), or
  • run the starknet-compile task (npx hardhat starknet-compile)

The artifacts created can be used with Stark-dot-net and other compatible code generators

Keywords

hardhat

FAQs

Package last updated on 23 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.