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
**A simple Command Line Interface Wallet using [Bitcore Wallet Service](https://github.com/bitpay/bitcore/tree/master/packages/bitcore-wallet-service) and its *official* client lib [Bitcore Wallet Client](https://github.com/bitpay/bitcore/tree/master/packages/bitcore-wallet-client).**
Copy file name to clipboardExpand all lines: packages/bitcore-lib-cash/docs/browser.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
Bitcore and most official submodules work in the browser, thanks to [browserify](http://browserify.org/) (some modules are not fully compatible with web browsers).
4
4
5
-
The easiest and recommended way to use them, is via [Bower](http://bower.io/), a browser package manager, and get the release bundles. For example, when building an app that uses `bitcore` and `bitcore-mnemonic`, you do:
5
+
The easiest and recommended way to use them, is via [Bower](http://bower.io/), a browser package manager, and get the release bundles. For example, when building an app that uses `bitcore-lib` and `bitcore-mnemonic`, you do:
6
6
7
7
```sh
8
-
bower install bitcore-lib
9
-
bower install bitcore-mnemonic
8
+
bower install @bitpay-labs/bitcore-lib
9
+
bower install @bitpay-labs/bitcore-mnemonic
10
10
```
11
11
12
12
You can also use a `bower.json` file to store the dependencies of your project:
@@ -17,8 +17,8 @@ You can also use a `bower.json` file to store the dependencies of your project:
17
17
"version": "0.0.1",
18
18
"license": "MIT",
19
19
"dependencies": {
20
-
"bitcore-lib": "^0.13.7",
21
-
"bitcore-mnemonic": "^1.0.1"
20
+
"@bitpay-labs/bitcore-lib": "^11.5.1",
21
+
"@bitpay-labs/bitcore-mnemonic": "^11.5.1"
22
22
}
23
23
}
24
24
```
@@ -40,8 +40,8 @@ After this, you can include the bundled release versions in your HTML file:
40
40
<body>
41
41
42
42
<scripttype="text/javascript">
43
-
var bitcore =require('bitcore-lib');
44
-
var Mnemonic =require('bitcore-mnemonic');
43
+
var bitcore =require('@bitpay-labs/bitcore-lib');
44
+
var Mnemonic =require('@bitpay-labs/bitcore-mnemonic');
Copy file name to clipboardExpand all lines: packages/bitcore-lib-ltc/docs/browser.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Browser Builds
2
-
Litecore and most official submodules work in the browser, thanks to [browserify](http://browserify.org/) (some modules are not fully compatible with web browsers).
2
+
Bitcore-lib-ltc and most official submodules work in the browser, thanks to [browserify](http://browserify.org/) (some modules are not fully compatible with web browsers).
3
3
4
-
The easiest and recommended way to use them, is via [Bower](http://bower.io/), a browser package manager, and get the release bundles. For example, when building an app that uses `litecore` and `bitcore-mnemonic`, you do:
4
+
The easiest and recommended way to use them, is via [Bower](http://bower.io/), a browser package manager, and get the release bundles. For example, when building an app that uses `bitcore-lib-ltc` and `bitcore-mnemonic`, you do:
5
5
6
6
```sh
7
-
bower install litecore-lib
8
-
bower install bitcore-mnemonic
7
+
bower install @bitpay-labs/bitcore-lib-ltc
8
+
bower install @bitpay-labs/bitcore-mnemonic
9
9
```
10
10
11
11
You can also use a `bower.json` file to store the dependencies of your project:
@@ -16,8 +16,8 @@ You can also use a `bower.json` file to store the dependencies of your project:
16
16
"version": "0.0.1",
17
17
"license": "MIT",
18
18
"dependencies": {
19
-
"litecore-lib": "^0.13.7",
20
-
"bitcore-mnemonic": "^1.0.1"
19
+
"@bitpay-labs/bitcore-lib-ltc": "^11.5.1",
20
+
"@bitpay-labs/bitcore-mnemonic": "^11.5.1"
21
21
}
22
22
}
23
23
```
@@ -32,15 +32,15 @@ After this, you can include the bundled release versions in your HTML file:
var litecore =require('@bitpay-labs/bitcore-lib-ltc');
43
+
var Mnemonic =require('@bitpay-labs/bitcore-mnemonic');
44
44
// etc...
45
45
</script>
46
46
@@ -53,11 +53,11 @@ After this, you can include the bundled release versions in your HTML file:
53
53
If you want to use a specific version of a module, instead of a release version (not recommended), you must run browserify yourself. You can get a minified browser bundle by running the following on the project root folder.
Copy file name to clipboardExpand all lines: packages/bitcore-lib/docs/browser.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ Bitcore Javascript Library and most official submodules work in the browser, tha
5
5
The easiest and recommended way to use them, is via [Bower](http://bower.io/), a browser package manager, and get the release bundles. For example, when building an app that uses `bitcore-lib` and `bitcore-mnemonic`, you do:
6
6
7
7
```sh
8
-
bower install bitcore-lib
9
-
bower install bitcore-mnemonic
8
+
bower install @bitpay-labs/bitcore-lib
9
+
bower install @bitpay-labs/bitcore-mnemonic
10
10
```
11
11
12
12
You can also use a `bower.json` file to store the dependencies of your project:
@@ -17,8 +17,8 @@ You can also use a `bower.json` file to store the dependencies of your project:
17
17
"version": "0.0.1",
18
18
"license": "MIT",
19
19
"dependencies": {
20
-
"bitcore-lib": "^0.13.7",
21
-
"bitcore-mnemonic": "^1.0.1"
20
+
"@bitpay-labs/bitcore-lib": "^11.5.1",
21
+
"@bitpay-labs/bitcore-mnemonic": "^11.5.1"
22
22
}
23
23
}
24
24
```
@@ -40,8 +40,8 @@ After this, you can include the bundled release versions in your HTML file:
40
40
<body>
41
41
42
42
<scripttype="text/javascript">
43
-
var bitcore =require('bitcore-lib');
44
-
var Mnemonic =require('bitcore-mnemonic');
43
+
var bitcore =require('@bitpay-labs/bitcore-lib');
44
+
var Mnemonic =require('@bitpay-labs/bitcore-mnemonic');
This library is distributed in both the npm packaging systems.
14
14
15
15
```sh
16
-
npm install bitcore-lib #this to install bitcore-lib since it is a peerDependecy
17
-
npm install bitcore-mnemonic
16
+
npm install @bitpay-labs/bitcore-mnemonic
18
17
```
19
18
20
19
There are many examples of how to use it on the developer guide [section for mnemonic](./docs/index.md). For example, the following code would generate a new random mnemonic code and convert it to a `HDPrivateKey`.
21
20
22
21
```javascript
23
-
var Mnemonic =require('bitcore-mnemonic');
22
+
var Mnemonic =require('@bitpay-labs/bitcore-mnemonic');
24
23
var code =newMnemonic(Mnemonic.Words.SPANISH);
25
24
code.toString(); // natal hada sutil año sólido papel jamón combate aula flota ver esfera...
0 commit comments