PageRenderTime 68ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/browserify.js

https://gitlab.com/YukiteruAmano/simulador-criptografico
JavaScript | 47 lines | 44 code | 3 blank | 0 comment | 0 complexity | 38d5712fbb0ee01541384d5bdafa5ac1 MD5 | raw file
  1. var crypto = require('bitcoinjs-lib/src/crypto');
  2. var Buffer = require('safe-buffer').Buffer;
  3. var ecurve = require('ecurve');
  4. var secp256k1 = ecurve.getCurveByName('secp256k1');
  5. module.exports = {
  6. Block: require('bitcoinjs-lib/src/block').Block,
  7. ECPair: require('bitcoinjs-lib/src/ecpair'),
  8. Transaction: require('bitcoinjs-lib/src/transaction').Transaction,
  9. TransactionBuilder: require('bitcoinjs-lib/src/transaction_builder'),
  10. address: require('bitcoinjs-lib/src/address'),
  11. crypto: crypto,
  12. networks: require('bitcoinjs-lib/src/networks'),
  13. opcodes: require('bitcoin-ops'),
  14. script: require('bitcoinjs-lib/src/script'),
  15. payments: require('bitcoinjs-lib/src/payments'),
  16. ecurve: ecurve,
  17. secp256k1: secp256k1,
  18. tinySecp256k1: require('tiny-secp256k1'),
  19. varuint: require('varuint-bitcoin'),
  20. BigInteger: require('bigi'),
  21. Buffer: Buffer,
  22. fastRoot: require('merkle-lib/fastRoot'),
  23. bs58check: require('bs58check'),
  24. wif: require('wif'),
  25. bech32: require('bech32').bech32,
  26. bech32m: require('bech32').bech32m,
  27. bip32: require('bip32'),
  28. bip38: require('bip38'),
  29. bip39: require('bip39'),
  30. bip66: require('bip66'),
  31. bip39wordlist: require('bip39/wordlists/english.json'),
  32. pbkdf2: require('pbkdf2'),
  33. secrets: require('secrets.js-grempe'),
  34. schnorr: require('bip-schnorr'),
  35. randomBytes: require('random-bytes').sync,
  36. scrypt: require('scrypt-js').scrypt,
  37. aez: require('aez'),
  38. crc32: require('fast-crc32c/impls/js_crc32c'),
  39. unorm: require('unorm'),
  40. macaroon: require('macaroon'),
  41. createHmac: require('create-hmac'),
  42. protobuf: require('google-protobuf'),
  43. macaroonIdProtobuf: require('./pages/macaroon/id-protobuf'),
  44. };