与加密货币交互的JavaScript项目:CryptoCoinJS
jopen
10年前
CryptoCoinJS是一个JavaScript项目能够与许多加密货币交互如:Bitcoin, Litecoin, Dogecoin等。大部分模块都完全兼容浏览器和Node.js。
Modules
Note: If a component won't work on the client (browser), then it'll be marked as server only.
Active
Crypto Currency
- bip38 - Password encrypted private keys
- btc-p2p - Manage a network of Bitcoin peers. (server only)
- coininfo - Fetch currency specific information such as ports and version numbers
- coinkey - Create private keys, public keys, and addresses. (Inherits from eckey)
- coinstring - Create, parse, or validate addresses a wallet import format strings
- eckey - Super class for coinkey used for private and public elliptic curve keys
- p2p-manager - Manage a network of peers in a p2p network. (server only)
- p2p-node - Low-level library to handle p2p traffic on crypto currency networks. (server only)
(the following are poorly documented and need some TLC)
- btc-address - Address handling library for Bitcoin. Possibly irrelevant by coinkey or coinstring
- btc-opcode - Bitcoin opcodes
- btc-script - Bitcoin Script
- btc-scriptinterpreter - btc-scriptinterpreter - Bitcoin Script Interpreter
- btc-transaction - Bitcon Transaction Creation / Parsing
Cryptography
- aes - Implementation of the Advanced Encryption Standard
- crypto-hashing - Normalize interfaces to crypto hashing routines such as SHA256 / RIPEMD160
- ecdsa - Signing & verfication for Elliptic Curve Cryptography
- ecurve - Main module for Elliptic Curve Cryptography
- pbkdf2-sha256 - PBKDF2 using SHA256 HMAC
- ripemd160 - RIPEMD160 hash
- scryptsy - Scrypt key derivation
Misc
- bigi - BigInteger library (port of Tom Wu's library)
- binstring - Convert data types. i.e. convert between
Array
,Buffer
,UTF8
,Hex
, etc - bs58 - BASE58 encoding / decoding
- qr-encode - Encode data into QR codes
Deprecated
- bs64 - Outsourced to
Buffer
- convert-hex - Use
Buffer
orbinstring
- convert-string - Use
Buffer
orbinstring
- ecurve-names - Moving curves to ecurve
- sha256 - Outsourced to crypto-browserify through crypto-hashing