Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@hyperionbt/heph
Advanced tools
A CLI tool for writing smart contracts on the Cardano blockchain in Helios.
Readme
Heph is a CLI tool for writing smart-contracts in the Helios programming language. Heph is inspired by Rust's Cargo and Cairo's Nile.
To install Heph:
$ sudo npm i -g @hyperionbt/heph
Note:
sudo
was needed to install the cli globally on my system.
To create a new project, type heph init <project-name>
, for example:
$ heph init atomic
✨ Created project 'atomic'
type 'cd atomic'
then type 'heph compile' to compile the project.
To compile a Heph project run compile from inside the project directory, like so:
$ heph compile
Creating 'build/' to store builds.
🤖 Compiling all files in './'.
🔨 Compiling 'atomic.hl'
✅ Done
Heph looks for a heph.config.json
whenever heph compile
is used to know where to find the contracts.
To compile a single file Heph can be used like:
$ heph compile -i always.hl
🔨 Compiling 'always.hl'
✅ Done
The name of the output file can be specified using the -o <out_file-path>
option and contract parameters can be specified using the -p <params-path>
.
$ heph compile -i always.hl \
-o cool_output.json \
-p secrets.json
...
Note: The file extensions for the output file and the params file are not necessary,
If for whatever reason you want to compile a whole directory that can be done by typing:
$ heph compile -d <directory-path>
...
To add a new contract to your project, you can use heph add <script-purpose> <contract-name>
.
$ heph add spending atomic_nft
Created './atomic_nft.hl' to store the contract
Created 'tests/atomic_nft.test.hl' to store the tests.
Created 'params/atomic_nft.params.json' to store the contract params.
heph test
.heph add <script-purpose> <contract-name>
.FAQs
A CLI tool for writing smart contracts on the Cardano blockchain in Helios.
We found that @hyperionbt/heph demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.