BH Network — MVP Tutorial and FAQs

Thanks to the tools provided by the Elrond developers and the intuitive design and capabilities of the Maiar platform, the BH Network would like to present its Minimum Viable Product (MVP). This post will cover how to use the MVP to get the best understanding of the platform.

We will also explain the abilities and limitations of the MVP as it stands, including what is likely to change in future releases.

As with all cryptocurrencies, exchanges, and platforms, you should research before investing or spending money.

What is the BH Network MVP?

The BH Network Marketplace MVP is the first working version of the marketplace in production. We have included enough features for you to test and understand the core components of the marketplace functions.

As you work through the MVP, you will inevitably encounter certain aspects that do not work as you would expect and others that do not work at all. They are not flaws or faults. The BH Network has intentionally omitted them from the MVP to allow people to focus on our core link between Maiar and the Marketplace.

How to Login to the MVP Via Desktop or Laptop — A Complete Step-by-Step Guide

1. Visit The MVP Website

This URL is only for the MVP and will not be the final URL.

2. Click on the Sign-In

3. Choose Log in Method

Here, the website will present you with three options:

The easiest, safest, and fastest way to log in is through the Maiar option. We will use that for this article.

4. Click “Maiar” Login

5. Open the Maiar App on your Mobile Device

6. Open The Maiar App

7. Log in to Maiar

8. Open the Maiar Quick Menu

9. Select Wallet Connect:

10. Scan the MVP QR Code

Please note that you will lose the connection and log out if you close the Maiar app.

How to Login Via Mobile

1. Visit the Website on A Mobile Device

2. Click on the Menu Icon

3. Click on Sign In

4. Click on “Maiar” Login

5. Click Maiar Login

Frequenlty Asked Questions

Why Do You Need to Install Maiar?

Maiar is a highly secure and user-friendly, full non-custodial digital wallet and global payments app that allows you to exchange and store money on your mobile phone securely. Its innovative concept of Maiar Wallet Connect can be coupled with any dApp (decentralized application) built over the Elrond blockchain, offering personal key decryption and personal identification to allow passwordless entry to any connected site.

How to login with Ledger

1. Setting up Ledger

2. Install the Elrond EGLD App on Your Ledger‌

Teach your Ledger device to work with Elrond Network by installing the Elrond app on it.‌

3. Turn Contract Data On

Elrond EGLD instructions taken from the official Elrond post: eGold Is Now Officially Available on Ledger!

4. Log into BH Network Marketplace MVP Using the Ledger Device

Note: Currently, there is a Ledger firmware limitation, and only the first address can be used for SC signing messages.

Note: You will have to confirm any operation from the device.

Why Do We Need to Choose the First Root Address from the Ledger, not Secondary Addresses?

Due to a current Ledger firmware limitation, only the first address can sign Smart Contract messages.

What Data Do We Store?

For the MVP, the only data that we store are the test jobs that you create. Those jobs are stored on the blockchain and our off-chain database.

However, as we expect the creation of many test jobs, the off-chain database will purge approximately every hour — thus deleting all jobs except our examples.

How Do We Buy XeGLD?

There is no requirement or ability to buy XeGLD as it is a development token only used for checking services running on the Elrond blockchain. Therefore, there is no charge to obtain XeGLD, and there is no monetary value in it, either.

To obtain XeGLD, you need to use the Devnet faucet.

How to Top Up XeGLD?

At present, the only way to top up your XeGLD is through the Devnet faucet.

This process may change if the Developers find a different way to distribute the development tokens.

Is XeGLD Real eGLD?

No, they are not real tokens, and they do not cost money. They are non-transferable into any other currency and do not show in your wallet either. These tokens are for development testing only.

Do I Need to Pay to Use Them?

No, the XeGLD development tokens are free.

Do I Need to Pay to Use the MVP Platform?

No, the MVP platform is free to use.

How do I Convert XeGLD to xBHAT?

How Do I Post a Test Job?

Explain to Me Like I Am A Nerd

How Does The MVP Connect to the Blockchain?

To resolve the problems depicted in the second chapter of our whitepaper, we designed the entire marketplace to have a complete history and footprint in the Elrond blockchain.

To achieve that, the central core of our MVP is a dApp (decentralized Application) connected to the Elrond blockchain API. A dApp is a computer application that runs on a decentralized computing system. DApps are typically open-source, decentralized and in compliance with a specific protocol agreed upon within the community involved.

The Elrond REST API can be used by any application — dApp, desktop, or server — to interact with the Blockchain. The Elrond Proxy and the Node (Observer) are designed to expose the same HTTP endpoints, though this doesn’t always hold due to architectural constraints [2].

What Makes it Secure?

Web applications rely on the classical “username & password” credential and similar authentication methods, which are relatively easy to implement and familiar to most developers.

But you cannot compare these traditional methods with asymmetric EdDSA encryption. Blockchain public key cryptography offers superior security and privacy when compared to legacy authentication mechanisms. At the same time, it is a paradigm shift for developers, who often have to rebuild several components in their application to allow blockchain integration.

The Elrond dApp core components are built using React and Typescript. The npm package installs the library that helps any website and dApp owner to authenticate their users and execute Elrond blockchain transactions. Web Wallet, Maiar Login, and Ledger methods for authentication and transaction signing are included. You can enable all of them to allow users to sign in to your app using their Elrond ID and integrate blockchain transactions into your processes. [2]

How is the MVP Built?

According to the above chapters (2 and 3), the main app is the dApp using React and Typescript components, communicating with the Elrond blockchain via Elrond REST API.

Beside that, we strive for having our own decentralized infrastructure connected to Maiar servers and Elrond Blockchain. We have deployed our own wallet connect bridge [3] that connects Maiar client application with Maiar server. Both login and transaction signing works through our own decentralized bridge.

Also, we developed our own SC (Smart Contract) which our dApp interacts to. This SC is in charge with job requests management, bids, value/ratio of BHAT, BHAT amount per user. All this information is kept to SC storage level.

Why Do We Use a Database For Storage?

Blockchain was designed having next properties immutability, decentralization, enhanced security, distributed ledgers, consensus, transparency, and faster settlement in mind.
All these aspects impact the storage footprint size from both size/state and economical (it is not cheap to make writing transactions for big chunks of data to blockchain).

That’s why the user profiles (not the credentials — login is still via blockchain private keys) and the collaterals (images, big data around the jobs requests, etc.) are kept off-chain in a Database and correlated with the blockchain with the user’s public keys and jobs requests (every job request is with a footprint in the Elrond blockchain).

This unique mix at the design level is the best way to keep both the blockchain and the off-chain database properties (security + storage).

How Will the Smart Contracts Work Between Two Parties and How and When Will The BHAT Team Get Involved?

Today, we can replace the role of an escrow manager with an SC (smart contract), an unchangeable piece of code that lives on the blockchain. No one can alter any rules surrounding the exchange once on the blockchain. That gives both buyer and seller confidence that they won’t be cheated during the exchange. The buyer will send the funds to the SC storage, and the seller will send a request ID to the SC storage signaling the project is ready. (The ID will be synced with the delivered project and sent to the off-chain database).

However, an escrow SC needs to have a 3rd party — the auditor. They will verify if the seller delivered a real project and is not a scammer. If everything is ok, the auditor approves the swap — the seller will receive the funds, and the buyer will receive the project. Considering the manual job that needs to be audited by a 3rd party player, this is a paid service. The escrow SC will only be used if the buyer and seller request (e.g., essential projects where security is mandatory).



Find us on:

A decentralized network specifically for Internet marketers.