ipld-crud

command module
v0.0.0-...-cea8ba8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

README

ipld-crud

A simple Golang based hack to experiment the uses of IPLD through the DAG operations using the go-ipfs-api package.

I have built a tiny client that receives key-value entries from user and stores it on IPFS DAG, returning an explorable URL to play with.

Instructions

  1. Clone the repo with the following command:
git clone git@github.com:0zAND1z/ipld-crud.git
  1. Run the program to initaite dialog:
go run main.go
  1. Once you run the main.go, a nice ASCII version of the IPFS logo pops up, asking you to enter a key and a value.

  2. After entering two string values, it will create a dag entry based on the input data and return back the hash along with the query results.

Tutorial

For a more detailed understanding of IPLD and how the code works, check out this article on SimpleAsWater.com!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL