npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@iexec/iapp

v1.3.2

Published

A CLI to guide you through the process of building an iExec iApp

Downloads

344

Readme

iExec iApp Generator CLI

This CLI provides an interface to guide you through different steps:

  • Create a simple app with the necessary structure to run on a decentralized worker
  • Test it locally (with Docker)
  • Deploy your iApp as a TEE app on the iExec protocol

Prerequisites

  • Node.js v20 or higher
  • A directory where you want to init your iApp. If not, create a new folder. (iapp init will also propose you to do so)
  • Docker

ℹ️ For MacOS users

This tool use docker buildx to build images for linux/amd64 platform compatible with iExec's decentralized workers.

Make sure your docker builder supports AMD64 architecture:

docker buildx inspect --bootstrap | grep -i platforms

The output should include linux/amd64 in the list of supported platforms. If not update te the latest Docker Desktop version which includes these requirements.

Install

npm i -g @iexec/iapp

ℹ️ when you install this package for the fist time, run iapp completion to generate a completion script for the iapp command

Commands

--help

Command:

iapp --help

Description: Display help information about the iapp CLI and its available commands and options. This option provides a quick reference guide for users to understand how to use each command effectively.

init

Command:

iapp init

Description: Initialize the framework with the necessary structure to build your iexec decentralized application.


test

Command:

iapp test [--args <input>] [--inputFile <url...>] [--requesterSecret <key=value...>]

Description: Test your iApp locally

Options:

  • use --args <args> to provide input arguments to your iApp during testing (use quotes to provide multiple args).
  • use --inputFile <url...> to provide one or more input files to your iApp during testing.
  • use --requesterSecret <key=value...> to provide one or more requester secrets to your iApp during testing.
  • use --protectedData [mock-name] if your iApp processes protected data, include the --protectedData option followed by the name of a protected data mock.

ℹ️ when you run iapp test for the first time and your app is using an app secret, you will be asked wether or not you want to attach an app secret to your app.


deploy

Command:

iapp deploy [--chain <input>]

Description: Deploy your iApp on the iExec protocol in debug mode.

Options:

  • use --chain Specify the blockchain on which the iApp will be deployed (overrides defaultChain configuration which is bellecour). Possible values are bellecour|arbitrum-sepolia-testnet|arbitrum-mainnet

run

Command:

iapp run <iApp-address> [--args <input>] [--protectedData <protectedData-address>] [--inputFile <url...>] [--chain <input>]

Description: Run your deployed iApp. Provide the address of your iApp (<iApp-address>).

Options:

  • use --args <args> to provide input arguments to your iApp during run (use quotes to provide multiple args).
  • use --inputFile <url...> to provide one or more input files to your iApp during run.
  • use --requesterSecret <key=value...> to provide one or more requester secrets to your iApp during run.
  • use --protectedData <address> if your iApp processes protected data, include the --protectedData option followed by the address of the protected data.
  • use --chain Specify the blockchain on which the iApp will be deployed (overrides defaultChain configuration which is bellecour). Possible values are bellecour|arbitrum-sepolia-testnet|arbitrum-mainnet

debug

Command:

iapp debug <taskId>

Description: Retrieve detailed execution logs from worker nodes for a specific task.


mock

Command:

iapp mock <inputType>

Description: Create a mocked input for test.


wallet

Command:

iapp wallet <action>

Description: Manage wallet.

Options for <action> :

  • import import a new wallet by providing a private key.
  • select select a wallet from your personnal keystore.