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
Infrastructure to build Bitcoin and blockchain-based applications for the next generation of financial technology.
9
8
9
+
**Note:** If you're looking for the Bitcore Library please see: https://github.com/bitpay/bitcore-lib
10
+
10
11
## Getting Started
11
12
12
-
Install with Node.js
13
+
Before you begin you'll need to have Node.js v0.12 installed. There are several options for installation. One method is to use [nvm](https://github.com/creationix/nvm) to easily switch between different versions, or download directly from [Node.js](https://nodejs.org/).
13
14
14
15
```bash
15
16
npm install -g bitcore
16
17
```
17
18
18
-
Install for web browsers:
19
-
20
-
```bash
21
-
bower install bitcore
22
-
```
23
-
24
19
Spin up a full node and join the network:
25
20
26
21
```bash
27
22
npm install -g bitcore
28
-
bitcore create mynode
29
-
cd mynode
30
-
bitcore start
23
+
bitcored
31
24
```
32
25
26
+
You can then view the Insight block explorer at the default location: `http://localhost:3001/insight`, and your configuration file will be found in your home directory at `~/.bitcore`.
27
+
33
28
Create a transaction:
34
29
```js
35
30
var bitcore =require('bitcore');
@@ -68,18 +63,6 @@ The complete docs are hosted here: [bitcore documentation](http://bitcore.io/gui
68
63
69
64
To get community assistance and ask for help with implementation questions, please use our [community forums](http://bitpaylabs.com/c/bitcore).
70
65
71
-
## Examples
72
-
73
-
*[Generate a random address](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#generate-a-random-address)
74
-
*[Generate a address from a SHA256 hash](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#generate-a-address-from-a-sha256-hash)
75
-
*[Import an address via WIF](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#import-an-address-via-wif)
76
-
*[Create a Transaction](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#create-a-transaction)
77
-
*[Sign a Bitcoin message](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#sign-a-bitcoin-message)
78
-
*[Verify a Bitcoin message](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#verify-a-bitcoin-message)
79
-
*[Create an OP RETURN transaction](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#create-an-op-return-transaction)
80
-
*[Create a 2-of-3 multisig P2SH address](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#create-a-2-of-3-multisig-p2sh-address)
81
-
*[Spend from a 2-of-2 multisig P2SH address](https://github.com/bitpay/bitcore/blob/master/docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)
82
-
83
66
## Security
84
67
85
68
We're using Bitcore in production, as are [many others](http://bitcore.io#projects), but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.
@@ -90,14 +73,6 @@ If you find a security issue, please email security@bitpay.com.
90
73
91
74
Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our [CONTRIBUTING](https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md) file.
92
75
93
-
## Building the Browser Bundle
94
-
95
-
To build bitcore full bundle for the browser:
96
-
97
-
```sh
98
-
gulp browser
99
-
```
100
-
101
76
This will generate files named `bitcore.js` and `bitcore.min.js`.
102
77
103
78
You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout a release commit (for example, https://github.com/bitpay/bitcore/commit/e33b6e3ba6a1e5830a079e02d949fce69ea33546 for v0.12.6).
@@ -106,23 +81,6 @@ To verify signatures, use the following PGP keys:
0 commit comments