Skip to main content

Generate interfaces for your Starknet contracts

Project description

Starknet interface generator

Generate the interfaces corresponding to your Starknet contracts.

Dependencies

  • cairo-lang

Installation

pip install starknet-interface-generator

Usage

starknet-interface-generator [file_path] [-d output_directory] [--protostar]

Example

i_main inside the interfaces directory was generated with this command :

starknet-interface-generator test/main-cairo -d interfaces

Protostar

You can use starknet-interface-generator in a protostar project. This can be paired with a github action to automatically generate the interfaces for the contracts that specified inside the protostar.toml file.

starknet-interface-generator --protostar

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starknet-interface-generator-0.1.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page