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
Built Distribution
Close
Hashes for starknet-interface-generator-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a453b53250e1702dc34842c8e437c38313acd908bc5014c033a4967013927056 |
|
MD5 | aae7d2e249c7e248a84e7109d329f1cb |
|
BLAKE2b-256 | 63ead03c7f10a5e598593489d528466232278ae51fd51748f687bfe4173e6d01 |
Close
Hashes for starknet_interface_generator-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54688638d69d73d1dae7e4af0f8790a9ea177b7f8009eb572f672323c719c8be |
|
MD5 | 16569e5f0997882fe58c4c7c7f13618d |
|
BLAKE2b-256 | 2bc00012bc44db18ae5c244997b89a161856a6d9d282a6526dc9cc7f9ee5310e |