Skip to content

YogiLiu/dart_multiaddr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

License

MIT © 2023 YogiLiu

About

Composable and future-proof network addresses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages