golemfactory / golem-js-preview-program

3 stars 18 forks source link

Golem JS Preview Program

Welcome to the Golem JS Preview Program repository!

It contains a set of tasks based on the Golem JS SDK. By completing them you will learn how to write JS applications that will execute your tasks on the Golem Network.

The program is based on the latest @golem-sdk/golem-js library and our new documentation.

To participate in the program and win prizes you must be recruited for one of the program rounds. Even if we do not run the program at the given moment, you are welcome to use the tasks to facilitate your tour with Golem and JS SDK. We would appreciate your feedback to help us improve the Golem Network, JS SDK, and docs.

If you encounter any issues during the work on the tasks ask on the Discord #js-discussion channel in the SDK section.

We also encourage you to visit https://www.golem.network/, where you can find more information about our open-source project.


Available Tasks

Task #0 - Yagna Setup

You will discover how to set up and operate the Yagna service, enabling you to execute tasks on the Golem Network and acquire funds on the testnet.

Task #1 - Run a task in the Golem Network

You will learn how to create a script that will utilize the provided image and how to run a task on a remote node. On the practical side, you will use fortune to generate a motivation phrase.

Task #2 - Download results from Provider

You will learn how to run a task on a remote node and how to download the result to your machine. On the practical side, you will use Golem to generate text-to-speech audio.

Task #3 - Build your custom Golem image

You will learn how to create a custom image and run a script that utilizes it. On the practical side, you will build a Docker image with your script.

Task #4 - Send files

You will learn how to upload and download files. On the practical side, you will play with an OCR tool.

Task #5 - Run tasks in parallel

You will learn how to run tasks in parallel. On the practical side, you will upscale anime images.

Task #6 - Initialise workers

You will learn how to initialize the workers and indicate how many of them you want to engage. On the practical side, you will see how to speed up your tasks by avoiding unnecessary data transfer.

Task #7 - Run requestor in a browser

You will learn how to run a requestor from a browser. On the practical side you will run some image converting tools.

Task #8 - Select providers

You will learn how to specify the desired requirements of a provider and filter through their proposals. On the practical side, a touch of math will guide you in estimating the expected price.

Task #9 - Use Golem as backend

You will learn how to utilize Golem to offload your system. On the practical side, you will use speech-to-text AI software without installation.

Task #A - Run the task on mainnet

You will learn how to run the tasks on a mainnet network using real Golem tokens. On the practical side you will acquire some tokens to pay for your task.


Useful links:

What is the Golem Network?

The Golem Network is a flexible and open-source platform that harnesses the power of decentralization for accessing and sharing computational resources. We are building a new open-source world that everyone has the right to enter.

Our new Golem JS SDK lets you: