與加密貨幣交互的JavaScript項目:CryptoCoinJS
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
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!