dart_multiaddr 0.1.0 copy "dart_multiaddr: ^0.1.0" to clipboard
dart_multiaddr: ^0.1.0 copied to clipboard

Composable and future-proof network addresses.

example/example.dart

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
}
2
likes
150
points
26
downloads

Publisher

verified publisheryogiliu.dev

Weekly Downloads

Composable and future-proof network addresses.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dart_multiaddr