Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.22 KB
OpShin Logo

OpShin Linter

 

General Information

This extension shows you in real time if your opshin smart contract is valid and could be compiled to UPLC.

By using this extension you don't need to manually check every time if you are writing correct OpShin syntax.

For more information about writing Smart Contracts for Cardano with OpShin in Python, please refer to the website of OpShin or the official repository.

 

Installation

Please use check that you have the necessary versions installed:

  • opshin >= 0.14.1
  • python >= 3.8, < 3.12

 

Usage

To activate Linting support, add a shebang to the first line of the python file to indicate that it represents an opshin smart contract. You can choose from the following options:

  • a general shebang: #!opshin, which represents opshin eval any
  • or a more specific purpose: #!/usr/bin/env -S opshin eval minting

 

Support

To contribute to this repository, please check out DEVELOPMENT.md