CardanoPyC is a powerful IntelliJ-based plugin that provides seamless support for Haskell and Plutus development with deep integration to the Cardano blockchain. It enhances developer productivity by offering:
- Advanced Haskell Support: Syntax highlighting, code completion, and file creation for Haskell files (.hs)
- Cardano Blockchain Integration: Direct access to Cardano API data through the Run menu
- Real-time Blockchain Data: Fetch latest blocks, network state, transactions, pool information, and more
- Deployment Utilities: Generate addresses
- Wallet Management: Integrated wallet management capabilities
- Diagnostics: Highlight errors in editor and show proper suggestions for Haskell files (.hs)
- Debug Tools: Show errors on debug console if code is not correct
This plugin is perfect for developers building on the Cardano blockchain, enabling smooth and efficient smart contract development within the IntelliJ ecosystem.
CardanoPyC is a powerful IntelliJ-based plugin designed to provide seamless support for Haskell and Plutus development with deep integration into the Cardano blockchain.
It is built to enhance developer productivity by combining blockchain utilities, smart contract development features, and rich Haskell language support directly within the IntelliJ ecosystem.
JetBrains Marketplace Link - https://plugins.jetbrains.com/plugin/26301-cardanopyc
Current release: 3.0.9
If you downloaded the plugin from JetBrains Marketplace, it will come as a .zip file.
To install it in PyCharm, follow these steps:
- Open PyCharm IDE
- Go to Settings β Plugins
- Click the βοΈ (settings icon) in the top-right corner
- Select Install Plugin from Disk
- Upload the downloaded
.zipfile - Click OK
- Restart your IDE to activate the plugin
If you want to install the plugin directly from PyCharm IDE, follow these steps:
- Open PyCharm IDE
- Go to Settings β Plugins
- In the Marketplace tab, search for "CardanoPyC"
- Click Install
- Restart your IDE to activate the plugin
- Clone the repository:
git clone https://github.com/AIQUANT-Tech/CardanoPyC cd CardanoPyC - Debug the extension by clicking the Intellij IDE debug icon.
- File type recognition for
.hsfiles - Advanced syntax highlighting for Haskell and Plutus code
- Intelligent code completion
- Custom parser definition for Haskell syntax
- Blockchain Data: Latest block details, network state, protocol parameters
- Address & Transactions: Address balances, transaction details, transaction lists by address
- Stake Pools: Pool details, status, lists, expiring/expired pools
- Governance: Committee members, DRep information, governance actions
- Assets & Policies: Asset details, policy information, assets by address
- Stake Keys: Address associations with stake keys
- The plugin includes integrated wallet management tools for handling Cardano wallets directly inside your IDE.
- CardanoPyC provides built-in wallet support for Plutus developers.
- Create and manage local Cardano wallets.
- Import wallet via mnemonic or keys.
- Display wallet balance in real time.
- Export addresses for transactions or testing.
-
Go to Run Menu
ctrl + shift + aβ Wallet β This opens the Wallet Management User Interface -
Choose an action:
- Create Wallet β Generates a new wallet with mnemonic and saves it securely.
- Import Wallet β Paste your mnemonic/private key to load an existing wallet.
- View Balance β Fetches live balance from the connected Cardano node.
- Export Address β Copies wallet address for transactions or deployment.
The plugin provides an easy way to generate Cardano addresses from your Plutus scripts:
-
π Access the Tool:
- Run Menu
ctrl + shift + a> Deployment > Generate Address - Right-click in the editor β Generate Plutus Address
- Run Menu
-
π― Configure Parameters:
- Enter the path to your Plutus script file (without the
.plutusextension) - Select the network: Preview, Preprod, or Mainnet
- Click OK
- Enter the path to your Plutus script file (without the
-
π― Output:
- A
.addrfile with the same name as your script will be generated - A success notification shows the generated address and file location
- A
π Example: If your script is myscript.plutus, the address file will be myscript.addr.
- install cabal from ghcup link - https://www.haskell.org/ghcup/
For Linux, run this in a terminal:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghcup tui
$ cabal update
$ cabal install ghcid
- Real-time diagnostics with error highlighting in the editor for Haskell files (.hs)
- Provides intelligent suggestions for fixing issues

- Display compilation/runtime errors in the Debug Console with detailed information
- Helps developers quickly identify and resolve problems

To fetch UTXO details using the plugin:
- Press
Ctrl + Shift + A - Search for Fetch UTXO
- Enter your Script Address
- Click OK
- For generating addresses β cardano-node & cardano-cli must be installed (but node doesnβt need to be running).
- For diagnostics β ghcid must be installed
- For debugging β .cabal file must be present in root directory
- IntelliJ IDEA version 231.x or higher
- Java 17+ runtime environment
- Minimum 4GB RAM recommended
CardanoPyC/
βββ images/
βββ src/
β βββ main/
β β βββ java/
β β β βββ org/intellij/sdk/language/
β β β βββ actions/ # Menu actions and handlers
β β β βββ cardanoApi/ # Cardano API integration
β β β β βββ actions/ # API action classes
β β β β βββ CardanoScanApiClient.java
β β β β βββ CardanoScanFetcher.java
β β β βββ deployment/ # Node deployment utilities
β β β β βββ CardanoCliAction
β β β β
β β β βββ grammars/ # Language grammar definitions
β β β βββ highlighter/ # Syntax highlighting
β β β βββ icons/ # Plugin icons
β β β βββ parser/ # Language parsing
β β β βββ psi/ # PSI tree elements
β β β βββ utils/ # Utility classes
β β β βββ wallet/ # Wallet management
β β β βββ diagnostics
β β β βββ debug_tools
β β βββ resources/
β β βββ icons/ # Image resources
β β β βββ cardano.svg
β β β βββ plugin-hs-Icon.svg
β β β βββ background.jpg
β β βββ META-INF/
β β βββ plugin.xml # Plugin configuration
β βββ test/ # Test classes
βββ build.gradle.kts # Gradle build configuration
βββ gradle.properties # Project properties
βββ settings.gradle.kts # Gradle settings
βββ README.md # This file # Plugin icons
The project uses Gradle with the IntelliJ Platform Plugin. Key configuration files:
build.gradle.kts- Gradle build configurationgradle.properties- Project properties and versionsplugin.xml- Plugin manifest and extension points
- Custom icons located in
/icons/directory - Main plugin icon:
plugin-hs-Icon.svg - Cardano-specific icons:
cardano.svg
We welcome contributions! Please feel free to submit pull requests or open issues for bugs and feature requests.
For issues or questions related to the CardanoPyC plugin, please contact AIQUANT TECHNOLOGIES support through the plugin's GitHub repository.
This project is licensed under the Apache License - see the LICENSE file for details.
Note: This plugin requires IntelliJ IDEA version 231.x or higher and Java 17+ for optimal performance.















