You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8-12
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,9 @@ This release is compatible with Polymesh v6.x.x
24
24
25
25
The Polymesh SDK's main goal is to provide external developers with a set of tools that will allow them to build powerful applications that interact with the Polymesh protocol. It focuses on abstracting away all the complexities of the Polymesh blockchain and expose a simple but complete interface. The result is a feature-rich, user-friendly node.js library.
26
26
27
-
### Before moving on
28
-
29
-
This document assumes you are already familiar with [Security Tokens](https://thesecuritytokenstandard.org/) in general and [Polymath](https://www.polymath.network/) as well as [Polymesh](https://polymath.network/polymesh) in particular.
30
-
31
27
### Technical Pre-requisites
32
28
33
-
In order to use the Polymath SDK, you must install [node](https://nodejs.org/)\(version 16\) and [npm](https://www.npmjs.com/). The library is written in [typescript](https://www.typescriptlang.org/), but can also be used in plain javascript. This document will assume you are using typescript, but the translation to javascript is very simple.
29
+
In order to use the Polymesh SDK, you must install [node](https://nodejs.org/)\(version 16\) and [npm](https://www.npmjs.com/). The library is written in [typescript](https://www.typescriptlang.org/), but can also be used in plain javascript. This document will assume you are using typescript, but the translation to javascript is very simple.
34
30
35
31
### Documentation
36
32
@@ -71,8 +67,8 @@ async function run() {
71
67
mnemonic: '//Alice', //A "well known" mnemonic, often with sudo privileges on development chains
72
68
},
73
69
{
74
-
mnemonic: 'forest end mail art wish leave truth else ignore royal knife river'// most mnemonics are 12 words
75
-
}
70
+
mnemonic: 'forest end mail art wish leave truth else ignore royal knife river',// most mnemonics are 12 words
71
+
},
76
72
],
77
73
});
78
74
const polyClient =awaitPolymesh.connect({
@@ -133,11 +129,11 @@ Creating transactions is a two-step process. First a procedure is created, which
133
129
The SDK exposes getter functions that will return entities, which may have their own functions:
Note: Some getters require "middleware" to be configured, which is a chain indexer that aids in historical queries. All such methods will have a comment indicating this requirement.
@@ -148,4 +144,4 @@ The SDK uses the class `Account` as an abstraction for a public/private key pair
148
144
149
145
The only thing an `Account` holds is the POLYX utility token. Ownership of any asset on the Polymesh chain requires an `Identity`. This process involves a trusted provider writing a claim to the chain, stating that this person has completed a "customer due diligence" (CDD) process. For development chains, the mnemonic `//Alice` can create CDD claims by default.
150
146
151
-
Polymesh uses an `Identity` to provide flexibility in managing permissions. Portfolios can be created, and secondary keys can be granted permission to provide fine grained authorization.
147
+
Polymesh uses an `Identity` to provide flexibility in managing permissions. Portfolios can be created, and secondary keys can be granted permission to provide fine grained authorization.
Copy file name to clipboardexpand all lines: SECURITY.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Do not open issues that might have security implications! It is critical that se
6
6
7
7
Vulnerabilities can be reported by emailing repository admins:
8
8
9
-
- Víctor Vicente victor@polymath.network
10
-
- Eric Richardson ericrichardson@polymath.network
11
-
- Prashant Bajpai prashant@polymath.network
9
+
- Víctor Vicente victor@polymesh.network
10
+
- Eric Richardson eric@polymesh.network
11
+
- Prashant Bajpai prashant@polymesh.network
12
12
13
13
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
0 commit comments