aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/bitcoinjs-extensions.js816
-rw-r--r--src/js/index.js592
-rw-r--r--tests/spec/tests.js519
3 files changed, 1927 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index c5d223a..b4926db 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -372,3 +372,819 @@ bitcoinjs.bitcoin.networks.beetlecoin = {
372 scriptHash: 0x55, 372 scriptHash: 0x55,
373 wif: 0x99, 373 wif: 0x99,
374}; 374};
375
376
377bitcoinjs.bitcoin.networks.adcoin = {
378 messagePrefix: '\x18AdCoin Signed Message:\n',
379 bip32: {
380 public: 0x0488B21E,
381 private: 0x0488ADE4,
382 },
383 pubKeyHash: 0x17,
384 scriptHash: 0x05,
385 wif: 0xb0,
386};
387
388bitcoinjs.bitcoin.networks.asiacoin = {
389 messagePrefix: '\x18AsiaCoin Signed Message:\n',
390 bip32: {
391 public: 0x0488b21e,
392 private: 0x0488ade4,
393 },
394 pubKeyHash: 0x17,
395 scriptHash: 0x08,
396 wif: 0x97,
397};
398
399bitcoinjs.bitcoin.networks.auroracoin = {
400 messagePrefix: '\x18AuroraCoin Signed Message:\n',
401 bip32: {
402 public: 0x0488b21e,
403 private: 0x0488ade4,
404 },
405 pubKeyHash: 0x17,
406 scriptHash: 0x05,
407 wif: 0x97,
408};
409
410bitcoinjs.bitcoin.networks.bata = {
411 messagePrefix: '\x18Bata Signed Message:\n',
412 bip32: {
413 public: 0xA40C86FA,
414 private: 0xA40B91BD,
415 },
416 pubKeyHash: 0x19,
417 scriptHash: 0x05,
418 wif: 0xa4,
419};
420
421bitcoinjs.bitcoin.networks.belacoin = {
422 messagePrefix: '\x18BelaCoin Signed Message:\n',
423 bip32: {
424 public: 0x0488b21e,
425 private: 0x0488ade4,
426 },
427 pubKeyHash: 0x19,
428 scriptHash: 0x05,
429 wif: 0x99,
430};
431
432bitcoinjs.bitcoin.networks.atom = {
433 messagePrefix: '\x18Bitcoin Signed Message:\n',
434 bip32: {
435 public: 0x0488B21E,
436 private: 0x0488ADE4,
437 },
438 pubKeyHash: 0x17,
439 scriptHash: 0x0a,
440 wif: 0x80,
441};
442
443bitcoinjs.bitcoin.networks.bitcoinplus = {
444 messagePrefix: '\x18BitcoinPlus Signed Message:\n',
445 bip32: {
446 public: 0x0488b21e,
447 private: 0x0488ade4,
448 },
449 pubKeyHash: 0x19,
450 scriptHash: 0x08,
451 wif: 0x99,
452};
453
454bitcoinjs.bitcoin.networks.bitcore = {
455 messagePrefix: '\x18BitCore Signed Message:\n',
456 bip32: {
457 public: 0x0488B21E,
458 private: 0x0488ADE4,
459 },
460 pubKeyHash: 0x00,
461 scriptHash: 0x05,
462 wif: 0x80,
463};
464
465bitcoinjs.bitcoin.networks.bitsend = {
466 messagePrefix: '\x18Bitsend Signed Message:\n',
467 bip32: {
468 public: 0x0488B21E,
469 private: 0x0488ADE4,
470 },
471 pubKeyHash: 0x66,
472 scriptHash: 0x05,
473 wif: 0xcc,
474};
475
476bitcoinjs.bitcoin.networks.britcoin = {
477 messagePrefix: '\x18BritCoin Signed Message:\n',
478 bip32: {
479 public: 0x0488b21e,
480 private: 0x0488ade4,
481 },
482 pubKeyHash: 0x19,
483 scriptHash: 0x55,
484 wif: 0x99,
485};
486
487bitcoinjs.bitcoin.networks.canadaecoin = {
488 messagePrefix: '\x18Canada eCoin Signed Message:\n',
489 bip32: {
490 public: 0x0488b21e,
491 private: 0x0488ade4,
492 },
493 pubKeyHash: 0x1c,
494 scriptHash: 0x05,
495 wif: 0x9c,
496};
497
498bitcoinjs.bitcoin.networks.cannacoin = {
499 messagePrefix: '\x18Cannacoin Signed Message:\n',
500 bip32: {
501 public: 0x0488b21e,
502 private: 0x0488ade4,
503 },
504 pubKeyHash: 0x1c,
505 scriptHash: 0x05,
506 wif: 0x9c,
507};
508
509bitcoinjs.bitcoin.networks.clubcoin = {
510 messagePrefix: '\x18ClubCoin Signed Message:\n',
511 bip32: {
512 public: 0x0488B21E,
513 private: 0x0488ADE4,
514 },
515 pubKeyHash: 0x1c,
516 scriptHash: 0x55,
517 wif: 0x99,
518};
519
520bitcoinjs.bitcoin.networks.compcoin = {
521 messagePrefix: '\x18CompCoin Signed Message:\n',
522 bip32: {
523 public: 0x0488b21e,
524 private: 0x0488ade4,
525 },
526 pubKeyHash: 0x1c,
527 scriptHash: 0x55,
528 wif: 0x9c,
529};
530
531bitcoinjs.bitcoin.networks.crave = {
532 messagePrefix: '\x18DarkNet Signed Message:\n',
533 bip32: {
534 public: 0x0488B21E,
535 private: 0x0488ADE4,
536 },
537 pubKeyHash: 0x46,
538 scriptHash: 0x55,
539 wif: 0x99,
540};
541
542bitcoinjs.bitcoin.networks.defcoin = {
543 messagePrefix: '\x18defcoin Signed Message:\n',
544 bip32: {
545 public: 0x0488b21e,
546 private: 0x0488ade4,
547 },
548 pubKeyHash: 0x1e,
549 scriptHash: 0x05,
550 wif: 0x9e,
551};
552
553bitcoinjs.bitcoin.networks.diamond = {
554 messagePrefix: '\x18Diamond Signed Message:\n',
555 bip32: {
556 public: 0x0488B21E,
557 private: 0x0488ADE4,
558 },
559 pubKeyHash: 0x5a,
560 scriptHash: 0x08,
561 wif: 0xda,
562};
563
564bitcoinjs.bitcoin.networks.digibyte = {
565 messagePrefix: '\x18DigiByte Signed Message:\n',
566 bip32: {
567 public: 0x0488B21E,
568 private: 0x0488ADE4,
569 },
570 pubKeyHash: 0x1e,
571 scriptHash: 0x05,
572 wif: 0x80,
573};
574
575bitcoinjs.bitcoin.networks.digitalcoin = {
576 messagePrefix: '\x18Digitalcoin Signed Message:\n',
577 bip32: {
578 public: 0x9e0488B2,
579 private: 0x0488ADE4,
580 },
581 pubKeyHash: 0x1e,
582 scriptHash: 0x05,
583 wif: 0x9e,
584};
585
586bitcoinjs.bitcoin.networks.ecoin = {
587 messagePrefix: '\x18eCoin Signed Message:\n',
588 bip32: {
589 public: 0x0488b21e,
590 private: 0x0488ade4,
591 },
592 pubKeyHash: 0x5c,
593 scriptHash: 0x14,
594 wif: 0xdc,
595};
596
597bitcoinjs.bitcoin.networks.edrcoin = {
598 messagePrefix: '\x18EDRcoin Signed Message:\n',
599 bip32: {
600 public: 0x0488b21e,
601 private: 0x0488ade4,
602 },
603 pubKeyHash: 0x5d,
604 scriptHash: 0x1c,
605 wif: 0xdd,
606};
607
608bitcoinjs.bitcoin.networks.egulden = {
609 messagePrefix: '\x18Egulden Signed Message:\n',
610 bip32: {
611 public: 0x0488B21E,
612 private: 0x0488ADE4,
613 },
614 pubKeyHash: 0x30,
615 scriptHash: 0x05,
616 wif: 0xb0,
617};
618
619bitcoinjs.bitcoin.networks.einsteinium = {
620 messagePrefix: '\x18Einsteinium Signed Message:\n',
621 bip32: {
622 public: 0x0488b21e,
623 private: 0x0488ade4,
624 },
625 pubKeyHash: 0x21,
626 scriptHash: 0x05,
627 wif: 0xa1,
628};
629
630bitcoinjs.bitcoin.networks.europecoin = {
631 messagePrefix: '\x18Bitcoin Signed Message:\n',
632 bip32: {
633 public: 0x0488B21E,
634 private: 0x0488ADE4,
635 },
636 pubKeyHash: 0x21,
637 scriptHash: 0x05,
638 wif: 0xa8,
639};
640
641bitcoinjs.bitcoin.networks.exclusivecoin = {
642 messagePrefix: '\x18ExclusiveCoin Signed Message:\n',
643 bip32: {
644 public: 0x0488B21E,
645 private: 0x0488ADE4,
646 },
647 pubKeyHash: 0x21,
648 scriptHash: 0x89,
649 wif: 0xa1,
650};
651
652bitcoinjs.bitcoin.networks.feathercoin = {
653 messagePrefix: '\x18Feathercoin Signed Message:\n',
654 bip32: {
655 public: 0x0488BC26,
656 private: 0x0488DAEE,
657 },
658 pubKeyHash: 0x0e,
659 scriptHash: 0x05,
660 wif: 0x8e,
661};
662
663bitcoinjs.bitcoin.networks.firstcoin = {
664 messagePrefix: '\x18FirstCoin Signed Message:\n',
665 bip32: {
666 public: 0x0488b21e,
667 private: 0x0488ade4,
668 },
669 pubKeyHash: 0x23,
670 scriptHash: 0x05,
671 wif: 0xa3,
672};
673
674bitcoinjs.bitcoin.networks.flashcoin = {
675 messagePrefix: '\x18Flashcoin Signed Message:\n',
676 bip32: {
677 public: 0x0488b21e,
678 private: 0x0488ade4,
679 },
680 pubKeyHash: 0x44,
681 scriptHash: 0x82,
682 wif: 0xc4,
683};
684
685bitcoinjs.bitcoin.networks.gcr = {
686 messagePrefix: '\x18GCR Signed Message:\n',
687 bip32: {
688 public: 0x0488B21E,
689 private: 0x0488ADE4,
690 },
691 pubKeyHash: 0x26,
692 scriptHash: 0x61,
693 wif: 0x9a,
694};
695
696bitcoinjs.bitcoin.networks.gobyte = {
697 messagePrefix: '\x18DarkCoin Signed Message:\n',
698 bip32: {
699 public: 0x0488B21E,
700 private: 0x0488ADE4,
701 },
702 pubKeyHash: 0x26,
703 scriptHash: 0x0a,
704 wif: 0xc6,
705};
706
707bitcoinjs.bitcoin.networks.gridcoin = {
708 messagePrefix: '\x18Gridcoin Signed Message:\n',
709 bip32: {
710 public: 0x0488b21e,
711 private: 0x0488ade4,
712 },
713 pubKeyHash: 0x3e,
714 scriptHash: 0x55,
715 wif: 0xbe,
716};
717
718bitcoinjs.bitcoin.networks.gulden = {
719 messagePrefix: '\x18Guldencoin Signed Message:\n',
720 bip32: {
721 public: 0x0488B21E,
722 private: 0x0488ADE4,
723 },
724 pubKeyHash: 0x26,
725 scriptHash: 0x62,
726 wif: 0x62,
727};
728
729bitcoinjs.bitcoin.networks.helleniccoin = {
730 messagePrefix: '\x18helleniccoin Signed Message:\n',
731 bip32: {
732 public: 0x0488b21e,
733 private: 0x0488ade4,
734 },
735 pubKeyHash: 0x30,
736 scriptHash: 0x05,
737 wif: 0xb0,
738};
739
740bitcoinjs.bitcoin.networks.hempcoin = {
741 messagePrefix: '\x18Hempcoin Signed Message:\n',
742 bip32: {
743 public: 0x0488b21e,
744 private: 0x0488ade4,
745 },
746 pubKeyHash: 0x28,
747 scriptHash: 0x08,
748 wif: 0xa8,
749};
750
751bitcoinjs.bitcoin.networks.insane = {
752 messagePrefix: '\x18INSaNe Signed Message:\n',
753 bip32: {
754 public: 0x0488B21E,
755 private: 0x0488ADE4,
756 },
757 pubKeyHash: 0x66,
758 scriptHash: 0x39,
759 wif: 0x37,
760};
761
762bitcoinjs.bitcoin.networks.iop = {
763 messagePrefix: '\x18IoP Signed Message:\n',
764 bip32: {
765 public: 0x2780915F,
766 private: 0xAE3416F6,
767 },
768 pubKeyHash: 0x75,
769 scriptHash: 0xae,
770 wif: 0x31,
771};
772
773bitcoinjs.bitcoin.networks.ixcoin = {
774 messagePrefix: '\x18Ixcoin Signed Message:\n',
775 bip32: {
776 public: 0x0488B21E,
777 private: 0x0488ADE4,
778 },
779 pubKeyHash: 0x8a,
780 scriptHash: 0x05,
781 wif: 0x80,
782};
783
784bitcoinjs.bitcoin.networks.landcoin = {
785 messagePrefix: '\x18Landcoin Signed Message:\n',
786 bip32: {
787 public: 0x0488B21E,
788 private: 0x0488ADE4,
789 },
790 pubKeyHash: 0x30,
791 scriptHash: 0x7a,
792 wif: 0xb0,
793};
794
795bitcoinjs.bitcoin.networks.lbry = {
796 messagePrefix: '\x18LBRYcrd Signed Message:\n',
797 bip32: {
798 public: 0x0488B21E,
799 private: 0x0488ADE4,
800 },
801 pubKeyHash: 0x55,
802 scriptHash: 0x7a,
803 wif: 0x1c,
804};
805
806bitcoinjs.bitcoin.networks.linx = {
807 messagePrefix: '\x18LinX Signed Message:\n',
808 bip32: {
809 public: 0x0488b21e,
810 private: 0x0488ade4,
811 },
812 pubKeyHash: 0x4b,
813 scriptHash: 0x05,
814 wif: 0xcb,
815};
816
817bitcoinjs.bitcoin.networks.litecoincash = {
818 messagePrefix: '\x18Litecoin Signed Message:\n',
819 bip32: {
820 public: 0x0488B21E,
821 private: 0x0488ADE4,
822 },
823 pubKeyHash: 0x1c,
824 scriptHash: 0x05,
825 wif: 0xb0,
826};
827
828bitcoinjs.bitcoin.networks.lynx = {
829 messagePrefix: '\x18Lynx Signed Message:\n',
830 bip32: {
831 public: 0x0488B21E,
832 private: 0x0488ADE4,
833 },
834 pubKeyHash: 0x2d,
835 scriptHash: 0x32,
836 wif: 0xad,
837};
838
839bitcoinjs.bitcoin.networks.minexcoin = {
840 messagePrefix: '\x18Bitcoin Signed Message:\n',
841 bip32: {
842 public: 0x0488B21E,
843 private: 0x0488ADE4,
844 },
845 pubKeyHash: 0x4b,
846 scriptHash: 0x05,
847 wif: 0x80,
848};
849
850bitcoinjs.bitcoin.networks.navcoin = {
851 messagePrefix: '\x18Navcoin Signed Message:\n',
852 bip32: {
853 public: 0x0488B21E,
854 private: 0x0488ADE4,
855 },
856 pubKeyHash: 0x35,
857 scriptHash: 0x55,
858 wif: 0x96,
859};
860
861bitcoinjs.bitcoin.networks.neoscoin = {
862 messagePrefix: '\x18NeosCoin Signed Message:\n',
863 bip32: {
864 public: 0x0488B21E,
865 private: 0x0488ADE4,
866 },
867 pubKeyHash: 0x35,
868 scriptHash: 0x05,
869 wif: 0xb1,
870};
871
872bitcoinjs.bitcoin.networks.neurocoin = {
873 messagePrefix: '\x18PPCoin Signed Message:\n',
874 bip32: {
875 public: 0x0488B21E,
876 private: 0x0488ADE4,
877 },
878 pubKeyHash: 0x35,
879 scriptHash: 0x75,
880 wif: 0xb5,
881};
882
883bitcoinjs.bitcoin.networks.newyorkc = {
884 messagePrefix: '\x18newyorkc Signed Message:\n',
885 bip32: {
886 public: 0x0488b21e,
887 private: 0x0488ade4,
888 },
889 pubKeyHash: 0x3c,
890 scriptHash: 0x16,
891 wif: 0xbc,
892};
893
894bitcoinjs.bitcoin.networks.novacoin = {
895 messagePrefix: '\x18NovaCoin Signed Message:\n',
896 bip32: {
897 public: 0x0488b21e,
898 private: 0x0488ade4,
899 },
900 pubKeyHash: 0x08,
901 scriptHash: 0x14,
902 wif: 0x88,
903};
904
905bitcoinjs.bitcoin.networks.nushares = {
906 messagePrefix: '\x18Nu Signed Message:\n',
907 bip32: {
908 public: 0x0488b21e,
909 private: 0x0488ade4,
910 },
911 pubKeyHash: 0x3f,
912 scriptHash: 0x40,
913 wif: 0x95,
914};
915
916bitcoinjs.bitcoin.networks.okcash = {
917 messagePrefix: '\x18OKCash Signed Message:\n',
918 bip32: {
919 public: 0x03CC23D7,
920 private: 0x03CC1C73,
921 },
922 pubKeyHash: 0x37,
923 scriptHash: 0x1c,
924 wif: 0x03,
925};
926
927bitcoinjs.bitcoin.networks.omnicore = {
928 messagePrefix: '\x18Bitcoin Signed Message:\n',
929 bip32: {
930 public: 0x0488B21E,
931 private: 0x0488ADE4,
932 },
933 pubKeyHash: 0x00,
934 scriptHash: 0x05,
935 wif: 0x80,
936};
937
938bitcoinjs.bitcoin.networks.pesobit = {
939 messagePrefix: '\x18Pesobit Signed Message:\n',
940 bip32: {
941 public: 0x0488b21e,
942 private: 0x0488ade4,
943 },
944 pubKeyHash: 0x37,
945 scriptHash: 0x55,
946 wif: 0xb7,
947};
948
949bitcoinjs.bitcoin.networks.pinkcoin = {
950 messagePrefix: '\x18Pinkcoin Signed Message:\n',
951 bip32: {
952 public: 0x0488b21e,
953 private: 0x0488ade4,
954 },
955 pubKeyHash: 0x03,
956 scriptHash: 0x1c,
957 wif: 0x83,
958};
959
960bitcoinjs.bitcoin.networks.poswcoin = {
961 messagePrefix: '\x18Poswcoin Signed Message:\n',
962 bip32: {
963 public: 0x0488b21e,
964 private: 0x0488ade4,
965 },
966 pubKeyHash: 0x37,
967 scriptHash: 0x55,
968 wif: 0xb7,
969};
970
971bitcoinjs.bitcoin.networks.potcoin = {
972 messagePrefix: '\x18Potcoin Signed Message:\n',
973 bip32: {
974 public: 0x0488b21e,
975 private: 0x0488ade4,
976 },
977 pubKeyHash: 0x37,
978 scriptHash: 0x05,
979 wif: 0xb7,
980};
981
982bitcoinjs.bitcoin.networks.putincoin = {
983 messagePrefix: '\x18PutinCoin Signed Message:\n',
984 bip32: {
985 public: 0x0488b21e,
986 private: 0x0488ade4,
987 },
988 pubKeyHash: 0x37,
989 scriptHash: 0x14,
990 wif: 0xb7,
991};
992
993bitcoinjs.bitcoin.networks.reddcoin = {
994 messagePrefix: '\x18Reddcoin Signed Message:\n',
995 bip32: {
996 public: 0x0488B21E,
997 private: 0x0488ADE4,
998 },
999 pubKeyHash: 0x3d,
1000 scriptHash: 0x05,
1001 wif: 0xbd,
1002};
1003
1004bitcoinjs.bitcoin.networks.revolutionvr = {
1005 messagePrefix: '\x18Voxels Signed Message:\n',
1006 bip32: {
1007 public: 0x0488B21E,
1008 private: 0x0488ADE4,
1009 },
1010 pubKeyHash: 0x46,
1011 scriptHash: 0x05,
1012 wif: 0xc6,
1013};
1014
1015bitcoinjs.bitcoin.networks.rubycoin = {
1016 messagePrefix: '\x18Rubycoin Signed Message:\n',
1017 bip32: {
1018 public: 0x0488B21E,
1019 private: 0x0488ADE4,
1020 },
1021 pubKeyHash: 0x3c,
1022 scriptHash: 0x55,
1023 wif: 0xbc,
1024};
1025
1026bitcoinjs.bitcoin.networks.smileycoin = {
1027 messagePrefix: '\x18Smileycoin Signed Message:\n',
1028 bip32: {
1029 public: 0x1E562D9A,
1030 private: 0x1E5631BC,
1031 },
1032 pubKeyHash: 0x19,
1033 scriptHash: 0x05,
1034 wif: 0x05,
1035};
1036
1037bitcoinjs.bitcoin.networks.solarcoin = {
1038 messagePrefix: '\x18SolarCoin Signed Message:\n',
1039 bip32: {
1040 public: 0x0488b21e,
1041 private: 0x0488ade4,
1042 },
1043 pubKeyHash: 0x12,
1044 scriptHash: 0x05,
1045 wif: 0x92,
1046};
1047
1048bitcoinjs.bitcoin.networks.stratis = {
1049 messagePrefix: '\x18Stratis Signed Message:\n',
1050 bip32: {
1051 public: 0x0488B21E,
1052 private: 0x0488ADE4,
1053 },
1054 pubKeyHash: 0x3f,
1055 scriptHash: 0x7d,
1056 wif: 0xbf,
1057};
1058
1059bitcoinjs.bitcoin.networks.syscoin = {
1060 messagePrefix: '\x18Syscoin Signed Message:\n',
1061 bip32: {
1062 public: 0x0488B21E,
1063 private: 0x0488ADE4,
1064 },
1065 pubKeyHash: 0x3f,
1066 scriptHash: 0x05,
1067 wif: 0xbf,
1068};
1069
1070
1071bitcoinjs.bitcoin.networks.toa = {
1072 messagePrefix: '\x18TOA Signed Message:\n',
1073 bip32: {
1074 public: 0x0488b21e,
1075 private: 0x0488ade4,
1076 },
1077 pubKeyHash: 0x41,
1078 scriptHash: 0x17,
1079 wif: 0xc1,
1080};
1081
1082bitcoinjs.bitcoin.networks.ultimatesecurecash = {
1083 messagePrefix: '\x18UltimateSecureCash Signed Message:\n',
1084 bip32: {
1085 public: 0xEE80286A,
1086 private: 0xEE8031E8,
1087 },
1088 pubKeyHash: 0x44,
1089 scriptHash: 0x7d,
1090 wif: 0xbf,
1091};
1092
1093bitcoinjs.bitcoin.networks.unobtanium = {
1094 messagePrefix: '\x18Unobtanium Signed Message:\n',
1095 bip32: {
1096 public: 0x0488B21E,
1097 private: 0x0488ADE4,
1098 },
1099 pubKeyHash: 0x82,
1100 scriptHash: 0x1e,
1101 wif: 0xe0,
1102};
1103
1104bitcoinjs.bitcoin.networks.vcash = {
1105 messagePrefix: '\x18Vcash Signed Message:\n',
1106 bip32: {
1107 public: 0x0488b21e,
1108 private: 0x0488ade4,
1109 },
1110 pubKeyHash: 0x47,
1111 scriptHash: 0x08,
1112 wif: 0xc7,
1113};
1114
1115bitcoinjs.bitcoin.networks.verge = {
1116 messagePrefix: '\x18VERGE Signed Message:\n',
1117 bip32: {
1118 public: 0x0488b21e,
1119 private: 0x0488ade4,
1120 },
1121 pubKeyHash: 0x1e,
1122 scriptHash: 0x21,
1123 wif: 0x9e,
1124};
1125
1126bitcoinjs.bitcoin.networks.vertcoin = {
1127 messagePrefix: '\x18Vertcoin Signed Message:\n',
1128 bip32: {
1129 public: 0x0488b21e,
1130 private: 0x0488ade4,
1131 },
1132 pubKeyHash: 0x47,
1133 scriptHash: 0x05,
1134 wif: 0xc7,
1135};
1136
1137bitcoinjs.bitcoin.networks.vivo = {
1138 messagePrefix: '\x18DarkCoin Signed Message:\n',
1139 bip32: {
1140 public: 0x0488B21E,
1141 private: 0x0488ADE4,
1142 },
1143 pubKeyHash: 0x46,
1144 scriptHash: 0x0a,
1145 wif: 0xc6,
1146};
1147
1148bitcoinjs.bitcoin.networks.vpncoin = {
1149 messagePrefix: '\x18VpnCoin Signed Message:\n',
1150 bip32: {
1151 public: 0x0488b21e,
1152 private: 0x0488ade4,
1153 },
1154 pubKeyHash: 0x47,
1155 scriptHash: 0x05,
1156 wif: 0xc7,
1157};
1158
1159bitcoinjs.bitcoin.networks.whitecoin = {
1160 messagePrefix: '\x18Whitecoin Signed Message:\n',
1161 bip32: {
1162 public: 0x04887F1E,
1163 private: 0x048894ED,
1164 },
1165 pubKeyHash: 0x49,
1166 scriptHash: 0x57,
1167 wif: 0xc9,
1168};
1169
1170bitcoinjs.bitcoin.networks.wincoin = {
1171 messagePrefix: '\x18WinCoin Signed Message:\n',
1172 bip32: {
1173 public: 0x0488b21e,
1174 private: 0x0488ade4,
1175 },
1176 pubKeyHash: 0x49,
1177 scriptHash: 0x1c,
1178 wif: 0xc9,
1179};
1180
1181bitcoinjs.bitcoin.networks.zcoin = {
1182 messagePrefix: '\x18Zcoin Signed Message:\n',
1183 bip32: {
1184 public: 0x0488B21E,
1185 private: 0x0488ADE4,
1186 },
1187 pubKeyHash: 0x52,
1188 scriptHash: 0x07,
1189 wif: 0xd2,
1190};
diff --git a/src/js/index.js b/src/js/index.js
index 150ec4a..ee47509 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1515,6 +1515,30 @@
1515 1515
1516 var networks = [ 1516 var networks = [
1517 { 1517 {
1518 name: "AC - Asiacoin",
1519 segwitAvailable: false,
1520 onSelect: function() {
1521 network = bitcoinjs.bitcoin.networks.asiacoin;
1522 setHdCoin(51);
1523 },
1524 },
1525 {
1526 name: "ACC - Adcoin",
1527 segwitAvailable: true,
1528 onSelect: function() {
1529 network = bitcoinjs.bitcoin.networks.adcoin;
1530 setHdCoin(161);
1531 },
1532 },
1533 {
1534 name: "AUR - Auroracoin",
1535 segwitAvailable: false,
1536 onSelect: function() {
1537 network = bitcoinjs.bitcoin.networks.auroracoin;
1538 setHdCoin(85);
1539 },
1540 },
1541 {
1518 name: "AXE - Axe", 1542 name: "AXE - Axe",
1519 segwitAvailable: false, 1543 segwitAvailable: false,
1520 onSelect: function() { 1544 onSelect: function() {
@@ -1523,6 +1547,14 @@
1523 }, 1547 },
1524 }, 1548 },
1525 { 1549 {
1550 name: "BCA - Bitcoin Atom",
1551 segwitAvailable: true,
1552 onSelect: function() {
1553 network = bitcoinjs.bitcoin.networks.atom;
1554 setHdCoin(185);
1555 },
1556 },
1557 {
1526 name: "BCH - Bitcoin Cash", 1558 name: "BCH - Bitcoin Cash",
1527 segwitAvailable: false, 1559 segwitAvailable: false,
1528 onSelect: function() { 1560 onSelect: function() {
@@ -1540,6 +1572,14 @@
1540 }, 1572 },
1541 }, 1573 },
1542 { 1574 {
1575 name: "BELA - Belacoin",
1576 segwitAvailable: false,
1577 onSelect: function() {
1578 network = bitcoinjs.bitcoin.networks.belacoin;
1579 setHdCoin(73);
1580 },
1581 },
1582 {
1543 name: "BLK - BlackCoin", 1583 name: "BLK - BlackCoin",
1544 segwitAvailable: false, 1584 segwitAvailable: false,
1545 onSelect: function() { 1585 onSelect: function() {
@@ -1548,6 +1588,30 @@
1548 }, 1588 },
1549 }, 1589 },
1550 { 1590 {
1591 name: "BRIT - Britcoin",
1592 segwitAvailable: false,
1593 onSelect: function() {
1594 network = bitcoinjs.bitcoin.networks.britcoin;
1595 setHdCoin(70);
1596 },
1597 },
1598 {
1599 name: "BSD - Bitsend",
1600 segwitAvailable: true,
1601 onSelect: function() {
1602 network = bitcoinjs.bitcoin.networks.bitsend;
1603 setHdCoin(91);
1604 },
1605 },
1606 {
1607 name: "BTA - Bata",
1608 segwitAvailable: false,
1609 onSelect: function() {
1610 network = bitcoinjs.bitcoin.networks.bata;
1611 setHdCoin(89);
1612 },
1613 },
1614 {
1551 name: "BTC - Bitcoin", 1615 name: "BTC - Bitcoin",
1552 segwitAvailable: true, 1616 segwitAvailable: true,
1553 onSelect: function() { 1617 onSelect: function() {
@@ -1572,6 +1636,30 @@
1572 }, 1636 },
1573 }, 1637 },
1574 { 1638 {
1639 name: "BTX - Bitcore",
1640 segwitAvailable: true,
1641 onSelect: function() {
1642 network = bitcoinjs.bitcoin.networks.bitcore;
1643 setHdCoin(160);
1644 },
1645 },
1646 {
1647 name: "CCN - Cannacoin",
1648 segwitAvailable: false,
1649 onSelect: function() {
1650 network = bitcoinjs.bitcoin.networks.cannacoin;
1651 setHdCoin(19);
1652 },
1653 },
1654 {
1655 name: "CDN - Canadaecoin",
1656 segwitAvailable: false,
1657 onSelect: function() {
1658 network = bitcoinjs.bitcoin.networks.canadaecoin;
1659 setHdCoin(34);
1660 },
1661 },
1662 {
1575 name: "CLAM - Clams", 1663 name: "CLAM - Clams",
1576 segwitAvailable: false, 1664 segwitAvailable: false,
1577 onSelect: function() { 1665 onSelect: function() {
@@ -1580,6 +1668,30 @@
1580 }, 1668 },
1581 }, 1669 },
1582 { 1670 {
1671 name: "CLUB - Clubcoin",
1672 segwitAvailable: false,
1673 onSelect: function() {
1674 network = bitcoinjs.bitcoin.networks.clubcoin;
1675 setHdCoin(79);
1676 },
1677 },
1678 {
1679 name: "CMP - Compcoin",
1680 segwitAvailable: false,
1681 onSelect: function() {
1682 network = bitcoinjs.bitcoin.networks.compcoin;
1683 setHdCoin(71);
1684 },
1685 },
1686 {
1687 name: "CRAVE - Crave",
1688 segwitAvailable: false,
1689 onSelect: function() {
1690 network = bitcoinjs.bitcoin.networks.crave;
1691 setHdCoin(186);
1692 },
1693 },
1694 {
1583 name: "CRW - Crown", 1695 name: "CRW - Crown",
1584 segwitAvailable: false, 1696 segwitAvailable: false,
1585 onSelect: function() { 1697 onSelect: function() {
@@ -1604,6 +1716,38 @@
1604 }, 1716 },
1605 }, 1717 },
1606 { 1718 {
1719 name: "DFC - Defcoin",
1720 segwitAvailable: false,
1721 onSelect: function() {
1722 network = bitcoinjs.bitcoin.networks.defcoin;
1723 setHdCoin(1337);
1724 },
1725 },
1726 {
1727 name: "DGB - Digibyte",
1728 segwitAvailable: true,
1729 onSelect: function() {
1730 network = bitcoinjs.bitcoin.networks.digibyte;
1731 setHdCoin(20);
1732 },
1733 },
1734 {
1735 name: "DGC - Digitalcoin",
1736 segwitAvailable: false,
1737 onSelect: function() {
1738 network = bitcoinjs.bitcoin.networks.digitalcoin;
1739 setHdCoin(18);
1740 },
1741 },
1742 {
1743 name: "DMD - Diamond",
1744 segwitAvailable: false,
1745 onSelect: function() {
1746 network = bitcoinjs.bitcoin.networks.diamond;
1747 setHdCoin(152);
1748 },
1749 },
1750 {
1607 name: "DNR - Denarius", 1751 name: "DNR - Denarius",
1608 segwitAvailable: false, 1752 segwitAvailable: false,
1609 onSelect: function() { 1753 onSelect: function() {
@@ -1620,6 +1764,46 @@
1620 }, 1764 },
1621 }, 1765 },
1622 { 1766 {
1767 name: "ECN - Ecoin",
1768 segwitAvailable: false,
1769 onSelect: function() {
1770 network = bitcoinjs.bitcoin.networks.ecoin;
1771 setHdCoin(115);
1772 },
1773 },
1774 {
1775 name: "EDRC - Edrcoin",
1776 segwitAvailable: false,
1777 onSelect: function() {
1778 network = bitcoinjs.bitcoin.networks.edrcoin;
1779 setHdCoin(56);
1780 },
1781 },
1782 {
1783 name: "EFL - Egulden",
1784 segwitAvailable: true,
1785 onSelect: function() {
1786 network = bitcoinjs.bitcoin.networks.egulden;
1787 setHdCoin(78);
1788 },
1789 },
1790 {
1791 name: "EMC2 - Einsteinium",
1792 segwitAvailable: false,
1793 onSelect: function() {
1794 network = bitcoinjs.bitcoin.networks.einsteinium;
1795 setHdCoin(41);
1796 },
1797 },
1798 {
1799 name: "ERC - Europecoin",
1800 segwitAvailable: false,
1801 onSelect: function() {
1802 network = bitcoinjs.bitcoin.networks.europecoin;
1803 setHdCoin(151);
1804 },
1805 },
1806 {
1623 name: "ETH - Ethereum", 1807 name: "ETH - Ethereum",
1624 segwitAvailable: false, 1808 segwitAvailable: false,
1625 onSelect: function() { 1809 onSelect: function() {
@@ -1628,6 +1812,14 @@
1628 }, 1812 },
1629 }, 1813 },
1630 { 1814 {
1815 name: "EXCL - Exclusivecoin",
1816 segwitAvailable: false,
1817 onSelect: function() {
1818 network = bitcoinjs.bitcoin.networks.exclusivecoin;
1819 setHdCoin(190);
1820 },
1821 },
1822 {
1631 name: "FJC - Fujicoin", 1823 name: "FJC - Fujicoin",
1632 segwitAvailable: true, 1824 segwitAvailable: true,
1633 onSelect: function() { 1825 onSelect: function() {
@@ -1636,6 +1828,30 @@
1636 }, 1828 },
1637 }, 1829 },
1638 { 1830 {
1831 name: "FLASH - Flashcoin",
1832 segwitAvailable: false,
1833 onSelect: function() {
1834 network = bitcoinjs.bitcoin.networks.flashcoin;
1835 setHdCoin(120);
1836 },
1837 },
1838 {
1839 name: "FRST - Firstcoin",
1840 segwitAvailable: false,
1841 onSelect: function() {
1842 network = bitcoinjs.bitcoin.networks.firstcoin;
1843 setHdCoin(167);
1844 },
1845 },
1846 {
1847 name: "FTC - Feathercoin",
1848 segwitAvailable: true,
1849 onSelect: function() {
1850 network = bitcoinjs.bitcoin.networks.feathercoin;
1851 setHdCoin(8);
1852 },
1853 },
1854 {
1639 name: "GAME - GameCredits", 1855 name: "GAME - GameCredits",
1640 segwitAvailable: false, 1856 segwitAvailable: false,
1641 onSelect: function() { 1857 onSelect: function() {
@@ -1644,6 +1860,62 @@
1644 }, 1860 },
1645 }, 1861 },
1646 { 1862 {
1863 name: "GBX - Gobyte",
1864 segwitAvailable: false,
1865 onSelect: function() {
1866 network = bitcoinjs.bitcoin.networks.gobyte;
1867 setHdCoin(176);
1868 },
1869 },
1870 {
1871 name: "GCR - GCRCoin",
1872 segwitAvailable: false,
1873 onSelect: function() {
1874 network = bitcoinjs.bitcoin.networks.gcr;
1875 setHdCoin(79);
1876 },
1877 },
1878 {
1879 name: "GRC - Gridcoin",
1880 segwitAvailable: false,
1881 onSelect: function() {
1882 network = bitcoinjs.bitcoin.networks.gridcoin;
1883 setHdCoin(84);
1884 },
1885 },
1886 {
1887 name: "HNC - Helleniccoin",
1888 segwitAvailable: false,
1889 onSelect: function() {
1890 network = bitcoinjs.bitcoin.networks.helleniccoin;
1891 setHdCoin(168);
1892 },
1893 },
1894 {
1895 name: "INSN - Insane",
1896 segwitAvailable: false,
1897 onSelect: function() {
1898 network = bitcoinjs.bitcoin.networks.insane;
1899 setHdCoin(68);
1900 },
1901 },
1902 {
1903 name: "IOP - Iop",
1904 segwitAvailable: true,
1905 onSelect: function() {
1906 network = bitcoinjs.bitcoin.networks.iop;
1907 setHdCoin(66);
1908 },
1909 },
1910 {
1911 name: "IXC - Ixcoin",
1912 segwitAvailable: false,
1913 onSelect: function() {
1914 network = bitcoinjs.bitcoin.networks.ixcoin;
1915 setHdCoin(86);
1916 },
1917 },
1918 {
1647 name: "JBS - Jumbucks", 1919 name: "JBS - Jumbucks",
1648 segwitAvailable: false, 1920 segwitAvailable: false,
1649 onSelect: function() { 1921 onSelect: function() {
@@ -1660,6 +1932,38 @@
1660 }, 1932 },
1661 }, 1933 },
1662 { 1934 {
1935 name: "LBC - Library Credits",
1936 segwitAvailable: false,
1937 onSelect: function() {
1938 network = bitcoinjs.bitcoin.networks.lbry;
1939 setHdCoin(140);
1940 },
1941 },
1942 {
1943 name: "LCC - Litecoincash",
1944 segwitAvailable: true,
1945 onSelect: function() {
1946 network = bitcoinjs.bitcoin.networks.litecoincash;
1947 setHdCoin(192);
1948 },
1949 },
1950 {
1951 name: "LDCN - Landcoin",
1952 segwitAvailable: false,
1953 onSelect: function() {
1954 network = bitcoinjs.bitcoin.networks.landcoin;
1955 setHdCoin(63);
1956 },
1957 },
1958 {
1959 name: "LINX - Linx",
1960 segwitAvailable: false,
1961 onSelect: function() {
1962 network = bitcoinjs.bitcoin.networks.linx;
1963 setHdCoin(114);
1964 },
1965 },
1966 {
1663 name: "LTC - Litecoin", 1967 name: "LTC - Litecoin",
1664 segwitAvailable: true, 1968 segwitAvailable: true,
1665 onSelect: function() { 1969 onSelect: function() {
@@ -1669,6 +1973,14 @@
1669 }, 1973 },
1670 }, 1974 },
1671 { 1975 {
1976 name: "LYNX - Lynx",
1977 segwitAvailable: false,
1978 onSelect: function() {
1979 network = bitcoinjs.bitcoin.networks.lynx;
1980 setHdCoin(191);
1981 },
1982 },
1983 {
1672 name: "MAZA - Maza", 1984 name: "MAZA - Maza",
1673 segwitAvailable: false, 1985 segwitAvailable: false,
1674 onSelect: function() { 1986 onSelect: function() {
@@ -1677,6 +1989,14 @@
1677 }, 1989 },
1678 }, 1990 },
1679 { 1991 {
1992 name: "MNX - Minexcoin",
1993 segwitAvailable: true,
1994 onSelect: function() {
1995 network = bitcoinjs.bitcoin.networks.minexcoin;
1996 setHdCoin(182);
1997 },
1998 },
1999 {
1680 name: "MONA - Monacoin", 2000 name: "MONA - Monacoin",
1681 segwitAvailable: true, 2001 segwitAvailable: true,
1682 onSelect: function() { 2002 onSelect: function() {
@@ -1685,6 +2005,14 @@
1685 }, 2005 },
1686 }, 2006 },
1687 { 2007 {
2008 name: "NAV - Navcoin",
2009 segwitAvailable: true,
2010 onSelect: function() {
2011 network = bitcoinjs.bitcoin.networks.navcoin;
2012 setHdCoin(130);
2013 },
2014 },
2015 {
1688 name: "NEBL - Neblio", 2016 name: "NEBL - Neblio",
1689 segwitAvailable: false, 2017 segwitAvailable: false,
1690 onSelect: function() { 2018 onSelect: function() {
@@ -1693,6 +2021,22 @@
1693 }, 2021 },
1694 }, 2022 },
1695 { 2023 {
2024 name: "NEOS - Neoscoin",
2025 segwitAvailable: false,
2026 onSelect: function() {
2027 network = bitcoinjs.bitcoin.networks.neoscoin;
2028 setHdCoin(25);
2029 },
2030 },
2031 {
2032 name: "NLG - Gulden",
2033 segwitAvailable: false,
2034 onSelect: function() {
2035 network = bitcoinjs.bitcoin.networks.gulden;
2036 setHdCoin(87);
2037 },
2038 },
2039 {
1696 name: "NMC - Namecoin", 2040 name: "NMC - Namecoin",
1697 segwitAvailable: false, 2041 segwitAvailable: false,
1698 onSelect: function() { 2042 onSelect: function() {
@@ -1701,6 +2045,54 @@
1701 }, 2045 },
1702 }, 2046 },
1703 { 2047 {
2048 name: "NRO - Neurocoin",
2049 segwitAvailable: false,
2050 onSelect: function() {
2051 network = bitcoinjs.bitcoin.networks.neurocoin;
2052 setHdCoin(110);
2053 },
2054 },
2055 {
2056 name: "NSR - Nushares",
2057 segwitAvailable: false,
2058 onSelect: function() {
2059 network = bitcoinjs.bitcoin.networks.nushares;
2060 setHdCoin(11);
2061 },
2062 },
2063 {
2064 name: "NYC - Newyorkc",
2065 segwitAvailable: false,
2066 onSelect: function() {
2067 network = bitcoinjs.bitcoin.networks.newyorkc;
2068 setHdCoin(179);
2069 },
2070 },
2071 {
2072 name: "NVC - Novacoin",
2073 segwitAvailable: false,
2074 onSelect: function() {
2075 network = bitcoinjs.bitcoin.networks.novacoin;
2076 setHdCoin(50);
2077 },
2078 },
2079 {
2080 name: "OK - Okcash",
2081 segwitAvailable: false,
2082 onSelect: function() {
2083 network = bitcoinjs.bitcoin.networks.okcash;
2084 setHdCoin(69);
2085 },
2086 },
2087 {
2088 name: "OMNI - Omnicore",
2089 segwitAvailable: true,
2090 onSelect: function() {
2091 network = bitcoinjs.bitcoin.networks.omnicore;
2092 setHdCoin(200);
2093 },
2094 },
2095 {
1704 name: "ONX - Onixcoin", 2096 name: "ONX - Onixcoin",
1705 segwitAvailable: false, 2097 segwitAvailable: false,
1706 onSelect: function() { 2098 onSelect: function() {
@@ -1709,6 +2101,14 @@
1709 }, 2101 },
1710 }, 2102 },
1711 { 2103 {
2104 name: "PINK - Pinkcoin",
2105 segwitAvailable: false,
2106 onSelect: function() {
2107 network = bitcoinjs.bitcoin.networks.pinkcoin;
2108 setHdCoin(117);
2109 },
2110 },
2111 {
1712 name: "PIVX - PIVX", 2112 name: "PIVX - PIVX",
1713 segwitAvailable: false, 2113 segwitAvailable: false,
1714 onSelect: function() { 2114 onSelect: function() {
@@ -1725,6 +2125,22 @@
1725 }, 2125 },
1726 }, 2126 },
1727 { 2127 {
2128 name: "POSW - POSWcoin",
2129 segwitAvailable: false,
2130 onSelect: function() {
2131 network = bitcoinjs.bitcoin.networks.poswcoin;
2132 setHdCoin(47);
2133 },
2134 },
2135 {
2136 name: "POT - Potcoin",
2137 segwitAvailable: false,
2138 onSelect: function() {
2139 network = bitcoinjs.bitcoin.networks.potcoin;
2140 setHdCoin(81);
2141 },
2142 },
2143 {
1728 name: "PPC - Peercoin", 2144 name: "PPC - Peercoin",
1729 segwitAvailable: false, 2145 segwitAvailable: false,
1730 onSelect: function() { 2146 onSelect: function() {
@@ -1733,6 +2149,46 @@
1733 }, 2149 },
1734 }, 2150 },
1735 { 2151 {
2152 name: "PSB - Pesobit",
2153 segwitAvailable: false,
2154 onSelect: function() {
2155 network = bitcoinjs.bitcoin.networks.pesobit;
2156 setHdCoin(62);
2157 },
2158 },
2159 {
2160 name: "PUT - Putincoin",
2161 segwitAvailable: false,
2162 onSelect: function() {
2163 network = bitcoinjs.bitcoin.networks.putincoin;
2164 setHdCoin(122);
2165 },
2166 },
2167 {
2168 name: "RBY - Rubycoin",
2169 segwitAvailable: false,
2170 onSelect: function() {
2171 network = bitcoinjs.bitcoin.networks.rubycoin;
2172 setHdCoin(16);
2173 },
2174 },
2175 {
2176 name: "RDD - Reddcoin",
2177 segwitAvailable: false,
2178 onSelect: function() {
2179 network = bitcoinjs.bitcoin.networks.reddoin;
2180 setHdCoin(4);
2181 },
2182 },
2183 {
2184 name: "RVR - RevolutionVR",
2185 segwitAvailable: false,
2186 onSelect: function() {
2187 network = bitcoinjs.bitcoin.networks.revolutionvr;
2188 setHdCoin(129);
2189 },
2190 },
2191 {
1736 name: "SDC - ShadowCash", 2192 name: "SDC - ShadowCash",
1737 segwitAvailable: false, 2193 segwitAvailable: false,
1738 onSelect: function() { 2194 onSelect: function() {
@@ -1765,6 +2221,62 @@
1765 }, 2221 },
1766 }, 2222 },
1767 { 2223 {
2224 name: "SLR - Solarcoin",
2225 segwitAvailable: false,
2226 onSelect: function() {
2227 network = bitcoinjs.bitcoin.networks.solarcoin;
2228 setHdCoin(58);
2229 },
2230 },
2231 {
2232 name: "SMLY - Smileycoin",
2233 segwitAvailable: false,
2234 onSelect: function() {
2235 network = bitcoinjs.bitcoin.networks.smileycoin;
2236 setHdCoin(59);
2237 },
2238 },
2239 {
2240 name: "STRAT - Stratis",
2241 segwitAvailable: false,
2242 onSelect: function() {
2243 network = bitcoinjs.bitcoin.networks.stratis;
2244 setHdCoin(105);
2245 },
2246 },
2247 {
2248 name: "SYS - Syscoin",
2249 segwitAvailable: true,
2250 onSelect: function() {
2251 network = bitcoinjs.bitcoin.networks.syscoin;
2252 setHdCoin(57);
2253 },
2254 },
2255 {
2256 name: "THC - Hempcoin",
2257 segwitAvailable: false,
2258 onSelect: function() {
2259 network = bitcoinjs.bitcoin.networks.hempcoin;
2260 setHdCoin(113);
2261 },
2262 },
2263 {
2264 name: "TOA - Toa",
2265 segwitAvailable: false,
2266 onSelect: function() {
2267 network = bitcoinjs.bitcoin.networks.toa;
2268 setHdCoin(159);
2269 },
2270 },
2271 {
2272 name: "USC - Ultimatesecurecash",
2273 segwitAvailable: false,
2274 onSelect: function() {
2275 network = bitcoinjs.bitcoin.networks.ultimatesecurecash;
2276 setHdCoin(112);
2277 },
2278 },
2279 {
1768 name: "USNBT - NuBits", 2280 name: "USNBT - NuBits",
1769 segwitAvailable: false, 2281 segwitAvailable: false,
1770 onSelect: function() { 2282 onSelect: function() {
@@ -1773,6 +2285,22 @@
1773 }, 2285 },
1774 }, 2286 },
1775 { 2287 {
2288 name: "UNO - Unobtanium",
2289 segwitAvailable: false,
2290 onSelect: function() {
2291 network = bitcoinjs.bitcoin.networks.unobtanium;
2292 setHdCoin(92);
2293 },
2294 },
2295 {
2296 name: "VASH - Vpncoin",
2297 segwitAvailable: false,
2298 onSelect: function() {
2299 network = bitcoinjs.bitcoin.networks.vpncoin;
2300 setHdCoin(33);
2301 },
2302 },
2303 {
1776 name: "VIA - Viacoin", 2304 name: "VIA - Viacoin",
1777 segwitAvailable: false, 2305 segwitAvailable: false,
1778 onSelect: function() { 2306 onSelect: function() {
@@ -1789,6 +2317,38 @@
1789 }, 2317 },
1790 }, 2318 },
1791 { 2319 {
2320 name: "VIVO - Vivo",
2321 segwitAvailable: false,
2322 onSelect: function() {
2323 network = bitcoinjs.bitcoin.networks.vivo;
2324 setHdCoin(166);
2325 },
2326 },
2327 {
2328 name: "VTC - Vertcoin",
2329 segwitAvailable: false,
2330 onSelect: function() {
2331 network = bitcoinjs.bitcoin.networks.vertcoin;
2332 setHdCoin(28);
2333 },
2334 },
2335 {
2336 name: "WC - Wincoin",
2337 segwitAvailable: false,
2338 onSelect: function() {
2339 network = bitcoinjs.bitcoin.networks.wincoin;
2340 setHdCoin(181);
2341 },
2342 },
2343 {
2344 name: "XBC - Bitcoinplus",
2345 segwitAvailable: false,
2346 onSelect: function() {
2347 network = bitcoinjs.bitcoin.networks.bitcoinplus;
2348 setHdCoin(65);
2349 },
2350 },
2351 {
1792 name: "XMY - Myriadcoin", 2352 name: "XMY - Myriadcoin",
1793 segwitAvailable: false, 2353 segwitAvailable: false,
1794 onSelect: function() { 2354 onSelect: function() {
@@ -1804,6 +2364,38 @@
1804 setHdCoin(144); 2364 setHdCoin(144);
1805 }, 2365 },
1806 }, 2366 },
2367 {
2368 name: "XVC - Vcash",
2369 segwitAvailable: false,
2370 onSelect: function() {
2371 network = bitcoinjs.bitcoin.networks.vcash;
2372 setHdCoin(127);
2373 },
2374 },
2375 {
2376 name: "XVG - Verge",
2377 segwitAvailable: false,
2378 onSelect: function() {
2379 network = bitcoinjs.bitcoin.networks.verge;
2380 setHdCoin(77);
2381 },
2382 },
2383 {
2384 name: "XWC - Whitecoin",
2385 segwitAvailable: false,
2386 onSelect: function() {
2387 network = bitcoinjs.bitcoin.networks.whitecoin;
2388 setHdCoin(155);
2389 },
2390 },
2391 {
2392 name: "XZC - Zcoin",
2393 segwitAvailable: true,
2394 onSelect: function() {
2395 network = bitcoinjs.bitcoin.networks.zcoin;
2396 setHdCoin(136);
2397 },
2398 },
1807 ] 2399 ]
1808 2400
1809 var clients = [ 2401 var clients = [
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 64ed71b..571047f 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -641,6 +641,525 @@ it('Allows selection of Beetlecoin', function(done) {
641 }; 641 };
642 testNetwork(done, params); 642 testNetwork(done, params);
643}); 643});
644it('Allows selection of Adcoin', function(done) {
645 var params = {
646 selectText: "ACC - Adcoin",
647 firstAddress: "AcEDM6V5sF4kFHC76MJjjfProtS5Sw2qcd",
648 };
649 testNetwork(done, params);
650});
651it('Allows selection of Asiacoin', function(done) {
652 var params = {
653 selectText: "AC - Asiacoin",
654 firstAddress: "ALupuEEz7kJjQTAvmtcBMBVuEjPa7GqZzE",
655 };
656 testNetwork(done, params);
657});
658it('Allows selection of Auroracoin', function(done) {
659 var params = {
660 selectText: "AUR - Auroracoin",
661 firstAddress: "ANuraS6F4Jpi413FEnavjYkKYJJRHkgYCm",
662 };
663 testNetwork(done, params);
664});
665it('Allows selection of Bata', function(done) {
666 var params = {
667 selectText: "BTA - Bata",
668 firstAddress: "BGxBdNeYPtF3GCuTtZBPQdFxCkdBYSF3fj",
669 };
670 testNetwork(done, params);
671});
672it('Allows selection of Belacoin', function(done) {
673 var params = {
674 selectText: "BELA - Belacoin",
675 firstAddress: "BEeetqpNffdzeknSpNmQp5KAFh2KK1Qx7S",
676 };
677 testNetwork(done, params);
678});
679it('Allows selection of Bitcoin Atom', function(done) {
680 var params = {
681 selectText: "BCA - Bitcoin Atom",
682 firstAddress: "AMy6qMbJeC4zsGRL6iWszmeCdQH65fgfih",
683 };
684 testNetwork(done, params);
685});
686it('Allows selection of Bitcoinplus', function(done) {
687 var params = {
688 selectText: "XBC - Bitcoinplus",
689 firstAddress: "B7FSynZoDbEwTCSgsXq9nJ5ue8owYLVL8r",
690 };
691 testNetwork(done, params);
692});
693it('Allows selection of Bitcore', function(done) {
694 var params = {
695 selectText: "BTX - Bitcore",
696 firstAddress: "1Dg18EtqhReS11e9h8khkLjWGLHVjPM2AB",
697 };
698 testNetwork(done, params);
699});
700it('Allows selection of Bitsend', function(done) {
701 var params = {
702 selectText: "BSD - Bitsend",
703 firstAddress: "iBPk7LYjDun3EPk7CRR8UUmnPoceVc1bp2",
704 };
705 testNetwork(done, params);
706});
707it('Allows selection of Britcoin', function(done) {
708 var params = {
709 selectText: "BRIT - Britcoin",
710 firstAddress: "B6Aue4J2XLs1f1dtD4H1SHYFfh4XrmEbrw",
711 };
712 testNetwork(done, params);
713});
714it('Allows selection of Canadaecoin', function(done) {
715 var params = {
716 selectText: "CDN - Canadaecoin",
717 firstAddress: "CanAyCfd5Rj2CQVfaoAmvDUZunPM5W1AEQ",
718 };
719 testNetwork(done, params);
720});
721it('Allows selection of Cannacoin', function(done) {
722 var params = {
723 selectText: "CCN - Cannacoin",
724 firstAddress: "CYjW8xWB43g6krLJTmmrPk1PonoQX7h9Qd",
725 };
726 testNetwork(done, params);
727});
728it('Allows selection of Clubcoin', function(done) {
729 var params = {
730 selectText: "CLUB - Clubcoin",
731 firstAddress: "CHMDEXN4sihpSVX4GyAa2hZ62shnby7uyN",
732 };
733 testNetwork(done, params);
734});
735it('Allows selection of Compcoin', function(done) {
736 var params = {
737 selectText: "CMP - Compcoin",
738 firstAddress: "CLshtw3zhxkseBJS46UF12v3AFy9Dx7JVv",
739 };
740 testNetwork(done, params);
741});
742it('Allows selection of Crave', function(done) {
743 var params = {
744 selectText: "CRAVE - Crave",
745 firstAddress: "VCYJeti6uKMNBFKCL7eP96UwuFWYHM7c85",
746 };
747 testNetwork(done, params);
748});
749it('Allows selection of Defcoin', function(done) {
750 var params = {
751 selectText: "DFC - Defcoin",
752 firstAddress: "D8swcgyaaFUrXZU3ATwbgy16buCpWqbG1M",
753 };
754 testNetwork(done, params);
755});
756it('Allows selection of Diamond', function(done) {
757 var params = {
758 selectText: "DMD - Diamond",
759 firstAddress: "dJnrVbLL9UPjdaVRz2C8VpqHZknqAqjLek",
760 };
761 testNetwork(done, params);
762});
763it('Allows selection of Digibyte', function(done) {
764 var params = {
765 selectText: "DGB - Digibyte",
766 firstAddress: "D85Rp9jwLtMdmP6wGjTiqHBdVQLST3YCEq",
767 };
768 testNetwork(done, params);
769});
770it('Allows selection of Digitalcoin', function(done) {
771 var params = {
772 selectText: "DGC - Digitalcoin",
773 firstAddress: "DKw4UGKEAZWweDNEbBFNQx4EM8x1mpUdia",
774 };
775 testNetwork(done, params);
776});
777it('Allows selection of Ecoin', function(done) {
778 var params = {
779 selectText: "ECN - Ecoin",
780 firstAddress: "e6WFPLG5gcXyF7cESFteH1hE2XSmowW5yB",
781 };
782 testNetwork(done, params);
783});
784it('Allows selection of Edrcoin', function(done) {
785 var params = {
786 selectText: "EDRC - Edrcoin",
787 firstAddress: "eh1nUJsvgKPFv6ebMBfcwJ299GMCpjeZUG",
788 };
789 testNetwork(done, params);
790});
791it('Allows selection of Egulden', function(done) {
792 var params = {
793 selectText: "EFL - Egulden",
794 firstAddress: "Lg66yt55R7edRM58cDhKzXik2kFme3viX7",
795 };
796 testNetwork(done, params);
797});
798it('Allows selection of Einsteinium', function(done) {
799 var params = {
800 selectText: "EMC2 - Einsteinium",
801 firstAddress: "EVAABm9hXKHk2MpVMbwNakRubFnNha5m8m",
802 };
803 testNetwork(done, params);
804});
805it('Allows selection of Europecoin', function(done) {
806 var params = {
807 selectText: "ERC - Europecoin",
808 firstAddress: "ESA2YwPYntAoaPrE8Fm5qkKRtkcwLcwD6R",
809 };
810 testNetwork(done, params);
811});
812it('Allows selection of Exclusivecoin', function(done) {
813 var params = {
814 selectText: "EXCL - Exclusivecoin",
815 firstAddress: "EbUa6m8UZW6nTxsYZD2FsDjkadKbp5M6JT",
816 };
817 testNetwork(done, params);
818});
819it('Allows selection of Feathercoin', function(done) {
820 var params = {
821 selectText: "FTC - Feathercoin",
822 firstAddress: "6gDdjAMoSgQaW8UhqK3oboHs6ftGAroKkM",
823 };
824 testNetwork(done, params);
825});
826it('Allows selection of Firstcoin', function(done) {
827 var params = {
828 selectText: "FRST - Firstcoin",
829 firstAddress: "FJN9GzfMm7Q8R4DJwK1H9F6A1GTghvFiMJ",
830 };
831 testNetwork(done, params);
832});
833it('Allows selection of Flashcoin', function(done) {
834 var params = {
835 selectText: "FLASH - Flashcoin",
836 firstAddress: "UWfpf5LfMmLxZYooEb2EyvWhZ8NG7EZDRt",
837 };
838 testNetwork(done, params);
839});
840it('Allows selection of GCRCoin', function(done) {
841 var params = {
842 selectText: "GCR - GCRCoin",
843 firstAddress: "GJjF5cLwyXLacpuvXAVksxGxKvHDjx58d6",
844 };
845 testNetwork(done, params);
846});
847it('Allows selection of Gobyte', function(done) {
848 var params = {
849 selectText: "GBX - Gobyte",
850 firstAddress: "GS813Ys2brkmvSUw1rUqGPm2HqQVDHJRyA",
851 };
852 testNetwork(done, params);
853});
854it('Allows selection of Gridcoin', function(done) {
855 var params = {
856 selectText: "GRC - Gridcoin",
857 firstAddress: "SGrWbBPvobgqKRF8td1Kdc9vbRY7MJ78Y9",
858 };
859 testNetwork(done, params);
860});
861it('Allows selection of Gulden', function(done) {
862 var params = {
863 selectText: "NLG - Gulden",
864 firstAddress: "GcDP7cNEc33MPPdTFNJ8pZc6VMZJ2CbKxY",
865 };
866 testNetwork(done, params);
867});
868it('Allows selection of Helleniccoin', function(done) {
869 var params = {
870 selectText: "HNC - Helleniccoin",
871 firstAddress: "LbHEKe5H72zp9G1fuWNiiNePTUfJb88915",
872 };
873 testNetwork(done, params);
874});
875it('Allows selection of Hempcoin', function(done) {
876 var params = {
877 selectText: "THC - Hempcoin",
878 firstAddress: "H8sdWbZyJV4gyXyHtLXDaNnAuUDhK5mfTV",
879 };
880 testNetwork(done, params);
881});
882it('Allows selection of Insane', function(done) {
883 var params = {
884 selectText: "INSN - Insane",
885 firstAddress: "iMPqEJMiXWuxC9U2NVinCCMr4t72h58EWx",
886 };
887 testNetwork(done, params);
888});
889it('Allows selection of Iop', function(done) {
890 var params = {
891 selectText: "IOP - Iop",
892 firstAddress: "pGKQmcaPf95Ur5o6oHK4qdiZ52p1yaTvq1",
893 };
894 testNetwork(done, params);
895});
896it('Allows selection of Ixcoin', function(done) {
897 var params = {
898 selectText: "IXC - Ixcoin",
899 firstAddress: "xgE9bTZ6YypT3E6ByzkTt31Hq68E9BqywH",
900 };
901 testNetwork(done, params);
902});
903it('Allows selection of Landcoin', function(done) {
904 var params = {
905 selectText: "LDCN - Landcoin",
906 firstAddress: "LLvLwNjG1aJcn1RS4W4GJUbv8fNaRATG7c",
907 };
908 testNetwork(done, params);
909});
910it('Allows selection of Library Credits', function(done) {
911 var params = {
912 selectText: "LBC - Library Credits",
913 firstAddress: "bQJEQrHDJyHdqycB32uysh1SWn8Ln8LMdg",
914 };
915 testNetwork(done, params);
916});
917it('Allows selection of Linx', function(done) {
918 var params = {
919 selectText: "LINX - Linx",
920 firstAddress: "XGWQ3cb3LGUB3VnHmj6xYSMgnokNbf6dyk",
921 };
922 testNetwork(done, params);
923});
924it('Allows selection of Litecoincash', function(done) {
925 var params = {
926 selectText: "LCC - Litecoincash",
927 firstAddress: "Ce5n7fjUuQPLutJ4W5nCCfQLKdKLE1mv9A",
928 };
929 testNetwork(done, params);
930});
931it('Allows selection of Lynx', function(done) {
932 var params = {
933 selectText: "LYNX - Lynx",
934 firstAddress: "KUeY3ZdZkg96p4W98pj1JjygCFU1XqWdw3",
935 };
936 testNetwork(done, params);
937});
938it('Allows selection of Minexcoin', function(done) {
939 var params = {
940 selectText: "MNX - Minexcoin",
941 firstAddress: "XC1VnyJVfiMDwWgFtAHDp41cgY3AHk3dJT",
942 };
943 testNetwork(done, params);
944});
945it('Allows selection of Navcoin', function(done) {
946 var params = {
947 selectText: "NAV - Navcoin",
948 firstAddress: "NTQVTPK3NWSQLKoffkiQw99T8PifkF1Y2U",
949 };
950 testNetwork(done, params);
951});
952it('Allows selection of Neoscoin', function(done) {
953 var params = {
954 selectText: "NEOS - Neoscoin",
955 firstAddress: "NgATz6QbQNXvayHQ4CpZayugb9HeaPDdby",
956 };
957 testNetwork(done, params);
958});
959it('Allows selection of Neurocoin', function(done) {
960 var params = {
961 selectText: "NRO - Neurocoin",
962 firstAddress: "NVdYErQ3mFpDuF5DquW9WMiT7sLc8ufFTn",
963 };
964 testNetwork(done, params);
965});
966it('Allows selection of Newyorkc', function(done) {
967 var params = {
968 selectText: "NYC - Newyorkc",
969 firstAddress: "RSVMfyH1fKfy3puADJEhut2vfkRyon6imm",
970 };
971 testNetwork(done, params);
972});
973it('Allows selection of Novacoin', function(done) {
974 var params = {
975 selectText: "NVC - Novacoin",
976 firstAddress: "4JRvUmxcKCJmaMXZyvRoSS1cmG2XvnZfHN",
977 };
978 testNetwork(done, params);
979});
980it('Allows selection of Nushares', function(done) {
981 var params = {
982 selectText: "NSR - Nushares",
983 firstAddress: "SecjXzU3c7EecdT7EbC4vvmbdtBBokWh6J",
984 };
985 testNetwork(done, params);
986});
987it('Allows selection of Okcash', function(done) {
988 var params = {
989 selectText: "OK - Okcash",
990 firstAddress: "PV4Qp1TUYuGv4TqVtLZtqvrsWWRycfx1Yi",
991 };
992 testNetwork(done, params);
993});
994it('Allows selection of Omnicore', function(done) {
995 var params = {
996 selectText: "OMNI - Omnicore",
997 firstAddress: "1Q1t3gonjCT3rW38TsTsCvgSc3hh7zBGbi",
998 };
999 testNetwork(done, params);
1000});
1001it('Allows selection of Pesobit', function(done) {
1002 var params = {
1003 selectText: "PSB - Pesobit",
1004 firstAddress: "PDePsF7ALyXP7JaywokdYiRTDtKa14MAr1",
1005 };
1006 testNetwork(done, params);
1007});
1008it('Allows selection of Pinkcoin', function(done) {
1009 var params = {
1010 selectText: "PINK - Pinkcoin",
1011 firstAddress: "2TgjYQffjbzUHJghNaVbdsjHbRwruC3yzC",
1012 };
1013 testNetwork(done, params);
1014});
1015it('Allows selection of POSWcoin', function(done) {
1016 var params = {
1017 selectText: "POSW - POSWcoin",
1018 firstAddress: "PNxewmZoPnGBvoEbH6hgQZCK1igDiBCdgC",
1019 };
1020 testNetwork(done, params);
1021});
1022it('Allows selection of Potcoin', function(done) {
1023 var params = {
1024 selectText: "POT - Potcoin",
1025 firstAddress: "PEo7Vg2ctXgpP4vuLPeY9aGJtZotyrmiHc",
1026 };
1027 testNetwork(done, params);
1028});
1029it('Allows selection of Putincoin', function(done) {
1030 var params = {
1031 selectText: "PUT - Putincoin",
1032 firstAddress: "PViWnfr2uFtovd6e7joM49C94CsGSnqJis",
1033 };
1034 testNetwork(done, params);
1035});
1036it('Allows selection of Reddcoin', function(done) {
1037 var params = {
1038 selectText: "RDD - Reddcoin",
1039 firstAddress: "1M4druAcUfkXBaAcQ4cCgCLPHChiaib6kL",
1040 };
1041 testNetwork(done, params);
1042});
1043it('Allows selection of RevolutionVR', function(done) {
1044 var params = {
1045 selectText: "RVR - RevolutionVR",
1046 firstAddress: "VXeeoP2jkzZnMFxtc66ZBZK1NHN5QJnnjL",
1047 };
1048 testNetwork(done, params);
1049});
1050it('Allows selection of Rubycoin', function(done) {
1051 var params = {
1052 selectText: "RBY - Rubycoin",
1053 firstAddress: "RV76JDtjTs11JdMDRToYn6CHecMRPLnKS6",
1054 };
1055 testNetwork(done, params);
1056});
1057it('Allows selection of Smileycoin', function(done) {
1058 var params = {
1059 selectText: "SMLY - Smileycoin",
1060 firstAddress: "BEZVnEBCAyFByrgKpwAgYgtvP4rKAd9Sj2",
1061 };
1062 testNetwork(done, params);
1063});
1064it('Allows selection of Solarcoin', function(done) {
1065 var params = {
1066 selectText: "SLR - Solarcoin",
1067 firstAddress: "8LZ13HbnjtaMJWSvvVFNTLf71zFfDrhwLu",
1068 };
1069 testNetwork(done, params);
1070});
1071it('Allows selection of Stratis', function(done) {
1072 var params = {
1073 selectText: "STRAT - Stratis",
1074 firstAddress: "ScfJnq3QDhKgDMEds6sqUE1ot6ShfhmXXq",
1075 };
1076 testNetwork(done, params);
1077});
1078it('Allows selection of Syscoin', function(done) {
1079 var params = {
1080 selectText: "SYS - Syscoin",
1081 firstAddress: "SZwJi42Pst3VAMomyK5DG4157WM5ofRmSj",
1082 };
1083 testNetwork(done, params);
1084});
1085it('Allows selection of Toa', function(done) {
1086 var params = {
1087 selectText: "TOA - Toa",
1088 firstAddress: "TSe1QAnUwQzUfbBusDzRJ9URttrRGKoNKF",
1089 };
1090 testNetwork(done, params);
1091});
1092it('Allows selection of Ultimatesecurecash', function(done) {
1093 var params = {
1094 selectText: "USC - Ultimatesecurecash",
1095 firstAddress: "UPyLAZU2Che5fiy7Ed8xVJFmXAUhitA4ug",
1096 };
1097 testNetwork(done, params);
1098});
1099it('Allows selection of Unobtanium', function(done) {
1100 var params = {
1101 selectText: "UNO - Unobtanium",
1102 firstAddress: "uUBMPVMXrR6qhqornJqKTWgr8L69vihSL9",
1103 };
1104 testNetwork(done, params);
1105});
1106it('Allows selection of Vcash', function(done) {
1107 var params = {
1108 selectText: "XVC - Vcash",
1109 firstAddress: "VuL53MSY6KjvAjKSeRkh3NDnKykacDVeps",
1110 };
1111 testNetwork(done, params);
1112});
1113it('Allows selection of Verge', function(done) {
1114 var params = {
1115 selectText: "XVG - Verge",
1116 firstAddress: "DCrVuGkMjLJpTGgwAgv9AcMdeb1nkWbjZA",
1117 };
1118 testNetwork(done, params);
1119});
1120it('Allows selection of Vertcoin', function(done) {
1121 var params = {
1122 selectText: "VTC - Vertcoin",
1123 firstAddress: "Vf6koGuiWdXQfx8tNqxoNeEDxh4xh5cxsG",
1124 };
1125 testNetwork(done, params);
1126});
1127it('Allows selection of Vivo', function(done) {
1128 var params = {
1129 selectText: "VIVO - Vivo",
1130 firstAddress: "VFmBwuXXGhJe7MarQG2GfzHMFebRHgfSpB",
1131 };
1132 testNetwork(done, params);
1133});
1134it('Allows selection of Vpncoin', function(done) {
1135 var params = {
1136 selectText: "VASH - Vpncoin",
1137 firstAddress: "VoEmH1qXC4TsSgBAStR21QYetwnFqbqCx9",
1138 };
1139 testNetwork(done, params);
1140});
1141it('Allows selection of Whitecoin', function(done) {
1142 var params = {
1143 selectText: "XWC - Whitecoin",
1144 firstAddress: "WcSwCAUqrSgeSYbsaS3SSWWhsx8KRYTFDR",
1145 };
1146 testNetwork(done, params);
1147});
1148it('Allows selection of Wincoin', function(done) {
1149 var params = {
1150 selectText: "WC - Wincoin",
1151 firstAddress: "WaDVCESMGgyKgNESdn3u43NnwmGSkZED3Z",
1152 };
1153 testNetwork(done, params);
1154});
1155it('Allows selection of Zcoin', function(done) {
1156 var params = {
1157 selectText: "XZC - Zcoin",
1158 firstAddress: "a6VcMdP4XgAA9Tr7xNszmPG5FZpfRf17Cq",
1159 };
1160 testNetwork(done, params);
1161});
1162
644 1163
645// BIP39 seed is set from phrase 1164// BIP39 seed is set from phrase
646it('Sets the bip39 seed from the prhase', function(done) { 1165it('Sets the bip39 seed from the prhase', function(done) {