command
module
Version:
v0.0.0-...-cea8ba8
Opens a new window with list of versions in this module.
Published: May 16, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
- Clone the repo with the following command:
git clone git@github.com:0zAND1z/ipld-crud.git
- Run the program to initaite dialog:
go run main.go
-
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.
-
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.