Usage

Setting up Metamask wallet for BPX Chain (Chrome extension)

    1. Open MetaMask. Expand the list of available networks.

    metamask-chrome1.jpg

    2. Scroll to the bottom and select "Add a custom network".

    metamask-chrome2.jpg

    3. Fill out the form as follows and click "Save":

    Network name: BPX Chain
    Default RPC URL: https://rpc.bpxchain.cc
    Chain ID: 279
    Currency symbol: BPX
    Block explorer URL: https://explorer.bpxchain.cc

    metamask-chrome3.jpg

    4. You should see a success notification. Expand the list of available networks again.

    metamask-chrome4.jpg

    5. Select "BPX Chain", which should now be on the list.

    metamask-chrome5.jpg

    6. Your wallet is now ready to use.

    metamask-chrome6.jpg

    Setting up Metamask wallet for BPX Chain (Mobile app)

      1. Open MetaMask. Expand the list of available networks.

      metamask-mobile1.PNG

      2. Select "Add Network".

      metamask-mobile2.PNG

      3. Go to the "Custom networks" tab.

      metamask-mobile3.PNG

      4. Fill out the form as follows and confirm:

      Network name: BPX Chain
      Default RPC URL: https://rpc.bpxchain.cc
      Chain ID: 279
      Currency symbol: BPX
      Block explorer URL: https://explorer.bpxchain.cc

      metamask-mobile4.PNG

      5. Proceed through the next steps by tapping "Confirm", "Switch to network", and "Got it".

      metamask-mobile5.PNG metamask-mobile6.PNG metamask-mobile7.PNG

      6. Your wallet is now ready to use.

      metamask-mobile8.PNG

      Installing and running BPX full node on Windows

      1. Download the EXE installers for the latest releases of the Execution Client and Beacon Client.

      2. Run the Execution Client installer first. Depending on your Windows version, different warnings may appear. In these cases, click "More info", then select "Run anyway", and "Yes".

      VirtualBox_Win10_07_06_2023_15_22_29.png

      VirtualBox_Win10_07_06_2023_15_22_58.png

      VirtualBox_Win10_07_06_2023_15_24_22.png

      3. Follow all the installer steps by clicking "I Agree", "Next" and "Install". Once the installation process is complete, close the installer.

      VirtualBox_Win10_07_06_2023_15_27_05.png

      VirtualBox_Win10_07_06_2023_15_28_06.png

      4. A shortcut to the BPX Execution Client will be created in the Start Menu. Launch it from there.

      VirtualBox_Win10_07_06_2023_15_30_15.png

      5. Allow the Windows Firewall to open the execution client port. The execution client will start, and you should see its console window.

      VirtualBox_Win10_07_06_2023_15_35_47.png

      VirtualBox_Win10_07_06_2023_15_35_59.png

      6. Now run the Beacon Client installer. Navigate through the Microsoft Defender pop-ups as before.

      7. Accept the license agreement and proceed through the subsequent installation steps.

      VirtualBox_Win10_07_06_2023_15_39_55.png

      VirtualBox_Win10_07_06_2023_15_41_00.png

      8. Once the installation is complete, click the "Get Started" button.

      VirtualBox_Win10_07_06_2023_15_41_44.png

      9. Allow to open the required port as before.

      VirtualBox_Win10_07_06_2023_15_42_57.png

      10. Beacon Client GUI will be launched. Select the Node mode.

      VirtualBox_Win10_07_06_2023_15_56_13.png

      11. At this point, both clients will begin synchronizing with the network. This process may take several hours or even days.

      VirtualBox_Win10_07_06_2023_15_57_39.png

      VirtualBox_Win10_07_06_2023_15_58_58.png

      12. Once synchronization is complete, your full node will be ready to operate.

      VirtualBox_Win10_08_06_2023_01_46_36.png


      Never stop the Execution Client by closing the console window. Instead, use the Control + C shortcut and wait for the client to save all data to disk and shut down gracefully.
      VirtualBox_Win10_08_06_2023_10_34_18.png

      Installing and running BPX full node on Debian / Ubuntu

      1. Log in as root. Use wget to download the DEB packages for the latest releases of the Execution Client and Beacon Client. Replace X.X.X with the latest versions tags.
      wget "https://github.com/bpx-chain/bpx-execution-client/releases/download/X.X.X/bpx-execution-client_X.X.X+stable_amd64.deb"
      wget "https://github.com/bpx-chain/bpx-beacon-client/releases/download/X.X.X/bpx-beacon-client-cli_X.X.X-1_amd64.deb"

      node-debian1.png

      2. Install both packages. Replace X.X.X with the downloaded versions tags.

      dpkg -i bpx-execution-client_X.X.X+stable_amd64.deb bpx-beacon-client-cli_X.X.X-1_amd64.deb

      node-debian2.png

      3. Create a new user account for BPX Chain services.

      adduser bpxchain

      Set a password for the new account. You can leave the additional information fields empty.

      node-debian3.png

      4. Switch to the newly created account.

      su - bpxchain

      5. Initialize the Beacon Client configuration.

      bpx init

      node-debian4.png

      6. Press Control + D to log out and return to the root console.

      7. Create a configuration file for the BPX Execution Client systemd service using any text editor, for example nano:

      nano /etc/systemd/system/bpx-execution.service

      Insert the following file content:

      [Unit]
      Description=BPX Execution Client
      
      [Service]
      Type=simple
      User=bpxchain
      ExecStart=bpx-geth --http
      Restart=always
      
      [Install]
      WantedBy=multi-user.target

      Save the file by pressing Control + O and close the editor with Control + X.

      8. Follow the same procedure to create a configuration file for the Beacon Client service:

      nano /etc/systemd/system/bpx-beacon.service

      Insert the following file content:

      [Unit]
      Description=BPX Beacon Client
      
      [Service]
      Type=forking
      User=bpxchain
      ExecStart=bpx start beacon
      ExecStop=bpx stop -d all
      Restart=always
      
      [Install]
      WantedBy=multi-user.target

      9. Reload the system services configuration.

      systemctl daemon-reload

      10. Enable automatic startup of the BPX Chain services.

      systemctl enable bpx-execution
      systemctl enable bpx-beacon

      11. Start both services.

      systemctl start bpx-execution
      systemctl start bpx-beacon

      node-debian5.png

      12. Your full node has just started and will begin the initial synchronization of the blockchain. This process may take several hours or even days. Use the following command to watch the sync status.

      su - bpxchain
      watch -n 10 bpx show -s

      node-debian6.png