Socket
Socket
Sign inDemoInstall

@hyperionbt/helios-cli

Package Overview
Dependencies
1
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

@hyperionbt/helios-cli

CLI tool for compiling Cardano smart contracts written in Helios, and building Cardano transactions.

    0.16.6-3latest
    GitHub
    npm

Version published
Maintainers
2
Weekly downloads
7
increased by600%

Weekly downloads

Readme

Source

Helios-CLI

A CLI tool for compiling Helios smart contracts.

Installation

Dependencies:

  • node
  • npm
$ sudo npm i -g @hyperionbt/helios-cli

Usage

Compiling

$ helios compile my_script.hl --optimize --output my_script.json

The cli searches in the current directory for any necessary Helios modules. Additional module search directories can be included using the -I flag.

Parameters can be set using the -D<param-name> <param-value> option:

$ helios compile my_script.hl -DMY_PARAM 100 -o my_script.json

Evaluating a parameter

$ helios eval my_script.hl MY_PARAM

Similar to compile, additional module search directories can be included using the -I flag, and parameters can be set using the -D<param-name> <param-value> option.

Calculating a script address

For testnet:

$ helios address my_script.json

For mainnet:

$ helios address my_script.json --mainnet

FAQs

Last updated on 07 Dec 2023

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc