xrp_dart 4.0.0 copy "xrp_dart: ^4.0.0" to clipboard
xrp_dart: ^4.0.0 copied to clipboard

Easily sign, create, and send all types of XRP transactions using the xrpl_dart package. Manage your XRP Ledger transactions securely and with ease.

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:example/socket_rpc_example/socket_service.dart';
import 'package:example/examples/xchain/xchain_modify_bridge.dart';
import 'package:flutter/material.dart';
import 'package:xrp_dart/xrp_dart.dart';

late XRPLRpc rpcccc;
void main() async {
  rpcccc = await XRPLRpc.devNet((httpUri, websocketUri) async {
    final c = await RPCWebSocketService.connect(
      websocketUri,
      onClose: (p0) {},
    );
    return c;
  });
  runApp(MaterialApp(
    home: Scaffold(
      body: Container(
        padding: const EdgeInsets.all(25),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
                onPressed: () async {
                  xChainModifyBridge();
                },
                child: const Text("WEB"))
          ],
        ),
      ),
    ),
  ));
}
5
likes
130
points
122
downloads

Publisher

unverified uploader

Weekly Downloads

Easily sign, create, and send all types of XRP transactions using the xrpl_dart package. Manage your XRP Ledger transactions securely and with ease.

Topics

#xrp #xrpl #ripple #sign #transactions

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

blockchain_utils

More

Packages that depend on xrp_dart