ipfs 1.0.1 copy "ipfs: ^1.0.1" to clipboard
ipfs: ^1.0.1 copied to clipboard

outdated

A starting point for Dart libraries or applications.

An IPFS client library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:ipfs/ipfs.dart';

void main() {

  Ipfs ipfs = Ipfs();

  // This method will return a list of peers in the swarm
  ipfs.getPeers(); 

  // The cid or content identifier has to be of type string
  String cid = 'bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m';

  // Fetches an ipfs object 
  ipfs.getObject(cid);

  // Traverses through a DAG given its root cid
  ipfs.resolveDag(cid);

}

The response should be

Features and bugs #

Please file feature requests and bugs at the issue tracker.

15
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A starting point for Dart libraries or applications.

Homepage

License

unknown (LICENSE)

Dependencies

chopper, dio, grpc, path, protobuf

More

Packages that depend on ipfs