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!

Cheers!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Craft your own custom iExec app

Step 1 of 3

Init

Pre-requisites

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