seed-words 1.0.0 → 1.0.1
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.
- package/README.md +5 -1
- package/package.json +2 -2
- package/seedwords.js +2 -0
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
<a name="module_seed-words"></a>
|
|
2
2
|
|
|
3
3
|
## seed-words
|
|
4
|
-
Seed Words is a list of English words to be used in mnemonic seed phrases. There are a total of 256 x 256 = 65536 words. They can be used to represent any arbitrary 2 byte array with a single
|
|
5
4
|
if (initResult === false) {
|
|
6
5
|
console.log("error initializing");
|
|
7
6
|
} else {
|
|
8
7
|
console.log("initialized");
|
|
9
8
|
}
|
|
9
|
+
Seed Words is a list of English words to be used in mnemonic seed phrases. There are a total of 256 x 256 = 65536 words. They can be used to represent any arbitrary 2 byte array with a single
|
|
10
10
|
|
|
11
|
+
**Example**
|
|
12
|
+
```js
|
|
13
|
+
Requires Node.js version v20.18.1 or higher
|
|
11
14
|
if (initResult === false) {
|
|
12
15
|
console.log("error initializing");
|
|
13
16
|
} else {
|
|
14
17
|
console.log("initialized");
|
|
15
18
|
}
|
|
19
|
+
```
|
|
16
20
|
|
|
17
21
|
* [seed-words](#module_seed-words)
|
|
18
22
|
* [~initialize()](#module_seed-words..initialize) ⇒ <code>Promise.<boolean></code>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seed-words",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Seed Words JS SDK",
|
|
5
5
|
"main": "seedwords.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"seeds",
|
|
18
18
|
"quantumcoin"
|
|
19
19
|
],
|
|
20
|
-
"author": "
|
|
20
|
+
"author": "QuantumCoin Community",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/quantumcoinproject/seed-words/issues"
|