dart_coin_rpc

Creator: coderz1093

Last updated:

0 purchases

dart_coin_rpc Image
dart_coin_rpc Images

Languages

Categories

Add to Cart

Description:

dart coin rpc

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);
}

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.