MAP Protocol — Relayers Node Mining Tutorial
By: Map Protocol
Tags: Crosschain, Maps, Blockchain, Map Protocol

One of the distinctive features in MAP chain is that the network is maintained by thousands of relayers and secured by 100+ validators in order to achieve distribution of trust and moving towards increasing decentralization. Due to the vital position of the relayers, all relayers in MAP protocol are incentivised by measuring the work completed.

MAP Protocol welcome you to be our Relayers node!

Download and install MetaMask

a) MetaMask download link https://metamask.io/

b) Select browser

c) MetaMask browser now supports browsers such as Chrome and Firefox

d) Installation

2. Staking

Relayers staking official website: https://relayer.mapdapp.net/#/home

i. Open https://relayer.mapdapp.net/#/home, a message automatically pop up and you can authorize to connect MAP to Ethereum.

ii. After connect authorization is successful as shown in red box below, you will see the linked wallet address below.

Click “Approve” to perform stake authorization, and wait for a few seconds before it turn to become “Stake It!” as shown in following red box.

iii. User to enter the amount of MAP token to be staked in the “green label” position.

Staking status as shown below:

After staking is successful, refresh it and the button will show “Stake it” as shown below:

iv. After successfully staked, wait for a few seconds, click on “Manage”, to check the staking amount in the “Staking” as shown below:

3.Export keystore

From ETH wallet Apps (Recommended: beepay, imtoken and etc types of wallet) Export a keystore, copy it into text and saved in “.txt” format. After saving rename the file to “keystone.json”.

Beepay wallet

1) Download wallet at

https://play.google.com/store/apps/details?id=com.cube.beepay

2) Generate or import ETH wallet.

3) In your wallet address, click “export Keystore”, and copy of your own keystore.

4) Copy the contents of the keystore, paste into a word file, and save it in “.txt” format.

5) After saved, convert the file name to “keystone.json”. Note the format is .json

imToken wallet

1) Download wallet at

https://play.google.com/store/apps/details?id=im.token.app

2) Generate or import ETH wallet.

3) In your wallet address, click “export Keystore”, and copy of your own keystore.

4) Copy the contents of the keystore, paste into a word file, and save it in “.txt” format.

5) After saved, convert the file name to “keystone.json”. Note the format is .json

4.Connect Keystore

Open https://relayer.mapdapp.net/#/manage

Click “Bond worker”, as shown in below, enter the wallet address of the keystore, then click “Confirm” to connect.

After successful connected, the bound keystore wallet address will be displayed as shown in the red box.

5.Activate Node

i. Visit https://github.com/mapprotocol/compass/releases

Download the node program that match your computer supporting system (currently support: macos x64, macos arm64, windows x64, linux x64)

(1) signmap_darwin_amd64.zip

Apple Intel chip computer

(2) signmap_darwin_arm64.zip

Apple M1 chip computer

(3) signmap_linux_amd64.exe.zip

Linux operating system

(4) signmap_windows_amd64.zip

Windows computer

After downloading, unzip it to local. And put the “keystore.json” file in the same directory as the program.

Note: Both files required to be in one place.

Windows computer

After downloading, click on “signmap.bat”, enter the wallet address password bound to the keystore, then start working with Relayers node

Apple computer operations are as follows:

ii. Open the “Terminal” program in the computer

Drag “signmap” to the opened “Terminal” program

Enter “Ctrl+A” to jump to the front, and enter “chmod +x” to read the path. As shown

Close the “Terminal” program, double-click to open the “signmap”, and start authorization

iii. Authorization trust

If the mac is executed for the first time, it may trigger the security policy, System Preferences -> Security and Privacy, there is a pop-up box under Allow downloading the app from the following location, click Allow

iv. commit task

After the authorization is successful, double-click to open the “signmap”.

Enter the wallet address and password bound to the keystore to start the Relays node work.

The yellow box shows the number of commit tasks that have not yet been carried out.

Linux computer operations are as follows:

1.Open “Terminal” program

2. Create run folder

Input content “

mkdir workspace

cd workspace

”

3. Download and run the program installation package

Input content “

wget

https://github.com/mapprotocol/compass/releases/download/v0.0.2/signmap_linux_amd64.zip

”

If the network is not good, you may need to try a few more times

3.1 It can be installed if there is no wget, different platforms are different

Choose your own corresponding installer to install

Input, one of below “



apt install wget

yum install wget

pacman -i wget

apk add wget

”

3.2 After installing wget, re-enter

Input content “

wget

https://github.com/mapprotocol/compass/releases/download/v0.0.2/signmap_linux_amd64.zip

”

4. Unzip the compressed package

Input content “

unzip signmap_linux_amd64.zip

”

If unzip the compressed file fails, then follow steps 4.1 and 4.2：

4.1 Unzip is not the same as wget, including package name zip

Input content “

Input, one of below “

apt install zip

yum install zip

pacman -i zip

apk add zip

4.2 Re-enter:

unzip signmap_linux_amd64.zip

5. Move keystore.json to the current folder

Enter “

mv [Drag and drop the keystore.json file or enter the path of keystore.json] .

”

（mv (keystore.json folder path) . ）

6. Obtain executable permissions

Enter “

chmod +x signmap

”

7 Run

Enter “

./signmap

”

If you are successfully operated, you will see the below:

Congratulations!

Note: The computer needs to be turned on for 24 hours and cannot be in a sleep state.