Hi there 👋🏼 We were very excited to find this existing library and we wanted to understand how to properly run this.
When we do this code we get an error !
Future<void> main() async {
IpfsClient ipfsClient = IpfsClient();
var res1 = await ipfsClient.write(
dir: 'lib',
filePath: "lib/test2.mp4",
fileName: "test2.mp4");
print(res1);
}
Error:
*** DioError ***:
uri: http://127.0.0.1:5001/api/v0/files/write?&arg=lib&create=true
DioError [DioErrorType.other]: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = 127.0.0.1, port = 53899
Hi there 👋🏼 We were very excited to find this existing library and we wanted to understand how to properly run this.
When we do this code we get an error !
Error: