
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
@andamiojs/core
Advanced tools
AndamioJS is a JavaScript library designed for interacting with Andamio contracts deployed on the Cardano blockchain.
AndamioJS is a JavaScript library designed for interacting with Andamio contracts deployed on the Cardano blockchain.
Explore the detailed documentation generated by Typedoc at andamiojs.andamio.io.
Install AndamioJS using npm:
npm install @andamiojs/core
Installation Note: If you are using the Next.js app router, use v1.y.z-alpha.1
instead of v1.y.z-alpha
to avoid wasm errors.
Data querying functions in AndamioJS typically begin with the prefix query
. For example, queryTreasuryInfo
provides information about the treasury.
Each validator has a corresponding query<validator name>Info
function that returns relevant information. Here's an example using queryAssignmentValidatorInfo
:
const AssignmentValidatorInfo = await queryAssignmentValidatorInfo(andamioConfig);
AndamioJS handles contract transactions through classes with names ending in "Tx".
The library also provides helper functions that initialize and load the required variables for transactions, named prepare<transaction name>
. For instance, the following demonstrates the implementation of AcceptAssignmentTx
:
const ACCEPT_ASSIGNMENT_TX = await prepareAcceptAssignmentTx(wallet, andamioConfig, props.assignment);
const res = await ACCEPT_ASSIGNMENT_TX.runTx();
Explore the various transaction classes and their corresponding helper functions for seamless interaction with Andamio contracts.
FAQs
AndamioJS is a JavaScript library designed for interacting with Andamio contracts deployed on the Cardano blockchain.
The npm package @andamiojs/core receives a total of 0 weekly downloads. As such, @andamiojs/core popularity was classified as not popular.
We found that @andamiojs/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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 Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.