與加密貨幣交互的JavaScript項目:CryptoCoinJS

jopen 10年前發布 | 13K 次閱讀 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)

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

項目主頁:http://www.baiduhome.net/lib/view/home/1398820920109

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