@hypersokrat/hyper-pay 1.0.28 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +38 -0
  2. package/package.json +1 -1
  3. package/Readme.md +0 -21
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # HyperPay System Documentation
2
+
3
+ Welcome to the HyperPay system documentation. This guide provides a detailed walkthrough for administrators and developers, explaining how to integrate cryptocurrency payments seamlessly into applications using HyperPay and MetaMask.
4
+
5
+ ## Admin Registration and Configuration
6
+
7
+ ### 1. Admin Account Creation
8
+
9
+ To get started with HyperPay, administrators need to create an account:
10
+
11
+ - Visit the HyperPay admin page and sign up.
12
+ - Provide necessary details: username, email, and password.
13
+
14
+ ### 2. MetaMask Address Registration
15
+
16
+ After logging in, administrators should register their MetaMask address:
17
+
18
+ - Navigate to the Company section in the admin panel.
19
+ - Register the MetaMask address that will receive cryptocurrency payments.
20
+ - This address will automatically generate a unique project ID for identification purposes.
21
+
22
+ ### 3. Project ID Generation
23
+
24
+ Upon registering the MetaMask address:
25
+
26
+ - A unique project ID is generated automatically.
27
+ - This project ID will be used to associate payments with your company's account.
28
+
29
+ ## Integration into User Applications
30
+
31
+ Developers can integrate HyperPay's cryptocurrency payment functionality into applications:
32
+
33
+ ### 1. Install Library
34
+
35
+ Install the HyperPay library using npm or yarn package managers:
36
+
37
+ ```bash
38
+ npm install hyperpay-library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypersokrat/hyper-pay",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Crypto payment gateway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
package/Readme.md DELETED
@@ -1,21 +0,0 @@
1
- # HyperPay
2
-
3
- HyperPay is a comprehensive cryptocurrency integration solution for contemporary systems.
4
-
5
- ## Installation
6
-
7
- To install the package, use npm:
8
-
9
- ```bash
10
- npm install hyperpay
11
-
12
- const HyperPay = require('hyperpay');
13
-
14
- const hyperPayInstance = new HyperPay();
15
-
16
- // Example usage
17
- hyperPayInstance.processTransaction({
18
- amount: 1.0,
19
- currency: 'BTC',
20
- toAddress: 'recipientAddress'
21
- })