Metamask: How to connect metamask in another computerA(windows) to a private hyperledger besu in another computerB(ubuntu)
METAMASK connecting to a private Hyperledgera Besu private network on different computers
As a user of Hyperledger’s Blockchain Blockchain, you are probably known for convenience using Metamk, the popular Ethereum portfolio and other cryptocurrencies to manage your digital assets. However, what happens if you want to connect the Metamask bag to a private Hyperledgera Besu private network, which works on another computer? In this article we will look at you to get to this connection.
Prerequisites
Before we start, make sure that:
- You installed Metamk on both computers.
- The Hyperledger Private Woven Network is set and works on your Ubuntu computer (PC B).
- Your Metamask Safe is properly configured for Ethereum (or cryptocurrency you want to use) on your computer with Windows (computer A).
Step 1: Download and install Node.js
Because Metamk requires a javascript support node, download and install a knot from the official site.
Step 2: Set the metamass on PC B

Ubuntu on your computer (B) action as follows to set up Metamask:
- Open the terminal.
- Enter
sudo npm installation -G Cordova (if you use Cordova Cli).
- Starting the Cordova service:Cordova Start
- Installation of node.js (14th or more recent version):
Step 3: Configure Metamask to PC B
- Open the terminal.
- EnterNPM installation -G Metamk
(if you use Metamk Cli).
- Starting the Metamask:Metamk Start
Service
- Configuring the Ethereum Metamk Cli portfolio settings by starting:Metamk Config Set-Network
Step 4: Contact Hyperledgera Besu B
Private Network
- Open a new Ubuntu terminal on your computer (B).
- EnterDemon” and press Enter.
- Go to the project directory via
CD.
- Start this command to connect to your private Hyperledger fabric:
bash
Metask Connect-Network
Replace the “
Step 5: Check the connection
After connecting to the network, make sure your Metamk Safe has been successfully connected. This can be done by checking the Blockchain Explorer or with the help of the Metamk command line.
Tips to troubleshoot
- If you have problems, make sure your Ubuntu and Windows computers work on separate networks.
- Check the network settings in both operating systems to make sure they are properly configured.
- If you use VPN, try deactivating it and connecting the network again.
When you follow these steps, you should now be able to connect your Metamask portfolio to a Windows computer with a private Hyperledgera Besu private network operating on the Ubuntu computer (Computer B). Happy blockchain research!
Bir cevap yazın