Difficulty: beginner
Estimated Time: 5 minutes

Craft and run your own custom iExec application

DEPRECATED Please follow our SDK V2 tutorial instead DEPRECATED

In this tutorial, we will explain you how to craft an run your own iExec dapp, using the iExec SDK

Ready? Let's go!

Congratulations, you've successfully made it through this tutorial!

The ffmpeg execution has been triggered thanks to a dapp smart contract, and it has been calculated remotely by a worker!

Go further:

Finally, to help make the iExec SDK better, go to github and give it a star, thanks!


Craft your own custom iExec app

Step 1 of 3



Let's install the iExec SDK using Nodejs:

npm -g install iexec

Init a base project

Let's start your iExec project with the bare minimum:

iexec init

Rename and enter the project:

mv iexec-init iexec-ffmpeg && cd iexec-ffmpeg

Your iExec dapp is composed of:

  • an app directory: In case you have a binary app, put it here. If you are already using Docker (and you should!) then this directory is not used.

  • a contracts directory: A smart contract that interfaces with your iExec dapp from Ethereum to the offchain app.

  • an iexec.js file: This is where you describe your project name, your app, and your work.

setup your wallet

iexec wallet create

iexec wallet getETH

iexec account login

iexec wallet show

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]