Jaco Greeff 400c6c5685 Encode & decode short addresses (#221)
* Encode & decode short addresses

* Adjust short addresses short checksum

* Make prefix coinfigurable as an input

* Expand tests, cleanup short encoding
2018-10-13 00:03:48 +02:00
2018-08-16 11:53:54 +02:00
2018-06-22 21:17:50 +02:00
2017-12-01 20:34:51 +01:00
2018-08-28 12:30:16 +02:00
2018-05-16 12:39:26 +02:00
2018-10-12 15:08:34 +00:00
2018-01-04 08:48:28 +01:00
2018-09-28 14:10:45 +02:00
2018-06-27 10:15:46 +02:00

polkadotjs isc style npm travis maintainability coverage greenkeeper dependency devDependency

@polkadot/util

Various useful utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

It is split up into a number of internal packages, namely utilities -

Various useful trie and database interfaces -

  • db Sync memory and disk database interfaces
  • trie-db Merkle Patricia Tree implementation adapcted for Polkadot
  • trie-hash Calculate hashes (either ordered or unordered) from a set of inputs

Contributing

  • Bootstrap the dependencies, yarn
  • Make any changes in the relevant package, on master merges new versions will be published automatically to npmjs
S
Description
Fork of polkadot-js/common. Carries the ML-DSA (Dilithium) keypair types in @polkadot/keyring and @polkadot/util-crypto: Quantus account ids are Poseidon2 hashes of 1952/2592-byte public keys, which upstream's 32-byte assumptions cannot express. Not upstreamable — see quantus/extension#1.
Readme Apache-2.0
54 MiB
Languages
TypeScript 99.7%
JavaScript 0.2%
HTML 0.1%