Skip to content

Dart Library for Essential PascalCoin Functions

License

Notifications You must be signed in to change notification settings

PascalCoin/pascaldart

 
 

Repository files navigation

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

About

Dart Library for Essential PascalCoin Functions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 100.0%