A Dart-based client for Ravencoin ElectrumX servers

Notes

The Ravencoin ElectrumX server is quite similar to the Bitcion Electrum server, but has additional methods that allow clients to handle asset issuance and transferral.

Usage

import 'package:electrum_adapter/electrum_adapter.dart';

void main() async {
  var client =
      await RavenElectrumClient.connect('testnet.rvn.rocks', port: 50002);
  var features = await client.features();
  print(features);
  await client.close();
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

client/base_client
client/json_newline_transformer
client/subscribable
client/subscribing_client
connect
electrum_adapter
An Electrum client for RavenCoin.
methods/asset/addresses
example { "R9HC7XkCwnQA5dQZ18BntXgUe9ESuALU3J": 2, "R9HDH3ZDuLRVF8ivzUwnojZa7thtRXQooM": 1 }
methods/asset/assets
for
methods/asset/meta
get meta data about an asset by name
methods/scripthash/balance
methods/scripthash/history
methods/scripthash/unspent
methods/server/features
methods/server/ping
methods/server/stats
methods/server/version
methods/transaction/broadcast
methods/transaction/fee
methods/transaction/get
methods/transaction/memo
notice that get_transaction.dart is tightly coupled to the datastructure of of the electrum server. this has pros and cons, but currently we would only use it to get the memo from a transaction, thus, I added this code to accomplish only that.
subscriptions/subscribe_asset
subscriptions/subscribe_headers
subscriptions/subscribe_scripthash
subscriptions/unsubscribe_scripthash