dart_coin_rpc 1.1.0 copy "dart_coin_rpc: ^1.1.0" to clipboard
dart_coin_rpc: ^1.1.0 copied to clipboard

retractedoutdated

A simple RPC client for bitcoin-like coins created in dart.

pub version Tests

Forked from https://github.com/Dolaned/dart-eccoin-rpc

Small libarary that allows JSON communcation with bitcoin-like RPC servers.

Supported Coins #

  • Peercoin
  • Bitcoin
  • a lot of Bitcoin clones, please advise

Example #

import 'package:dart_coin_rpc/dart_coin_rpc.dart';

void main() async {
  RPCClient client = RPCClient(
    username: 'rpc',
    password: 'password',
    port: 9902,
    host: '127.0.0.1',
    useSSL: false,
  );

  var res = await client
      .call('validateaddress', ["p92W3t7YkKfQEPDb7cG9jQ6iMh7cpKLvwK"]) as Map;
  assert(res["isvalid"] == true);
}

0
likes
0
pub points
20%
popularity

Publisher

verified publisherpeercoin.net

A simple RPC client for bitcoin-like coins created in dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http_auth

More

Packages that depend on dart_coin_rpc