# WorkHeart USB Node for Mac

## 1.Minimum system requirements

* **OS**: macOS version 14.5 and above
* **Storage**: 10GB available storage
* **Memory**: 4GB RAM
* **Processor**: A processor with 6 cores, arm architecture.

## 2. Install node running program

1. Use the browser to download the compute node running program.&#x20;

Note:  Please note the difference between Intel series mac and M series mac, please download the corresponding file

```bash
# Download arm cpu using the following address：
https://storage.googleapis.com/bkt-privasea-face-pre-public/calc-node/beta/armMac/mac.zip

# Download intel cpu using the following address：
https://storage.googleapis.com/bkt-privasea-face-pre-public/calc-node/beta/intelMac/mac.zip
```

<figure><img src="/files/A9PAaAjbT2p9gpzczaXe" alt=""><figcaption></figcaption></figure>

After the download is complete, the file will be stored in the Downloads directory, and the calc script in the mac folder will be the executable program of the calculation node.

<figure><img src="/files/FJCG8sPFB5rSZTPhIw6l" alt=""><figcaption></figcaption></figure>

2. The first time you run the calc script, you need to authorize calc in "System Settings" -> "Privacy and Security" of macOS. Please feel free to use it. If you don't know how to set it up, you can also copy the error content to chatgpt to find a solution.

**Example**: you may be prompted: "calc" cannot be opened because Apple cannot check whether it contains malware. Please feel free to use it. You need to perform the following operations:

&#x20;Find the calc file, hold down "control" and cli c  k on it. Select "open" in the pop-up window, then close the opened window.

<figure><img src="/files/R8q1b3NciPZiaqPX3p1n" alt=""><figcaption></figcaption></figure>

3. Open the Terminal app on Mac. You can find it in the following ways.

&#x20; 3.1  Open applications. There is an APP called Terminal on the Mac desktop. Click to open it.

<div align="left"><figure><img src="/files/xq685YGDF9nmzO9zPsV4" alt=""><figcaption></figcaption></figure></div>

3.2  Search for Terminal. Open the focus by holding down the shortcut key ⌘ Space (space bar), or click the 🔍 symbol in the upper right corner, open the focus and enter the first three characters of Ter.

<figure><img src="/files/BES0bIDF7nk9gKLXldmW" alt=""><figcaption></figcaption></figure>

4. Enter the command through the terminal, enter the downloaded directory armMac, and give calc executable program permissions.

```bash
# Enter the program directory
cd  Downloads/mac   
#Give calc executable permissions
chmod +x ./calc
```

<figure><img src="/files/CK6KaVCje5UYB95Wx6x3" alt=""><figcaption></figcaption></figure>

## 3.Node program configuration

1. Get keystore file

You can directly use the existing wallet keystore. If there is no keystore file, you can execute the following command to generate it:

**Note**: The program will prompt you to enter a password, <mark style="color:purple;">please remember this password for future use.</mark> The generated keystore file will have a corresponding **node address**, Please keep it properly to avoid losing it, it will be used in the dashboard configuration

```bash
# Run the calculation node
./calc  new_keystore  
```

<figure><img src="/files/HGGRP2U8AfNYGhW0UDEQ" alt=""><figcaption></figcaption></figure>

```bash
Enter password for a new key:   # Enter wallet password
Enter password again to verify:   # Enter password again for confirmation

# After the wallet is successfully generated, you will see the following information:
# node address: 0x6cbd93459aa460c0293D874d0FAF07Ebd97F84CE 
#  This is the node address you generated, used for binding in the dashboard
# node filename: kevstore:///Users/mac/Downloads/armMac/config/UTC--2024-12-25T06-26-21,751163000Z--6cbd93459aa460c0293d874d0faf07ebd97f84ce
#  UTC--2024-12-25T06-26-21,751163000Z--6cbd93459aa460c0293d874d0faf07ebd97f84ce  is the keystore file for the node; this file name is just an example and may differ from your file name.
```

Instructions: 0x6cbd93459aa460c0293D874d0FAF07Ebd97F84CE  is an example and may differ in your case.

2. Rename the keystore file in  to wallet\_keystore:

<div align="left"><figure><img src="/files/LMeAJAN8pDorAiFr6CEe" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/8ZdHSxs6C3MaJtNDzThv" alt=""><figcaption></figcaption></figure>

## 4. Link node address and revenue address

1\. Use the wallet address corresponding to the keystore file to link it with the income address on [dashboard](https://deepsea-beta.privasea.ai/usbNode).

<figure><img src="/files/hMV9jJWcMgz3O1T0z2uu" alt=""><figcaption></figcaption></figure>

2. Click set up my node, you will see two pop-up windows of the wallet, you need to click to confirm, and your configuration is complete

<figure><img src="/files/kjIuRfo1W56ni0eHDqRC" alt=""><figcaption></figcaption></figure>

## 5. Start the node

1. Make sure the usb is inserted correctly. Then start the computing node command as follows:

<pre class="language-shell"><code class="lang-shell"><strong># Start the compute node:
</strong>./calc mac_calc
</code></pre>

The command runs normally, and you need to enter the password of the keystore file in the running interface.Successful startup as shown in the figure below. If failed, please check:

{% content-ref url="/pages/TBIGMOE1tFiMttD0sP2e" %}
[How to start the node FAQ](/user-node-usage-documentation/comprehensive-guide-to-privanetix-node-acceleration-node-and-workheart-node-setup-and-operation/how-to-start-the-node-faq.md)
{% endcontent-ref %}

<figure><img src="/files/aRlp28y9nId7NUtIyPiS" alt=""><figcaption></figcaption></figure>

## 6. Stop the node

```bash
control + C
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://privasea.gitbook.io/user-node-usage-documentation/comprehensive-guide-to-privanetix-node-acceleration-node-and-workheart-node-setup-and-operation/workheart-usb-node-for-mac.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
