pascaldart 1.0.0

Dart native js
Flutter Android iOS web

A dart library for PascalCoin. Supports key generation, encoding, encryption/decryption, signing, RPC.

PascalDart #

Pub CI

A PascalCoin library written in Dart, ported based on the sbx JavaScript library for PascalCoin.

PointyCastle APIs are used for ecdsa, sha256/512, hmac, etc.

Features #

  • 'pascaldart/common.dart' - Basic models for PascalCoin objects such as PrivateKey, PublicKey, AccountName, AccountNumber, etc. Also several "Coder" objects which encode and decode these objects to byte arrays.
  • 'pascaldart/crypto.dart' - PascalCoin cryptography. Generate keys, sign messages, encrypt/decrypt private keys (PrivateKeyCrypt), and encrypt/decrypt payloads (EciesCrypt)
  • 'pascaldart/signing.dart' - PascalCoin signing. Includes operation models (such as TransactionOperation), encodes and decodes operations to raw format, and can sign operations using a PrivateKey
  • 'pascaldart/json_rpc.dart' - An implementation of PascalCoin's json-rpc API.

If you want to import everything, import pascaldart/pascaldart.dart

TODO #

  • Support multi-operation
  • Add parser for walletkeys.dat (from desktop wallet)
  • Support Extended PASA (EPASA)
  • Support more json-rpc methods
  • Support sect283k1 curve
  • More tests (particularly for operation digests)

Issues and contributing #

Contributions are welcome and encouraged. Simply fork this repository, make changes, and create a pull request.

For issues, create an issue on GitHub

0
likes
90
pub points
71%
popularity

Publisher

appditto.com

A dart library for PascalCoin. Supports key generation, encoding, encryption/decryption, signing, RPC.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, hex, http, json_annotation, meta, pointycastle, quiver

More

Packages that depend on pascaldart