Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.93 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.93 KB

mx-xportalhub-chrome

Chrome extension for testing XportalHub integration.

If you are curious about how XportalHub integration works, you can have more informations in the XportalHub integration doc.

Installation

Download the latest release of the extension. Unzip the file.

In Chrome, go to chrome://extensions/ and enable Developer mode in the top right corner. You should see a new button Load unpacked. Click on it and select the folder mx-xportalhub-extension-1.0.0.

Load unpacked

Usage

In the top right corner of your browser, you should see a new icon. Click on it to open the extension.

The first step is to drop a PEM wallet file in the drop zone. You can generate a new one by following MultiversX docs.

Warning! a PEM file is the less secure way to handle private keys. You should use it only for testing purpose.

Drop wallet

You can now login the current tab by hitting the login in the current tab button. This generate a new native token from the wallet and add it to the current url.

Login tab

Then use your dapp as usual. When transactions signature is requested, a popup will appear. You can sign transactions by clicking on the Sign button or generate an error.

Sign transactions

As shown in the screenshot, Mainnet transactions are highlight to avoid signing them without noticing

Development : Project Setup

Install dependencies

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint