Skip to content

Create your own task application using Task API

Introduction

This tutorial is designed for developers who want to create their own application on the Golem network. It will guide you through the process of creating a task-based requestor application using the Task API, and provide you with examples to help you understand the concepts better.

Info

If you have any questions or run into any issues while following this tutorial, please don't hesitate to reach out to us on our Discord channel for help.

To make the tutorial easier to follow, it has been divided into several sections. In the first section, we will provide a general introduction to developing applications on the Golem network, and explain the task model that is used in Golem applications.

Introduction to the task model

In the next section, we will walk you through the process of creating a simple example application that runs on the VM runtime. We will provide code examples and explain the mechanics of task-based requestor development.

Task Example 0: Hello World!

Task Example 1: Simple Usage of Task API

We will then show you how to use Golem to run a hashcat application in parallel. This section will provide an example of a more complex use case and explain how to use Golem's capabilities to run it efficiently.

Task Example 2: Hashcat on Golem

Lastly, we will describe how to use the API directly from the browser context. This section will provide information on how to use the API in web applications and explain the benefits and limitations of this approach.

Task Example 3: Requestor in browser