The new way of using IPLD with RPC to kubo was not clear to me. I didn’t know how I should manipulate ipld nodes, marshall/unmarshall them, or navigate through them. In this example, I do the following:
- Use
basicnode
to unmarshall ipld data from codec to data structure. - Use a
LinkSystem
(wrappingrpc.Block()
to make the following the links created bybasicnode
possible. - Use a
selector
to facilitate the traversal (without a bunch type casts) of a tree of multiple nodes.