commit
a1159189ba
4 changed files with 225 additions and 249 deletions
10
README.md
10
README.md
|
|
@ -187,3 +187,13 @@ is named *peerId*.
|
|||
Registering with a hash avoids disclosing the copayerId to parties outside of the WR.
|
||||
Peer discovery is accomplished using only the hashes of the WR members' copayerIds. All members of the WR
|
||||
know the full copayerIds of all the other members of the WR.
|
||||
|
||||
Bitcore
|
||||
-------
|
||||
|
||||
Copay uses the Javascript library Bitcore for Bitcoin related functions. Bitcore should be built this way:
|
||||
```
|
||||
var cmd = `node util/build_bitcore.js`
|
||||
cd <BITCORE_HOME>
|
||||
node $cmd
|
||||
```
|
||||
|
|
|
|||
0
cordova/build.sh
Normal file → Executable file
0
cordova/build.sh
Normal file → Executable file
427
lib/bitcore.js
427
lib/bitcore.js
File diff suppressed because one or more lines are too long
41
util/build_bitcore.js
Executable file
41
util/build_bitcore.js
Executable file
|
|
@ -0,0 +1,41 @@
|
|||
var modules = [
|
||||
'lib/Address',
|
||||
'lib/AuthMessage',
|
||||
'lib/Base58',
|
||||
'lib/HierarchicalKey',
|
||||
'lib/BIP21',
|
||||
'lib/Deserialize',
|
||||
'lib/ECIES',
|
||||
'lib/Message',
|
||||
'lib/Opcode',
|
||||
'lib/PayPro',
|
||||
'lib/PrivateKey',
|
||||
'lib/Key',
|
||||
'lib/Point',
|
||||
'lib/SIN',
|
||||
'lib/SINKey',
|
||||
'lib/Script',
|
||||
'lib/SecureRandom',
|
||||
'lib/sjcl',
|
||||
'lib/Transaction',
|
||||
'lib/TransactionBuilder',
|
||||
'lib/Wallet',
|
||||
'lib/WalletKey',
|
||||
'patches/Buffers.monkey',
|
||||
'patches/Number.monkey',
|
||||
'config',
|
||||
'const',
|
||||
'networks',
|
||||
'util/log',
|
||||
'util/util',
|
||||
'util/EncodedData',
|
||||
'util/VersionedData',
|
||||
];
|
||||
|
||||
|
||||
var cmd = 'node browser/build.js -s '
|
||||
|
||||
cmd = cmd + modules.join(',');
|
||||
|
||||
|
||||
console.log(cmd);
|
||||
Loading…
Add table
Add a link
Reference in a new issue