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
- addresses
- example { "R9HC7XkCwnQA5dQZ18BntXgUe9ESuALU3J": 2, "R9HDH3ZDuLRVF8ivzUwnojZa7thtRXQooM": 1 }
- assets
- for
- balance
- base_client
- broadcast
- connect
- electrum_adapter
- An Electrum client for RavenCoin.
- features
- fee
- get
- history
- json_newline_transformer
- 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.
- meta
- get meta data about an asset by name
- ping
- stats
- subscribable
- subscribe_asset
- subscribe_headers
- subscribe_scripthash
- subscribing_client
- unspent
- unsubscribe_scripthash
- version