Yagna installation for requestors
In this article, we'll show you how to install and configure Yagna in case you want to enable your applications to connect to the network.
Installing and running Yagna
Yagna is a service that will let you communicate with the Golem Network and perform operations on it. Let's install it.
Yagna runs on OS X 10.14+, Ubuntu 20.04+ or Windows.
On Linux/ MacOS you can install it using our helper script like this:
curl -sSf https://join.golem.network/as-requestor | bash -
You might be asked to modify your PATH afterward.
If you have encountered problems, contact us on: Discord channel:
Start the service
Open a terminal (command line window) and define the app-key that will allow our script to use the Yagna API:
The instructions above allow you to set a temporary app-key that will disappear after the Yagna service restart. That is good for experiments and for running examples and tutorials. For production deployment, it is recommended to use a unique app-key generated using
yagna app-key create <key-name> command.
Then start the service:
yagna service run
Get some funds
Requesting tasks on the Golem Network requires some funds - GLM tokens - on the network. While running on a test network, you can use freely available testnet tokens.
Open another terminal and run the following command to complete the configuration:
yagna payment fund yagna payment init
- You can learn more about Golem architecture, production and test networks, and GLM tokens here:
Was this helpful?