dart_multiaddr

Creator: coderz1093

Last updated:

0 purchases

dart_multiaddr Image
dart_multiaddr Images

Languages

Categories

Add to Cart

Description:

dart multiaddr

dart_multiaddr #

multiaddr implementation in Dart

Multiaddr aims to make network addresses future-proof, composable, and efficient.
Warning: This is a work in progress. The API is not stable yet.
Usage #
import 'package:dart_multiaddr/dart_multiaddr.dart';

void main() {
var addr = Multiaddr.fromString('/ip4/1.1.1.1');
print(addr.toString()); // Output: /ip4/1.1.1.1

var anotherAddr = Multiaddr.fromString('/ip4/1.1.1.1');
print(addr == anotherAddr); // Output: true
}
copied to clipboard
License #
MIT © 2023 YogiLiu

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.